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
39
class
VTK_RENDERING_EXPORT
vtkAbstractMapper3D
:
public
vtkAbstractMapper
40
{
41
public
:
42
vtkTypeMacro(
vtkAbstractMapper3D
,
vtkAbstractMapper
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
48
virtual
double
*GetBounds()=0;
49
51
virtual
void
GetBounds(
double
bounds[6]);
52
54
55
double
*GetCenter();
56
void
GetCenter(
double
center
[3])
57
{
58
double
*rc = this->GetCenter();
59
center[0] = rc[0]; center[1] = rc[1]; center[2] = rc[2];
60
}
62
64
double
GetLength();
65
68
virtual
int
IsARayCastMapper
() {
return
0;}
69
73
virtual
int
IsARenderIntoImageMapper
() {
return
0;}
74
75
protected
:
76
vtkAbstractMapper3D
();
77
~vtkAbstractMapper3D
() {};
78
79
double
Bounds[6];
80
double
Center[3];
81
82
private
:
83
vtkAbstractMapper3D
(
const
vtkAbstractMapper3D
&);
// Not implemented.
84
void
operator=(
const
vtkAbstractMapper3D
&);
// Not implemented.
85
};
86
87
#endif
Generated on Sun Sep 9 2012 13:03:43 for VTK by
1.8.1.2