VTK
dox
Rendering
OpenGL2
vtkHiddenLineRemovalPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkHiddenLineRemovalPass.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
=========================================================================*/
15
25
#ifndef vtkHiddenLineRemovalPass_h
26
#define vtkHiddenLineRemovalPass_h
27
28
#include "vtkRenderingOpenGL2Module.h"
// For export macro
29
#include "
vtkOpenGLRenderPass.h
"
30
31
#include <vector>
// For std::vector!
32
33
class
vtkProp
;
34
class
vtkViewport
;
35
36
class
VTKRENDERINGOPENGL2_EXPORT
vtkHiddenLineRemovalPass
:
37
public
vtkOpenGLRenderPass
38
{
39
public
:
40
static
vtkHiddenLineRemovalPass
*
New
();
41
vtkTypeMacro(
vtkHiddenLineRemovalPass
,
vtkOpenGLRenderPass
)
42
virtual
void
PrintSelf(ostream &os,
vtkIndent
indent);
43
44
virtual
void
Render(const
vtkRenderState
*s);
45
49
static
bool
WireframePropsExist(
vtkProp
**propArray,
int
nProps);
50
51
protected:
52
vtkHiddenLineRemovalPass
();
53
~
vtkHiddenLineRemovalPass
();
54
55
void
SetRepresentation(std::
vector
<
vtkProp
*> &props,
int
repr);
56
int
RenderProps(std::
vector
<
vtkProp
*> &props,
vtkViewport
*vp);
57
58
private:
59
vtkHiddenLineRemovalPass
(const
vtkHiddenLineRemovalPass
&) VTK_DELETE_FUNCTION;
60
void
operator=(const
vtkHiddenLineRemovalPass
&) VTK_DELETE_FUNCTION;
61
};
62
63
#endif // vtkHiddenLineRemovalPass_h
vtkX3D::vector
@ vector
Definition:
vtkX3D.h:237
vtkHiddenLineRemovalPass::New
static vtkHiddenLineRemovalPass * New()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkViewport
abstract specification for Viewports
Definition:
vtkViewport.h:48
vtkProp
abstract superclass for all actors, volumes and annotations
Definition:
vtkProp.h:48
vtkOpenGLRenderPass
Abstract render pass with shader modifications.
Definition:
vtkOpenGLRenderPass.h:38
vtkOpenGLRenderPass.h
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:41
vtkHiddenLineRemovalPass
RenderPass for HLR.
Definition:
vtkHiddenLineRemovalPass.h:37
Generated by
1.8.20