VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkAbstractMapper3D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAbstractMapper3D.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
=========================================================================*/
31
#ifndef __vtkAbstractMapper3D_h
32
#define __vtkAbstractMapper3D_h
33
34
#include "
vtkAbstractMapper.h
"
35
36
class
vtkWindow
;
37
class
vtkDataSet
;
38
class
vtkMatrix4x4
;
39
40
class
VTK_RENDERING_EXPORT
vtkAbstractMapper3D
:
public
vtkAbstractMapper
41
{
42
public
:
43
vtkTypeMacro(
vtkAbstractMapper3D
,
vtkAbstractMapper
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
49
virtual
double
*GetBounds()=0;
50
52
virtual
void
GetBounds(
double
bounds[6]);
53
55
56
double
*GetCenter();
57
void
GetCenter(
double
center
[3])
58
{
59
double
*rc = this->GetCenter();
60
center[0] = rc[0]; center[1] = rc[1]; center[2] = rc[2];
61
}
63
65
double
GetLength();
66
69
virtual
int
IsARayCastMapper
() {
return
0;}
70
74
virtual
int
IsARenderIntoImageMapper
() {
return
0;}
75
77
79
void
GetClippingPlaneInDataCoords(
80
vtkMatrix4x4
*propMatrix,
int
i,
double
planeEquation[4]);
82
84
int
GetNumberOfClippingPlanes();
85
86
protected
:
87
vtkAbstractMapper3D
();
88
~vtkAbstractMapper3D
() {};
89
90
double
Bounds[6];
91
double
Center[3];
92
93
private
:
94
vtkAbstractMapper3D
(
const
vtkAbstractMapper3D
&);
// Not implemented.
95
void
operator=(
const
vtkAbstractMapper3D
&);
// Not implemented.
96
};
97
98
#endif
Generated on Tue Jan 8 2013 05:45:37 for VTK by
1.8.1.2