29#ifndef vtkOpenGLFluidMapper_h
30#define vtkOpenGLFluidMapper_h
35#include "vtkRenderingOpenGL2Module.h"
vtkAbstractVolumeMapper()
a simple class to control print indentation
represent and manipulate 3x3 transformation matrices
represent and manipulate 4x4 transformation matrices
vtkOpenGLQuadHelper * QuadFluidDepthFilter[NumFilterMethods]
vtkMatrix3x3 * CamInvertedNorms
void SetInputData(vtkPolyData *in)
Specify the input data to map.
vtkOpenGLQuadHelper * QuadFinalBlend
vtkSmartPointer< vtkOpenGLFramebufferObject > FBThickness
FluidDisplayMode
Display mode for the fluid, default value is TransparentFluidVolume.
@ UnfilteredSurfaceNormal
@ UnfilteredOpaqueSurface
float AttenuationColor[3]
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkSmartPointer< vtkOpenGLVertexBufferObjectGroup > VBOs
void SetNarrowRangeFilterParameters(float lambda, float mu)
Optional parameters, exclusively for narrow range filter The first parameter is to control smoothing ...
vtkTextureObject * TexBuffer[NumTexBuffers]
vtkTimeStamp VBOBuildTime
void Render(vtkRenderer *ren, vtkVolume *vol) override
This calls RenderPiece.
vtkSmartPointer< vtkOpenGLFramebufferObject > FBCompNormal
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMatrix4x4 * TempMatrix4
vtkPolyData * GetInput()
Specify the input data to map.
vtkTypeBool CamParallelProjection
vtkSmartPointer< vtkOpenGLFramebufferObject > FBFluidEyeZ
float BiGaussFilterSigmaDepth
uint32_t SurfaceFilterIterations
uint32_t ThicknessAndVolumeColorFilterIterations
vtkSmartPointer< vtkOpenGLFramebufferObject > FBFilterThickness
vtkOpenGLQuadHelper * QuadThicknessFilter
FluidSurfaceFilterMethod
Filter method to filter the depth buffer.
uint32_t SurfaceFilterRadius
void SetupBuffers(vtkOpenGLRenderWindow *const renderWindow)
Setup the texture buffers.
FluidSurfaceFilterMethod SurfaceFilterMethod
~vtkOpenGLFluidMapper() override
uint32_t ThicknessAndVolumeColorFilterRadius
vtkTextureObject * OptionalTexBuffer[NumOptionalTexBuffers]
FluidDisplayMode DisplayMode
float AdditionalReflection
vtkOpenGLQuadHelper * QuadFluidNormal
void UpdateDepthThicknessColorShaders(vtkOpenGLHelper &glHelper, vtkRenderer *renderer, vtkVolume *vol)
Perform string replacements on the shader templates.
static vtkOpenGLFluidMapper * New()
void RenderParticles(vtkRenderer *renderer, vtkVolume *vol)
Render the fluid particles.
vtkSmartPointer< vtkOpenGLFramebufferObject > FBFilterDepth
void SetBilateralGaussianFilterParameter(float sigmaDepth)
Optional parameters, exclusively for bilateral gaussian filter The parameter is for controlling smoot...
vtkOpenGLHelper GLHelperDepthThickness
void SetDepthThicknessColorShaderParameters(vtkOpenGLHelper &glHelper, vtkRenderer *renderer, vtkVolume *vol)
Set the shader parameters related to the actor/mapper/camera.
Internal class which encapsulates OpenGL FramebufferObject.
Class to make rendering a full screen quad easier.
manage vertex buffer objects shared within a mapper
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
abstracts an OpenGL texture object.
record modification and/or execution time
represents a volume (data & properties) in a rendered scene
window superclass for vtkRenderWindow