VTK
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 "vtkRenderingOpenGLModule.h" // For export macro
31 #include "vtkRenderPass.h"
32 
34 class vtkDepthPeelingPassLayerList; // Pimpl
35 class vtkShaderProgram2;
36 class vtkShader2;
38 class vtkTextureObject;
39 
40 class VTKRENDERINGOPENGL_EXPORT vtkImageProcessingPass : public vtkRenderPass
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
52 
54 
60  vtkGetObjectMacro(DelegatePass,vtkRenderPass);
61  virtual void SetDelegatePass(vtkRenderPass *delegatePass);
63 
64  protected:
69 
73  virtual ~vtkImageProcessingPass();
74 
84  void RenderDelegate(const vtkRenderState *s,
85  int width,
86  int height,
87  int newWidth,
88  int newHeight,
91 
92 
94 
95  private:
96  vtkImageProcessingPass(const vtkImageProcessingPass&) VTK_DELETE_FUNCTION;
97  void operator=(const vtkImageProcessingPass&) VTK_DELETE_FUNCTION;
98 };
99 
100 #endif
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
Definition: vtkFrameBufferObject.h:46
vtkImageProcessingPass::DelegatePass
vtkRenderPass * DelegatePass
Definition: vtkImageProcessingPass.h:93
vtkRenderPass::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkRenderPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkRenderPass.h
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkX3D::height
@ height
Definition: vtkX3D.h:254
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTextureObject
abstracts an OpenGL texture object.
Definition: vtkTextureObject.h:40
vtkShaderProgram2
GLSL Program.
Definition: vtkShaderProgram2.h:68
vtkShader2
GLSL Shader.
Definition: vtkShader2.h:62
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:38
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:40
target
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Definition: vtkBoostGraphAdapter.h:829
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition: vtkImageProcessingPass.h:40
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:58