00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkDefaultPass.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 =========================================================================*/ 00033 #ifndef __vtkDefaultPass_h 00034 #define __vtkDefaultPass_h 00035 00036 #include "vtkRenderPass.h" 00037 00038 class vtkOpenGLRenderWindow; 00039 class vtkDefaultPassLayerList; // Pimpl 00040 00041 class VTK_RENDERING_EXPORT vtkDefaultPass : public vtkRenderPass 00042 { 00043 public: 00044 static vtkDefaultPass *New(); 00045 vtkTypeMacro(vtkDefaultPass,vtkRenderPass); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00048 //BTX 00050 00053 virtual void Render(const vtkRenderState *s); 00054 //ETX 00056 00057 protected: 00059 vtkDefaultPass(); 00060 00062 virtual ~vtkDefaultPass(); 00063 00065 virtual void RenderOpaqueGeometry(const vtkRenderState *s); 00066 00068 virtual void RenderFilteredOpaqueGeometry(const vtkRenderState *s); 00069 00071 virtual void RenderTranslucentPolygonalGeometry(const vtkRenderState *s); 00072 00074 00075 virtual void RenderFilteredTranslucentPolygonalGeometry( 00076 const vtkRenderState *s); 00078 00080 virtual void RenderVolumetricGeometry(const vtkRenderState *s); 00081 00083 virtual void RenderFilteredVolumetricGeometry(const vtkRenderState *s); 00084 00086 virtual void RenderOverlay(const vtkRenderState *s); 00087 00089 virtual void RenderFilteredOverlay(const vtkRenderState *s); 00090 00091 private: 00092 vtkDefaultPass(const vtkDefaultPass&); // Not implemented. 00093 void operator=(const vtkDefaultPass&); // Not implemented. 00094 }; 00095 00096 #endif