VolumeViz/vvizStructure.h File Reference

This file contains various structure used in VViz shader. More...

Go to the source code of this file.

Classes

struct  VVizVoxelInfo
 Defines voxel state info used with the VolumeViz Shader Library API. More...
struct  VVizNeighborsGeneral
 3D 8 Neighbors storage: values[0] is (0, 0, 0) values[1] is (1, 0, 0) values[2] is (0, 1, 0) values[3] is (1, 1, 0) values[4-7] same but z=1. More...

Defines

#define VVizTileInfo   vec4

Functions

vec3 VVizGetVolumeDimensions (in VVizDataSetId dataset)
vec3 VVizGetTileDimensions (in VVizDataSetId dataset)
vec3 VVizGetVoxelDimensions (in VVizDataSetId dataset)
int VVizGetTileResolution (in VVizTileInfo tileInfo)
VVizTileInfo VVizGetTileInfo (in VVizDataSetId dataset, in vec3 dataCoord)
void VVizGetTileIJKBox (in VVizDataSetId dataset, in vec3 dataCoord, out vec3 tileIJKMin, out vec3 tileIJKMax)

Detailed Description

This file contains various structure used in VViz shader.

Definition in file vvizStructure.h.


Define Documentation

#define VVizTileInfo   vec4

Defines internal VolumeViz tile info data storage.

See VVizGetTileResolution, VVizGetTileInfo


Function Documentation

vec3 VVizGetTileDimensions ( in VVizDataSetId  dataset  ) 

Returns volume dataset tile dimensions in voxels.

Parameters:
dataset The dataset to retrieve information from.
Returns:
dataset Tile dimension.
void VVizGetTileIJKBox ( in VVizDataSetId  dataset,
in vec3  dataCoord,
out vec3  tileIJKMin,
out vec3  tileIJKMax 
)

Returns VolumeViz tile IJK box info for a specified voxel.

Parameters:
dataset The dataset to which the tileinfo belongs.
dataCoord Uniform data coordinates in volume space.
tileIJKMin ijk min of the tile in voxels.
tileIJKMax ijk max of the tile in voxels.
VVizTileInfo VVizGetTileInfo ( in VVizDataSetId  dataset,
in vec3  dataCoord 
)

Returns VolumeViz tile info for a specified voxel.

Parameters:
dataset The dataset to retrieve information from.
dataCoord Uniform data coordinates in volume space.
Returns:
The tileInfo of the voxel at position dataCoord.
int VVizGetTileResolution ( in VVizTileInfo  tileInfo  ) 

Returns VolumeViz tile resolution info.

Parameters:
tileInfo The tileInfo to retrieve information from.
Returns:
The LDM resolution level of this tile (zero is full resolution).
vec3 VVizGetVolumeDimensions ( in VVizDataSetId  dataset  ) 

Returns volume dimensions of a dataset in voxels.

Parameters:
dataset The dataset to retrieve information from.
Returns:
dataset Dimension.
vec3 VVizGetVoxelDimensions ( in VVizDataSetId  dataset  ) 

Returns volume dataset uniform voxel dimensions.

Parameters:
dataset The dataset to retrieve information from.
Returns:
dataset Voxel uniform dimension.

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/