VTK
|
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 =========================================================================*/ 00029 #ifndef __vtkRenderPassCollection_h 00030 #define __vtkRenderPassCollection_h 00031 00032 #include "vtkRenderingOpenGLModule.h" // For export macro 00033 #include "vtkCollection.h" 00034 00035 class vtkRenderPass; 00036 00037 class VTKRENDERINGOPENGL_EXPORT vtkRenderPassCollection : public vtkCollection 00038 { 00039 public: 00040 static vtkRenderPassCollection *New(); 00041 vtkTypeMacro(vtkRenderPassCollection,vtkCollection); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 void AddItem(vtkRenderPass *pass); 00046 00048 vtkRenderPass *GetNextRenderPass(); 00049 00051 vtkRenderPass *GetLastRenderPass(); 00052 00053 //BTX 00055 00057 vtkRenderPass *GetNextRenderPass(vtkCollectionSimpleIterator &cookie); 00058 //ETX 00060 00061 protected: 00062 vtkRenderPassCollection(); 00063 ~vtkRenderPassCollection(); 00064 00065 private: 00066 // hide the standard AddItem from the user and the compiler. 00067 void AddItem(vtkObject *o); 00068 00069 private: 00070 vtkRenderPassCollection(const vtkRenderPassCollection&); // Not implemented. 00071 void operator=(const vtkRenderPassCollection&); // Not implemented. 00072 }; 00073 00074 #endif