VTK
dox/Rendering/OpenGL/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 "vtkRenderingOpenGLModule.h" // For export macro
00036 #include "vtkRenderPass.h"
00037 
00038 class vtkRenderPassCollection;
00039 
00040 class VTKRENDERINGOPENGL_EXPORT vtkSequencePass : public vtkRenderPass
00041 {
00042 public:
00043   static vtkSequencePass *New();
00044   vtkTypeMacro(vtkSequencePass,vtkRenderPass);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00047   //BTX
00049 
00051   virtual void Render(const vtkRenderState *s);
00052   //ETX
00054 
00057   virtual void ReleaseGraphicsResources(vtkWindow *w);
00058 
00060 
00063   vtkGetObjectMacro(Passes,vtkRenderPassCollection);
00064   virtual void SetPasses(vtkRenderPassCollection *passes);
00066 
00067 protected:
00068   vtkRenderPassCollection *Passes;
00069 
00070   vtkSequencePass();
00071   virtual ~vtkSequencePass();
00072 
00073 private:
00074   vtkSequencePass(const vtkSequencePass&);  // Not implemented.
00075   void operator=(const vtkSequencePass&);  // Not implemented.
00076 };
00077 
00078 #endif