23#ifndef VVIZ_STRUCTURE_H
24#define VVIZ_STRUCTURE_H
59#define VVizTileInfo vec4
89void VVizGetTileIJKBox(in VVizDataSetId dataset, in vec3 dataCoord, out vec3 tileIJKMin, out vec3 tileIJKMax);
vec4 VVizTextureToWorld(in VVizDataSetId dataset, in vec4 texCoord)
Converts the input vector from the input dataset's texture space to world space.
vec3 VVizTextureToObjectDir(in VVizDataSetId dataset, in vec3 texCoord)
Converts the input vector from the input dataset's texture space to object space.
vec3 VVizObjectToTextureDir(in VVizDataSetId dataset, in vec3 objectCoord)
Converts the input vector from object space to the input dataset's texture space.
vec3 VVizWorldToTextureDir(in VVizDataSetId dataset, in vec3 worldCoord)
Converts the input vector from world space to the input dataset's texture space.
vec3 VVizTextureToTextureVec(in VVizDataSetId datasetSrc, in VVizDataSetId datasetDst, in vec3 texCoord)
Converts the input vector from the texture space of one dataset to the texture space of another datas...
vec3 VVizTextureToTextureDir(in VVizDataSetId datasetSrc, in VVizDataSetId datasetDst, in vec3 texCoord)
Converts the input vector from the texture space of one dataset to the texture space of another datas...
VVizDataSetId VVizGetDefaultDataSet()
Returns the default DataSet ID.
vec4 VVizObjectToTexture(in VVizDataSetId dataset, in vec4 objectCoord)
Converts the input vector from object space to the input dataset's texture space.
vec3 VVizGetVoxelDimensions(in VVizDataSetId dataset)
Returns volume dataset uniform voxel dimensions.
vec3 VVizTextureToWorldDir(in VVizDataSetId dataset, in vec3 texCoord)
Converts the input vector from the input dataset's texture space to world space.
vec4 VVizTextureToObject(in VVizDataSetId dataset, in vec4 texCoord)
Converts the input vector from the input dataset's texture space to object space.
int VVizGetTileResolution(in VVizTileInfo tileInfo)
Returns VolumeViz tile resolution info.
vec4 VVizWorldToTexture(in VVizDataSetId dataset, in vec4 worldCoord)
Converts the input vector from world space to the input dataset's texture space.
vec3 VVizObjectToTextureVec(in VVizDataSetId dataset, in vec3 objectCoord)
Converts the input vector from object space to the input dataset's texture space.
#define VVizTileInfo
Defines internal VolumeViz tile info data storage.
vec3 VVizGetVolumeDimensions(in VVizDataSetId dataset)
Returns volume dimensions of a dataset in voxels.
vec3 VVizTextureToWorldVec(in VVizDataSetId dataset, in vec3 texCoord)
Converts the input vector from the input dataset's texture space to world space.
VVizTileInfo VVizGetTileInfo(in VVizDataSetId dataset, in vec3 dataCoord)
Returns VolumeViz tile info for a specified voxel.
vec4 VVizTextureToTexture(in VVizDataSetId datasetSrc, in VVizDataSetId datasetDst, in vec4 texCoord)
Converts the input vector from the texture space of one dataset to the texture space of another datas...
vec3 VVizGetTileDimensions(in VVizDataSetId dataset)
Returns volume dataset tile dimensions in voxels.
vec3 VVizTextureToObjectVec(in VVizDataSetId dataset, in vec3 texCoord)
Converts the input vector from the input dataset's texture space to object space.
vec3 VVizWorldToTextureVec(in VVizDataSetId dataset, in vec3 worldCoord)
Converts the input vector from world space to the input dataset's texture space.
void VVizGetTileIJKBox(in VVizDataSetId dataset, in vec3 dataCoord, out vec3 tileIJKMin, out vec3 tileIJKMax)
Returns VolumeViz tile IJK box info for a specified voxel.
3D 8 Neighbors storage: values[0] is (0, 0, 0) values[1] is (1, 0, 0) values[2] is (0,...
Defines voxel state info used with the VolumeViz Shader Library API.
VVIZ_DATATYPE value
Voxel value at texCoord position.
vec3 texCoord
Uniform data coordinates in volume space.