VolumeViz/vvizApplyMask_frag.h File Reference

This file contains some method to be used when using SoVolumeMask node. More...

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)

Variables

uniform int VVizGlobalDataDrawStyleId

Detailed Description

This file contains some method to be used when using SoVolumeMask node.

Definition in file vvizApplyMask_frag.h.


Function Documentation

vec4 VVizApplyBoundary ( vec4  fragColor,
int  maskFront,
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,
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 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/