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 =========================================================================*/
30 #ifndef vtkRenderPassCollection_h
31 #define vtkRenderPassCollection_h
32 
33 #include "vtkRenderingOpenGL2Module.h" // For export macro
34 #include "vtkCollection.h"
35 
36 class vtkRenderPass;
37 
38 class VTKRENDERINGOPENGL2_EXPORT vtkRenderPassCollection : public vtkCollection
39 {
40  public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
48  void AddItem(vtkRenderPass *pass);
49 
54 
59 
65 
66 protected:
69 
70 private:
71  // hide the standard AddItem from the user and the compiler.
72  void AddItem(vtkObject *o);
73 
74 private:
75  vtkRenderPassCollection(const vtkRenderPassCollection&) VTK_DELETE_FUNCTION;
76  void operator=(const vtkRenderPassCollection&) VTK_DELETE_FUNCTION;
77 };
78 
79 #endif
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
vtkRenderPassCollection::AddItem
void AddItem(vtkRenderPass *pass)
Add an RenderPass to the list.
vtkCollection.h
vtkRenderPassCollection::New
static vtkRenderPassCollection * New()
vtkRenderPassCollection::GetNextRenderPass
vtkRenderPass * GetNextRenderPass(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:60
vtkRenderPassCollection::vtkRenderPassCollection
vtkRenderPassCollection()
vtkCollection
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
vtkRenderPassCollection::GetLastRenderPass
vtkRenderPass * GetLastRenderPass()
Get the last RenderPass in the list.
vtkRenderPassCollection
a list of RenderPasses
Definition: vtkRenderPassCollection.h:36
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkRenderPassCollection::GetNextRenderPass
vtkRenderPass * GetNextRenderPass()
Get the next RenderPass in the list.
vtkCollection::AddItem
void AddItem(vtkObject *)
Add an object to the list.
vtkRenderPassCollection::~vtkRenderPassCollection
~vtkRenderPassCollection()
vtkRenderPassCollection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:59