48#ifndef vtkOpenGLSurfaceProbeVolumeMapper_h
49#define vtkOpenGLSurfaceProbeVolumeMapper_h
53#include "vtkRenderingVolumeOpenGL2Module.h"
55VTK_ABI_NAMESPACE_BEGIN
61class VTKRENDERINGVOLUMEOPENGL2_EXPORT vtkOpenGLSurfaceProbeVolumeMapper
65 static vtkOpenGLSurfaceProbeVolumeMapper*
New();
91 vtkGetMacro(Window,
double);
92 vtkSetMacro(Window,
double);
94 vtkGetMacro(Level,
double);
95 vtkSetMacro(Level,
double);
125 vtkGetMacro(BlendWidth,
double);
126 vtkSetMacro(BlendWidth,
double);
141 vtkOpenGLSurfaceProbeVolumeMapper();
142 ~vtkOpenGLSurfaceProbeVolumeMapper()
override =
default;
157 enum class PassTypes :
unsigned int
163 PassTypes CurrentPass = PassTypes::DEFAULT;
170 BlendModes BlendMode = BlendModes::NONE;
171 double BlendWidth = 1.0;
174 bool SavedScissorTestState =
false;
175 bool SavedBlendState =
false;
176 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.