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 =========================================================================*/
26 #ifndef vtkRenderPassCollection_h
27 #define vtkRenderPassCollection_h
28 
29 #include "vtkRenderingOpenGL2Module.h" // For export macro
30 #include "vtkCollection.h"
31 
32 class vtkRenderPass;
33 
35 {
36  public:
37  static vtkRenderPassCollection *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42  void AddItem(vtkRenderPass *pass);
43 
45  vtkRenderPass *GetNextRenderPass();
46 
48  vtkRenderPass *GetLastRenderPass();
49 
50  //BTX
52 
54  vtkRenderPass *GetNextRenderPass(vtkCollectionSimpleIterator &cookie);
55  //ETX
57 
58 protected:
61 
62 private:
63  // hide the standard AddItem from the user and the compiler.
64  void AddItem(vtkObject *o);
65 
66 private:
67  vtkRenderPassCollection(const vtkRenderPassCollection&); // Not implemented.
68  void operator=(const vtkRenderPassCollection&); // Not implemented.
69 };
70 
71 #endif
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
abstract base class for most VTK objects
Definition: vtkObject.h:61
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKRENDERINGOPENGL2_EXPORT
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