VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
vtkClearZPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkClearZPass.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
=========================================================================*/
27
#ifndef __vtkClearZPass_h
28
#define __vtkClearZPass_h
29
30
#include "vtkRenderingOpenGLModule.h"
// For export macro
31
#include "
vtkRenderPass.h
"
32
33
class
vtkOpenGLRenderWindow
;
34
35
class
VTKRENDERINGOPENGL_EXPORT
vtkClearZPass
:
public
vtkRenderPass
36
{
37
public
:
38
static
vtkClearZPass
*
New
();
39
vtkTypeMacro(
vtkClearZPass
,
vtkRenderPass
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
42
//BTX
44
46
virtual
void
Render
(
const
vtkRenderState
*s);
47
//ETX
49
51
52
vtkSetClampMacro(Depth,
double
,0.0,1.0);
53
vtkGetMacro(Depth,
double
);
55
56
protected
:
58
vtkClearZPass
();
59
61
virtual
~
vtkClearZPass
();
62
63
double
Depth
;
64
65
private
:
66
vtkClearZPass
(
const
vtkClearZPass
&);
// Not implemented.
67
void
operator=(
const
vtkClearZPass
&);
// Not implemented.
68
};
69
70
#endif
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1