VTK  9.2.6
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 =========================================================================*/
99 #ifndef vtkRenderPassCollection_h
100 #define vtkRenderPassCollection_h
101 
102 #include "vtkCollection.h"
103 #include "vtkRenderingOpenGL2Module.h" // For export macro
104 
105 class vtkRenderPass;
106 
107 class VTKRENDERINGOPENGL2_EXPORT vtkRenderPassCollection : public vtkCollection
108 {
109 public:
112  void PrintSelf(ostream& os, vtkIndent indent) override;
113 
117  void AddItem(vtkRenderPass* pass);
118 
123 
128 
134 
135 protected:
138 
139 private:
140  // hide the standard AddItem from the user and the compiler.
141  void AddItem(vtkObject* o);
142 
143 private:
145  void operator=(const vtkRenderPassCollection&) = delete;
146 };
147 
148 #endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:56
void AddItem(vtkObject *)
Add an object to the bottom of the list.
a simple class to control print indentation
Definition: vtkIndent.h:119
abstract base class for most VTK objects
Definition: vtkObject.h:82
an ordered list of RenderPasses
vtkRenderPass * GetLastRenderPass()
Get the last RenderPass in the list.
vtkRenderPass * GetNextRenderPass(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
void AddItem(vtkRenderPass *pass)
Add an RenderPass to the bottom of the list.
~vtkRenderPassCollection() override
static vtkRenderPassCollection * New()
vtkRenderPass * GetNextRenderPass()
Get the next RenderPass in the list.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:60
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:51