VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL2/vtkRenderPassCollection.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkRenderPassCollection.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00026 #ifndef vtkRenderPassCollection_h
00027 #define vtkRenderPassCollection_h
00028 
00029 #include "vtkRenderingOpenGL2Module.h" // For export macro
00030 #include "vtkCollection.h"
00031 
00032 class vtkRenderPass;
00033 
00034 class VTKRENDERINGOPENGL2_EXPORT vtkRenderPassCollection : public vtkCollection
00035 {
00036  public:
00037   static vtkRenderPassCollection *New();
00038   vtkTypeMacro(vtkRenderPassCollection,vtkCollection);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042   void AddItem(vtkRenderPass *pass);
00043 
00045   vtkRenderPass *GetNextRenderPass();
00046 
00048   vtkRenderPass *GetLastRenderPass();
00049 
00050   //BTX
00052 
00054   vtkRenderPass *GetNextRenderPass(vtkCollectionSimpleIterator &cookie);
00055   //ETX
00057 
00058 protected:
00059   vtkRenderPassCollection();
00060   ~vtkRenderPassCollection();
00061 
00062 private:
00063   // hide the standard AddItem from the user and the compiler.
00064   void AddItem(vtkObject *o);
00065 
00066 private:
00067   vtkRenderPassCollection(const vtkRenderPassCollection&);  // Not implemented.
00068   void operator=(const vtkRenderPassCollection&);  // Not implemented.
00069 };
00070 
00071 #endif