VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
Core
vtkImageSlice.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageSlice.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
=========================================================================*/
40
#ifndef __vtkImageSlice_h
41
#define __vtkImageSlice_h
42
43
#include "vtkRenderingCoreModule.h"
// For export macro
44
#include "
vtkProp3D.h
"
45
46
class
vtkRenderer
;
47
class
vtkPropCollection
;
48
class
vtkImageProperty
;
49
class
vtkImageMapper3D
;
50
51
class
VTKRENDERINGCORE_EXPORT
vtkImageSlice
:
public
vtkProp3D
52
{
53
public
:
54
vtkTypeMacro(
vtkImageSlice
,
vtkProp3D
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
60
static
vtkImageSlice
*
New
();
61
63
64
void
SetMapper(
vtkImageMapper3D
*mapper);
65
vtkGetObjectMacro(Mapper,
vtkImageMapper3D
);
67
69
70
void
SetProperty(
vtkImageProperty
*property);
71
virtual
vtkImageProperty
*GetProperty();
73
75
void
Update
();
76
78
80
double
*
GetBounds
();
81
void
GetBounds
(
double
bounds[6]) { this->
vtkProp3D::GetBounds
( bounds ); };
82
double
GetMinXBound();
83
double
GetMaxXBound();
84
double
GetMinYBound();
85
double
GetMaxYBound();
86
double
GetMinZBound();
87
double
GetMaxZBound();
89
91
unsigned
long
int
GetMTime
();
92
97
unsigned
long
GetRedrawMTime
();
98
101
void
ShallowCopy
(
vtkProp
*prop);
102
106
void
GetImages(
vtkPropCollection
*);
107
109
110
virtual
int
RenderOverlay
(
vtkViewport
*viewport);
111
virtual
int
RenderOpaqueGeometry
(
vtkViewport
*viewport);
112
virtual
int
RenderTranslucentPolygonalGeometry
(
vtkViewport
*viewport);
114
116
virtual
int
HasTranslucentPolygonalGeometry
();
117
120
virtual
void
Render(
vtkRenderer
*);
121
123
void
ReleaseGraphicsResources
(
vtkWindow
*win);
124
129
void
SetStackedImagePass(
int
pass);
130
131
protected
:
132
vtkImageSlice
();
133
~
vtkImageSlice
();
134
135
vtkImageMapper3D
*
Mapper
;
136
vtkImageProperty
*
Property
;
137
138
private
:
139
vtkImageSlice
(
const
vtkImageSlice
&);
// Not implemented.
140
void
operator=(
const
vtkImageSlice
&);
// Not implemented.
141
};
142
143
#endif
Generated on Thu May 24 2012 22:22:34 for VTK by
1.8.1