VTK
dox/Rendering/vtkSequencePass.h
Go to the documentation of this file.
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 =========================================================================*/
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   vtkTypeMacro(vtkSequencePass,vtkRenderPass);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00046   //BTX
00048 
00050   virtual void Render(const vtkRenderState *s);
00051   //ETX
00053   
00056   virtual void ReleaseGraphicsResources(vtkWindow *w);
00057   
00059 
00062   vtkGetObjectMacro(Passes,vtkRenderPassCollection);
00063   virtual void SetPasses(vtkRenderPassCollection *passes);
00065   
00066 protected:
00067   vtkRenderPassCollection *Passes;
00068 
00069   vtkSequencePass();
00070   virtual ~vtkSequencePass();
00071 
00072 private:
00073   vtkSequencePass(const vtkSequencePass&);  // Not implemented.
00074   void operator=(const vtkSequencePass&);  // Not implemented.
00075 };
00076 
00077 #endif