VTK  9.1.0
vtkImageProcessingPass.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageProcessingPass.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
27#ifndef vtkImageProcessingPass_h
28#define vtkImageProcessingPass_h
29
30#include "vtkOpenGLRenderPass.h"
31#include "vtkRenderingOpenGL2Module.h" // For export macro
32
34class vtkDepthPeelingPassLayerList; // Pimpl
37
38class VTKRENDERINGOPENGL2_EXPORT vtkImageProcessingPass : public vtkOpenGLRenderPass
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
50
52
58 vtkGetObjectMacro(DelegatePass, vtkRenderPass);
59 virtual void SetDelegatePass(vtkRenderPass* delegatePass);
61
62protected:
67
72
82 void RenderDelegate(const vtkRenderState* s, int width, int height, int newWidth, int newHeight,
84
86
87private:
89 void operator=(const vtkImageProcessingPass&) = delete;
90};
91
92#endif
Convenient class for post-processing passes.
vtkImageProcessingPass()
Default constructor.
virtual void SetDelegatePass(vtkRenderPass *delegatePass)
Delegate for rendering the image to be processed.
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.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
~vtkImageProcessingPass() override
Destructor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:113
Internal class which encapsulates OpenGL FramebufferObject.
Abstract render pass with shader modifications.
OpenGL rendering window.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:57
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
@ height
Definition: vtkX3D.h:260
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)