48#ifndef vtkOpenGLSurfaceProbeVolumeMapper_h
49#define vtkOpenGLSurfaceProbeVolumeMapper_h
53#include "vtkRenderingVolumeOpenGL2Module.h"
56VTK_ABI_NAMESPACE_BEGIN
92 vtkGetMacro(Window,
double);
93 vtkSetMacro(Window,
double);
95 vtkGetMacro(Level,
double);
96 vtkSetMacro(Level,
double);
126 vtkGetMacro(BlendWidth,
double);
127 vtkSetMacro(BlendWidth,
double);
158 enum class PassTypes :
unsigned int
164 PassTypes CurrentPass = PassTypes::DEFAULT;
171 BlendModes BlendMode = BlendModes::NONE;
172 double BlendWidth = 1.0;
175 bool SavedScissorTestState =
false;
176 bool SavedBlendState =
false;
177 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.
PolyDataMapper using OpenGL to render.
PolyDataMapper colored with probed volume data.
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
Fill the input port information objects for this algorithm.
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
abstracts an OpenGL texture object.
Creates and manages the volume texture rendered by vtkOpenGLGPUVolumeRayCastMapper.