48#ifndef vtkSimpleMotionBlurPass_h
49#define vtkSimpleMotionBlurPass_h
52#include "vtkRenderingOpenGL2Module.h"
88 vtkGetMacro(SubFrames,
int);
96 vtkSetMacro(DepthFormat,
int);
104 vtkSetMacro(ColorFormat,
int);
Convenient class for post-processing passes.
a simple class to control print indentation
Internal class which encapsulates OpenGL FramebufferObject.
Context in which a vtkRenderPass will render.
Avergae frames to simulate motion blur.
int ActiveAccumulationTexture
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ViewportWidth
Cache viewport values for depth peeling.
vtkTextureObject * ColorTexture
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
int ViewportY
Cache viewport values for depth peeling.
vtkOpenGLHelper * BlendProgram
virtual void SetSubFrames(int subFrames)
Set the number of sub frames for doing motion blur.
int ViewportX
Cache viewport values for depth peeling.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkTextureObject * DepthTexture
int ViewportHeight
Cache viewport values for depth peeling.
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
vtkSimpleMotionBlurPass()
Default constructor.
~vtkSimpleMotionBlurPass() override
Destructor.
static vtkSimpleMotionBlurPass * New()
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow