 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #include "vtkRenderingOpenGL2Module.h"
82 vtkGetMacro(Radius,
double);
83 vtkSetMacro(Radius,
double);
91 vtkGetMacro(KernelSize,
unsigned int);
92 vtkSetClampMacro(KernelSize,
unsigned int, 1, 1000);
100 vtkGetMacro(Bias,
double);
101 vtkSetMacro(Bias,
double);
110 vtkGetMacro(Blur,
bool);
111 vtkSetMacro(Blur,
bool);
112 vtkBooleanMacro(Blur,
bool);
119 void ComputeKernel();
138 unsigned int KernelSize = 32;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Implement a screen-space ambient occlusion pass.
void RenderDelegate(const vtkRenderState *s, int width, int height, int newWidth, int newHeight, vtkOpenGLFramebufferObject *fbo, vtkTextureObject *target)
Render delegate with a image of different dimensions than the original one.
virtual bool PreReplaceShaderValues(std::string &vertexShader, std::string &geometryShader, std::string &fragmentShader, vtkAbstractMapper *mapper, vtkProp *prop)
Use vtkShaderProgram::Substitute to replace //VTK::XXX:YYY declarations in the shader sources.
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
Internal class which encapsulates OpenGL FramebufferObject.
Class to make rendering a full screen quad easier.
std::vector< float > Kernel
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
window superclass for vtkRenderWindow
virtual bool SetShaderParameters(vtkShaderProgram *program, vtkAbstractMapper *mapper, vtkProp *prop, vtkOpenGLVertexArrayObject *VAO=nullptr)
Update the uniforms of the shader program.
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
abstracts an OpenGL texture object.
represent and manipulate 4x4 transformation matrices
virtual bool PostReplaceShaderValues(std::string &vertexShader, std::string &geometryShader, std::string &fragmentShader, vtkAbstractMapper *mapper, vtkProp *prop)
Use vtkShaderProgram::Substitute to replace //VTK::XXX:YYY declarations in the shader sources.
abstract superclass for all actors, volumes and annotations
Context in which a vtkRenderPass will render.
The VertexArrayObject class uses, or emulates, vertex array objects.
Convenient class for post-processing passes. render pass.
abstract class specifies interface to map data