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