VolumeViz/vvizClipping_frag.h File Reference

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 ()

Detailed Description

This file contains protoype method to redefine to replace DATA_COMBINE_FUNCTION slot.

Definition in file vvizClipping_frag.h.


Function Documentation

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.


Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/