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 =========================================================================*/
29 #ifndef vtkSequencePass_h
30 #define vtkSequencePass_h
31 
32 #include "vtkRenderingOpenGL2Module.h" // For export macro
33 #include "vtkRenderPass.h"
34 
36 
38 {
39 public:
40  static vtkSequencePass *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
44  //BTX
46 
48  virtual void Render(const vtkRenderState *s);
49  //ETX
51 
54  virtual void ReleaseGraphicsResources(vtkWindow *w);
55 
57 
60  vtkGetObjectMacro(Passes,vtkRenderPassCollection);
61  virtual void SetPasses(vtkRenderPassCollection *passes);
63 
64 protected:
66 
68  virtual ~vtkSequencePass();
69 
70 private:
71  vtkSequencePass(const vtkSequencePass&); // Not implemented.
72  void operator=(const vtkSequencePass&); // Not implemented.
73 };
74 
75 #endif
Execute render passes sequentially.
#define VTKRENDERINGOPENGL2_EXPORT
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:57