52#ifndef vtkOpenGLSurfaceProbeVolumeMapper_h
53#define vtkOpenGLSurfaceProbeVolumeMapper_h
57#include "vtkRenderingVolumeOpenGL2Module.h"
60VTK_ABI_NAMESPACE_BEGIN
66class VTKRENDERINGVOLUMEOPENGL2_EXPORT
VTK_MARSHALAUTO vtkOpenGLSurfaceProbeVolumeMapper
70 static vtkOpenGLSurfaceProbeVolumeMapper*
New();
141 vtkGetMacro(BlendWidth,
double);
142 vtkSetMacro(BlendWidth,
double);
179 vtkOpenGLSurfaceProbeVolumeMapper();
180 ~vtkOpenGLSurfaceProbeVolumeMapper()
override;
195 enum class PassTypes :
unsigned int
201 PassTypes CurrentPass = PassTypes::DEFAULT;
204 BlendModes BlendMode = BlendModes::NONE;
205 double BlendWidth = 1.0;
208 bool SavedScissorTestState =
false;
209 bool SavedBlendState =
false;
210 int SavedViewport[4] = {};
represents an object (geometry & properties) in a rendered scene
Proxy object to connect input/output ports.
abstract class to specify dataset behavior
topologically and geometrically regular array of data
virtual vtkUnsignedCharArray * MapScalars(double alpha)
Map the scalars (if there are any scalars and ScalarVisibility is on) through the lookup table,...
virtual void SetScalarRange(double, double)
Specify range in terms of scalar minimum and maximum (smin,smax).
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.
bool HasTranslucentPolygonalGeometry() override
Determine whether this mapper should be invoked on a specific rendering pass.
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.
vtkUnsignedCharArray * MapScalars(vtkDataSet *input, double alpha, int &cellFlag) override
Map the scalars of the source through the lookup table if any.
virtual void ReplaceShaderProbePass(vtkActor *act)
void SetWindow(double window)
Convienence methods to set the window and level values used for scalar coloring, which ultimately set...
void SetLevel(double level)
Convienence methods to set the window and level values used for scalar coloring, which ultimately set...
void CreateDefaultLookupTable() override
Defined as no-op to prevent the creation of a default lookup table in GetLookupTable.
double GetWindow()
Convienence methods to set the window and level values used for scalar coloring, which ultimately set...
void SetProbeInputConnection(vtkAlgorithmOutput *algOutput)
Specify the input data used for probing (optional).
void RenderPiece(vtkRenderer *ren, vtkActor *act) override
Implemented by sub classes.
double GetLevel()
Convienence methods to set the window and level values used for scalar coloring, which ultimately set...
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.
dynamic, self-adjusting array of unsigned char
Creates and manages the volume texture rendered by vtkOpenGLGPUVolumeRayCastMapper.
virtual int GetLevel()
Level of subdivision of the faces.
void CreateTexture()
Creates a texture handle if not already created.