45#ifndef vtkOpenGLSurfaceProbeVolumeMapper_h
46#define vtkOpenGLSurfaceProbeVolumeMapper_h
50#include "vtkRenderingVolumeOpenGL2Module.h"
52VTK_ABI_NAMESPACE_BEGIN
58class VTKRENDERINGVOLUMEOPENGL2_EXPORT vtkOpenGLSurfaceProbeVolumeMapper
62 static vtkOpenGLSurfaceProbeVolumeMapper*
New();
88 vtkGetMacro(Window,
double);
89 vtkSetMacro(Window,
double);
91 vtkGetMacro(Level,
double);
92 vtkSetMacro(Level,
double);
122 vtkGetMacro(BlendWidth,
double);
123 vtkSetMacro(BlendWidth,
double);
138 vtkOpenGLSurfaceProbeVolumeMapper();
139 ~vtkOpenGLSurfaceProbeVolumeMapper()
override =
default;
154 enum class PassTypes :
unsigned int
160 PassTypes CurrentPass = PassTypes::DEFAULT;
167 BlendModes BlendMode = BlendModes::NONE;
168 double BlendWidth = 1.0;
171 bool SavedScissorTestState =
false;
172 bool SavedBlendState =
false;
173 int SavedViewport[4] = {};
represents an object (geometry & properties) in a rendered scene
Proxy object to connect input/output ports.
topologically and geometrically regular array of data
Allocate and hold a VTK object.
Internal class which encapsulates OpenGL FramebufferObject.
vtkOpenGLPolyDataMapper()
void SetBlendModeToMaximumIntensity()
Set/Get the blend mode.
void UpdateShaders(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act) override
Make sure appropriate shaders are defined, compiled and bound.
vtkImageData * GetSource()
Specify the input data to be probed.
vtkPolyData * GetProbeInput()
Specify the input data used for probing (optional).
void SetSourceData(vtkImageData *in)
Specify the input data to be probed.
BlendModes
Set/Get the blend mode.
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the input data to be probed.
virtual void UpdateShadersProbePass(vtkOpenGLHelper &cellBO, vtkRenderer *ren)
virtual void ReplaceShaderPositionPass(vtkActor *act)
void SetBlendModeToAverageIntensity()
Set/Get the blend mode.
vtkSetEnumMacro(BlendMode, BlendModes)
Set/Get the blend mode.
virtual void ReplaceShaderProbePass(vtkActor *act)
void SetProbeInputConnection(vtkAlgorithmOutput *algOutput)
Specify the input data used for probing (optional).
void RenderPiece(vtkRenderer *ren, vtkActor *act) override
Implemented by sub classes.
int FillInputPortInformation(int port, vtkInformation *info) override
void SetBlendModeToMinimumIntensity()
Set/Get the blend mode.
void SetProbeInputData(vtkPolyData *in)
Specify the input data used for probing (optional).
void SetBlendModeToNone()
Set/Get the blend mode.
static vtkOpenGLSurfaceProbeVolumeMapper * New()
vtkGetEnumMacro(BlendMode, BlendModes)
Set/Get the blend mode.
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract specification for renderers
In case DepthTextureCompare is true, specify the comparison function in use.
Creates and manages the volume texture rendered by vtkOpenGLGPUVolumeRayCastMapper.
void CreateTexture()
Creates a texture handle if not already created.