This represents a volume primitive but does not contain the actual voxel values, which can be retrieved on a per-tile basis.
See hapi.getVolumeInfo.
Methods ¶
nameSH
: int
Property
xLength
: int
Property
Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )
yLength
: int
Property
Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )
zLength
: int
Property
Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )
minX
: int
Property
Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )
minY
: int
Property
Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )
minZ
: int
Property
Each voxel is identified with an index. The indices will range between: [ ( minX, minY, minZ ), ( minX+xLength, minY+yLength, minZ+zLength ) )
tupleSize
: int
Property
Number of values per voxel. The tuple size field is 1 for scalars and 3 for vector data.
storage
: hapi.storageType
Property
Can be either hapi.storageType.Int or hapi.storageType.Float.
tileSize
: int
Property
The dimensions of each tile. This can be 8 or 16, denoting an 8×8×8 or 16×16×16 tiles.
transform
: hapi.Transform
Property
The transform of the volume with respect to the lengths. The volume may be positioned anywhere in space.
hasTaper
: bool
Property
Denotes special situations where the volume tiles are not perfect cubes, but are tapered instead.
xTaper
: float
Property
If there is taper involved, denotes the amount of taper involved.
yTaper
: float
Property
If there is taper involved, denotes the amount of taper involved.