VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Interaction
Widgets
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 "vtkInteractionWidgetsModule.h"
// For export macro
30
#include "
vtkProp3D.h
"
31
32
class
vtkResliceCursor
;
33
class
vtkResliceCursorPolyDataAlgorithm
;
34
class
vtkPolyDataMapper
;
35
class
vtkActor
;
36
class
vtkProperty
;
37
class
vtkBoundingBox
;
38
39
class
VTKINTERACTIONWIDGETS_EXPORT
vtkResliceCursorActor
:
public
vtkProp3D
40
{
41
42
public
:
43
45
46
static
vtkResliceCursorActor
*
New
();
47
vtkTypeMacro(
vtkResliceCursorActor
,
vtkProp3D
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
52
53
vtkGetObjectMacro( CursorAlgorithm,
vtkResliceCursorPolyDataAlgorithm
);
55
57
virtual
int
RenderOpaqueGeometry
(
vtkViewport
*viewport);
58
60
virtual
int
HasTranslucentPolygonalGeometry
();
61
65
void
ReleaseGraphicsResources
(
vtkWindow
*);
66
68
double
*
GetBounds
();
69
71
unsigned
long
int
GetMTime
();
72
74
75
vtkProperty
*GetCenterlineProperty(
int
i );
76
vtkProperty
*GetThickSlabProperty(
int
i );
78
80
vtkActor
* GetCenterlineActor(
int
axis);
81
83
virtual
void
SetUserMatrix
(
vtkMatrix4x4
*matrix);
84
85
protected
:
86
vtkResliceCursorActor
();
87
~
vtkResliceCursorActor
();
88
89
void
UpdateViewProps(
vtkViewport
* v = NULL );
90
void
UpdateHoleSize(
vtkViewport
* v );
91
92
vtkResliceCursorPolyDataAlgorithm
*
CursorAlgorithm
;
93
vtkPolyDataMapper
* CursorCenterlineMapper[3];
94
vtkActor
* CursorCenterlineActor[3];
95
vtkPolyDataMapper
* CursorThickSlabMapper[3];
96
vtkActor
* CursorThickSlabActor[3];
97
vtkProperty
* CenterlineProperty[3];
98
vtkProperty
* ThickSlabProperty[3];
99
100
private
:
101
vtkResliceCursorActor
(
const
vtkResliceCursorActor
&);
// Not implemented.
102
void
operator=(
const
vtkResliceCursorActor
&);
// Not implemented.
103
};
104
105
#endif
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1