00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkSequencePass.h,v $ 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 =========================================================================*/ 00032 #ifndef __vtkSequencePass_h 00033 #define __vtkSequencePass_h 00034 00035 #include "vtkRenderPass.h" 00036 00037 class vtkRenderPassCollection; 00038 00039 class VTK_RENDERING_EXPORT vtkSequencePass : public vtkRenderPass 00040 { 00041 public: 00042 static vtkSequencePass *New(); 00043 vtkTypeRevisionMacro(vtkSequencePass,vtkRenderPass); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00048 virtual void Render(const vtkRenderState *s); 00049 00052 virtual void ReleaseGraphicsResources(vtkWindow *w); 00053 00055 00058 vtkGetObjectMacro(Passes,vtkRenderPassCollection); 00059 virtual void SetPasses(vtkRenderPassCollection *passes); 00061 00062 protected: 00063 vtkRenderPassCollection *Passes; 00064 00065 vtkSequencePass(); 00066 virtual ~vtkSequencePass(); 00067 00068 private: 00069 vtkSequencePass(const vtkSequencePass&); // Not implemented. 00070 void operator=(const vtkSequencePass&); // Not implemented. 00071 }; 00072 00073 #endif