VTK  9.3.0
vtkRenderPassCollection.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
27 #ifndef vtkRenderPassCollection_h
28 #define vtkRenderPassCollection_h
29 
30 #include "vtkCollection.h"
31 #include "vtkRenderingOpenGL2Module.h" // For export macro
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class vtkRenderPass;
35 
36 class VTKRENDERINGOPENGL2_EXPORT vtkRenderPassCollection : public vtkCollection
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
46  void AddItem(vtkRenderPass* pass);
47 
52 
57 
63 
64 protected:
67 
68 private:
69  // hide the standard AddItem from the user and the compiler.
70  void AddItem(vtkObject* o);
71 
73  void operator=(const vtkRenderPassCollection&) = delete;
74 };
75 
76 VTK_ABI_NAMESPACE_END
77 #endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:45
void AddItem(vtkObject *)
Add an object to the bottom of the list.
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract base class for most VTK objects
Definition: vtkObject.h:61
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:49
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:40