VTK
vtkRenderPassCollection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderPassCollection.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 vtkRenderPassCollection_h
30 #define vtkRenderPassCollection_h
31 
32 #include "vtkRenderingOpenGLModule.h" // For export macro
33 #include "vtkCollection.h"
34 
35 class vtkRenderPass;
36 
37 class VTKRENDERINGOPENGL_EXPORT vtkRenderPassCollection : public vtkCollection
38 {
39  public:
40  static vtkRenderPassCollection *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45  void AddItem(vtkRenderPass *pass);
46 
48  vtkRenderPass *GetNextRenderPass();
49 
51  vtkRenderPass *GetLastRenderPass();
52 
53  //BTX
55 
57  vtkRenderPass *GetNextRenderPass(vtkCollectionSimpleIterator &cookie);
58  //ETX
60 
61 protected:
64 
65 private:
66  // hide the standard AddItem from the user and the compiler.
67  void AddItem(vtkObject *o);
68 
69 private:
70  vtkRenderPassCollection(const vtkRenderPassCollection&); // Not implemented.
71  void operator=(const vtkRenderPassCollection&); // Not implemented.
72 };
73 
74 #endif
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
abstract base class for most VTK objects
Definition: vtkObject.h:61
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkCollection * New()
void AddItem(vtkObject *)
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
a list of RenderPasses
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:57