This file contains protoype method to redefine to replace DATA_COMBINE_FUNCTION slot. More...
Go to the source code of this file.
Functions | |
bool | VVizIsClipped (vec3 tCoord) |
bool | VVizIsClippedByROI (in VVizDataSetId dataset, in vec3 texCoord) |
void | VVizClipVoxel () |
This file contains protoype method to redefine to replace DATA_COMBINE_FUNCTION slot.
Definition in file vvizClipping_frag.h.
void VVizClipVoxel | ( | ) |
Do clipping when using an SoVolumeClippingGroup or SoUniformGridClipping node.
If no SoUniformGridClipping or SoVolumeClippingGroup nodes are present in the scene graph, this function will have no effect.
Must be called in a custom FRAGMENT_MAIN shader only.
bool VVizIsClipped | ( | vec3 | tCoord | ) |
bool VVizIsClippedByROI | ( | in VVizDataSetId | dataset, | |
in vec3 | texCoord | |||
) |
Returns true if the given coordinate is clipped by a ROI applied on the given dataset.
The given texture coordinate is defined in the texture coordinate space of the given dataset. e.g. the coordinates (0.5, 0.5, 0.5) correspond to the center of the given dataset.