VolumeViz/vvizApplyMask_frag.h File Reference

Go to the source code of this file.

Functions

vec4 VVizApplyBoundary (vec4 fragColor, int maskFront, int maskBack, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
vec4 VVizApplyBoundary (vec4 fragColor, int maskFront, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
vec4 VVizApplyBoundary (in VVizDataSetId dataset, vec4 fragColor, int maskFront, int maskBack, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)
vec4 VVizApplyBoundary (in VVizDataSetId dataset, vec4 fragColor, int maskFront, VVizVoxelInfo voxelFront, VVizVoxelInfo voxelBack)

Variables

uniform int VVizGlobalDataDrawStyleId

Function Documentation

vec4 VVizApplyBoundary ( in VVizDataSetId  dataset,
vec4  fragColor,
int  maskFront,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)
vec4 VVizApplyBoundary ( in VVizDataSetId  dataset,
vec4  fragColor,
int  maskFront,
int  maskBack,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.

vec4 VVizApplyBoundary ( vec4  fragColor,
int  maskFront,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)
vec4 VVizApplyBoundary ( vec4  fragColor,
int  maskFront,
int  maskBack,
VVizVoxelInfo  voxelFront,
VVizVoxelInfo  voxelBack 
)

This method is used to apply a volume mask to the volume and should be called in a custom fragment shader in order to support the SoVolumeMask node.


Variable Documentation


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