VTK
vtkSequencePass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSequencePass.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 =========================================================================*/
32 #ifndef vtkSequencePass_h
33 #define vtkSequencePass_h
34 
35 #include "vtkRenderingOpenGL2Module.h" // For export macro
36 #include "vtkRenderPass.h"
37 
39 
40 class VTKRENDERINGOPENGL2_EXPORT vtkSequencePass : public vtkRenderPass
41 {
42 public:
43  static vtkSequencePass *New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
47  //BTX
49 
51  virtual void Render(const vtkRenderState *s);
52  //ETX
54 
57  virtual void ReleaseGraphicsResources(vtkWindow *w);
58 
60 
63  vtkGetObjectMacro(Passes,vtkRenderPassCollection);
64  virtual void SetPasses(vtkRenderPassCollection *passes);
66 
67 protected:
69 
71  virtual ~vtkSequencePass();
72 
73 private:
74  vtkSequencePass(const vtkSequencePass&); // Not implemented.
75  void operator=(const vtkSequencePass&); // Not implemented.
76 };
77 
78 #endif
Execute render passes sequentially.
void PrintSelf(ostream &os, vtkIndent indent)
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void Render(const vtkRenderState *s)=0
virtual void ReleaseGraphicsResources(vtkWindow *w)
a list of RenderPasses
static vtkObject * New()
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:54