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 =========================================================================*/
33 #ifndef vtkDefaultPass_h
34 #define vtkDefaultPass_h
35 
36 #include "vtkRenderingOpenGLModule.h" // For export macro
37 #include "vtkRenderPass.h"
38 
40 class vtkDefaultPassLayerList; // Pimpl
41 
43 {
44 public:
45  static vtkDefaultPass *New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
49  //BTX
51 
54  virtual void Render(const vtkRenderState *s);
55  //ETX
57 
58  protected:
61 
63  virtual ~vtkDefaultPass();
64 
66  virtual void RenderOpaqueGeometry(const vtkRenderState *s);
67 
69  virtual void RenderFilteredOpaqueGeometry(const vtkRenderState *s);
70 
72  virtual void RenderTranslucentPolygonalGeometry(const vtkRenderState *s);
73 
75 
76  virtual void RenderFilteredTranslucentPolygonalGeometry(
77  const vtkRenderState *s);
79 
81  virtual void RenderVolumetricGeometry(const vtkRenderState *s);
82 
84  virtual void RenderFilteredVolumetricGeometry(const vtkRenderState *s);
85 
87  virtual void RenderOverlay(const vtkRenderState *s);
88 
90  virtual void RenderFilteredOverlay(const vtkRenderState *s);
91 
92  private:
93  vtkDefaultPass(const vtkDefaultPass&); // Not implemented.
94  void operator=(const vtkDefaultPass&); // Not implemented.
95 };
96 
97 #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
#define VTKRENDERINGOPENGL_EXPORT
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.