SbImageDataAccessorGetVoxel Method (Int32, Int32, Int32, Int32, Int32) |
Returns value of voxel at specified position.
Namespace: OIV.ImageVizAssembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic double GetVoxel(
int x,
int y,
int z,
int t,
int c
)
Public Function GetVoxel (
x As Integer,
y As Integer,
z As Integer,
t As Integer,
c As Integer
) As Double
public:
double GetVoxel(
int x,
int y,
int z,
int t,
int c
)
member GetVoxel :
x : int *
y : int *
z : int *
t : int *
c : int -> float
Parameters
- x
- Type: SystemInt32
column coordinate
- y
- Type: SystemInt32
row coordinate
- z
- Type: SystemInt32
depth coordinate. Default is 0. Useful for 2D images.
- t
- Type: SystemInt32
time coordinate. Default is 0.
- c
- Type: SystemInt32
component number. Default is 0.
Return Value
Type:
Double
RemarksSee also getVoxel( const SbVec4i32& pos ). Any request outside of the image will return 0. If the specified channel is not in image channel range, 0.0 will be returned.
See Also