VTK  9.0.1
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 =========================================================================*/
27 #ifndef vtkRenderPassCollection_h
28 #define vtkRenderPassCollection_h
29 
30 #include "vtkCollection.h"
31 #include "vtkRenderingOpenGL2Module.h" // For export macro
32 
33 class vtkRenderPass;
34 
35 class VTKRENDERINGOPENGL2_EXPORT vtkRenderPassCollection : public vtkCollection
36 {
37 public:
38  static vtkRenderPassCollection* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
45  void AddItem(vtkRenderPass* pass);
46 
50  vtkRenderPass* GetNextRenderPass();
51 
55  vtkRenderPass* GetLastRenderPass();
56 
61  vtkRenderPass* GetNextRenderPass(vtkCollectionSimpleIterator& cookie);
62 
63 protected:
65  ~vtkRenderPassCollection() override;
66 
67 private:
68  // hide the standard AddItem from the user and the compiler.
69  void AddItem(vtkObject* o);
70 
71 private:
73  void operator=(const vtkRenderPassCollection&) = delete;
74 };
75 
76 #endif
vtkCollection::New
static vtkCollection * New()
Construct with empty list.
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:48
vtkCollection.h
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkCollection
create and manipulate ordered lists of objects
Definition: vtkCollection.h:52
vtkRenderPassCollection
an ordered list of RenderPasses
Definition: vtkRenderPassCollection.h:35
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkCollection::AddItem
void AddItem(vtkObject *)
Add an object to the bottom of the list.
vtkCollection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:56