Usage ¶
getVolumeTileIntData(session
: hapi.Session, node_id
: int
, part_id
: int
, fill_value
: int
, tile
: hapi.VolumeTileInfo, length
: int
) → list
of int
Retrieve integer point values of the voxels pointed to by a tile. Note that a tile may extend beyond the limits of the volume so not all values in the given buffer will be written to. Voxels outside the volume will be initialized to the given fill value.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
node_id
The node id.
part_id
The part id.
fill_value
Value that will be used to fill the values_array
.
This is useful so that you can see what values
have actually been written to.
tile
The tile to retrieve.
length
The length should be ( 8 ^ 3 ) * tupleSize.
Returns values_array as a list
of int
.