VTK
vtkDefaultPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDefaultPass.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
36 #ifndef vtkDefaultPass_h
37 #define vtkDefaultPass_h
38 
39 #include "vtkRenderingOpenGL2Module.h" // For export macro
40 #include "vtkRenderPass.h"
41 
43 class vtkDefaultPassLayerList; // Pimpl
44 
45 class VTKRENDERINGOPENGL2_EXPORT vtkDefaultPass : public vtkRenderPass
46 {
47 public:
48  static vtkDefaultPass *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
52  //BTX
54 
57  virtual void Render(const vtkRenderState *s);
58  //ETX
60 
61  protected:
64 
66  virtual ~vtkDefaultPass();
67 
69  virtual void RenderOpaqueGeometry(const vtkRenderState *s);
70 
72  virtual void RenderFilteredOpaqueGeometry(const vtkRenderState *s);
73 
75  virtual void RenderTranslucentPolygonalGeometry(const vtkRenderState *s);
76 
78 
79  virtual void RenderFilteredTranslucentPolygonalGeometry(
80  const vtkRenderState *s);
82 
84  virtual void RenderVolumetricGeometry(const vtkRenderState *s);
85 
87  virtual void RenderFilteredVolumetricGeometry(const vtkRenderState *s);
88 
90  virtual void RenderOverlay(const vtkRenderState *s);
91 
93  virtual void RenderFilteredOverlay(const vtkRenderState *s);
94 
95  private:
96  vtkDefaultPass(const vtkDefaultPass&); // Not implemented.
97  void operator=(const vtkDefaultPass&); // Not implemented.
98 };
99 
100 #endif
OpenGL rendering window.
void PrintSelf(ostream &os, vtkIndent indent)
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void Render(const vtkRenderState *s)=0
static vtkObject * New()
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:54
Implement the basic render passes.