VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkSequencePass.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 vtkSequencePass_h 00030 #define vtkSequencePass_h 00031 00032 #include "vtkRenderingOpenGL2Module.h" // For export macro 00033 #include "vtkRenderPass.h" 00034 00035 class vtkRenderPassCollection; 00036 00037 class VTKRENDERINGOPENGL2_EXPORT vtkSequencePass : public vtkRenderPass 00038 { 00039 public: 00040 static vtkSequencePass *New(); 00041 vtkTypeMacro(vtkSequencePass,vtkRenderPass); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00044 //BTX 00046 00048 virtual void Render(const vtkRenderState *s); 00049 //ETX 00051 00054 virtual void ReleaseGraphicsResources(vtkWindow *w); 00055 00057 00060 vtkGetObjectMacro(Passes,vtkRenderPassCollection); 00061 virtual void SetPasses(vtkRenderPassCollection *passes); 00063 00064 protected: 00065 vtkRenderPassCollection *Passes; 00066 00067 vtkSequencePass(); 00068 virtual ~vtkSequencePass(); 00069 00070 private: 00071 vtkSequencePass(const vtkSequencePass&); // Not implemented. 00072 void operator=(const vtkSequencePass&); // Not implemented. 00073 }; 00074 00075 #endif