VTK  9.3.1
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
18 #ifndef vtkRenderPassCollection_h
19 #define vtkRenderPassCollection_h
20 
21 #include "vtkCollection.h"
22 #include "vtkRenderingOpenGL2Module.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkRenderPass;
26 
27 class VTKRENDERINGOPENGL2_EXPORT vtkRenderPassCollection : public vtkCollection
28 {
29 public:
30  static vtkRenderPassCollection* New();
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
37  void AddItem(vtkRenderPass* pass);
38 
42  vtkRenderPass* GetNextRenderPass();
43 
47  vtkRenderPass* GetLastRenderPass();
48 
53  vtkRenderPass* GetNextRenderPass(vtkCollectionSimpleIterator& cookie);
54 
55 protected:
57  ~vtkRenderPassCollection() override;
58 
59 private:
60  // hide the standard AddItem from the user and the compiler.
61  void AddItem(vtkObject* o);
62 
64  void operator=(const vtkRenderPassCollection&) = delete;
65 };
66 
67 VTK_ABI_NAMESPACE_END
68 #endif
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:51
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCollection * New()
Construct with empty list.
void AddItem(vtkObject *)
Add an object to the bottom of the list.
create and manipulate ordered lists of objects
Definition: vtkCollection.h:44
an ordered list of RenderPasses
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:48