VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkResliceCursorActor.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkResliceCursorActor.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
=========================================================================*/
26
#ifndef __vtkResliceCursorActor_h
27
#define __vtkResliceCursorActor_h
28
29
#include "
vtkProp3D.h
"
30
31
class
vtkResliceCursor
;
32
class
vtkResliceCursorPolyDataAlgorithm
;
33
class
vtkPolyDataMapper
;
34
class
vtkActor
;
35
class
vtkProperty
;
36
class
vtkBoundingBox
;
37
38
class
VTK_RENDERING_EXPORT
vtkResliceCursorActor
:
public
vtkProp3D
39
{
40
41
public
:
42
44
45
static
vtkResliceCursorActor
*
New
();
46
vtkTypeMacro(
vtkResliceCursorActor
,
vtkProp3D
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
52
vtkGetObjectMacro( CursorAlgorithm,
vtkResliceCursorPolyDataAlgorithm
);
54
56
virtual
int
RenderOpaqueGeometry
(
vtkViewport
*viewport);
57
59
virtual
int
HasTranslucentPolygonalGeometry
();
60
64
void
ReleaseGraphicsResources
(
vtkWindow
*);
65
67
double
*
GetBounds
();
68
70
unsigned
long
int
GetMTime
();
71
73
74
vtkProperty
*GetCenterlineProperty(
int
i );
75
vtkProperty
*GetThickSlabProperty(
int
i );
77
79
vtkActor
* GetCenterlineActor(
int
axis);
80
82
virtual
void
SetUserMatrix
(
vtkMatrix4x4
*matrix);
83
84
protected
:
85
vtkResliceCursorActor
();
86
~
vtkResliceCursorActor
();
87
88
void
UpdateViewProps(
vtkViewport
* v = NULL );
89
void
UpdateHoleSize(
vtkViewport
* v );
90
91
vtkResliceCursorPolyDataAlgorithm
*
CursorAlgorithm
;
92
vtkPolyDataMapper
* CursorCenterlineMapper[3];
93
vtkActor
* CursorCenterlineActor[3];
94
vtkPolyDataMapper
* CursorThickSlabMapper[3];
95
vtkActor
* CursorThickSlabActor[3];
96
vtkProperty
* CenterlineProperty[3];
97
vtkProperty
* ThickSlabProperty[3];
98
99
private
:
100
vtkResliceCursorActor
(
const
vtkResliceCursorActor
&);
// Not implemented.
101
void
operator=(
const
vtkResliceCursorActor
&);
// Not implemented.
102
};
103
104
#endif
Generated on Tue Jan 8 2013 05:45:39 for VTK by
1.8.1.2