VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
VolumeRendering
vtkRayCastImageDisplayHelper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRayCastImageDisplayHelper.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
=========================================================================*/
15
27
#ifndef __vtkRayCastImageDisplayHelper_h
28
#define __vtkRayCastImageDisplayHelper_h
29
30
#include "
vtkObject.h
"
31
32
class
vtkVolume
;
33
class
vtkRenderer
;
34
class
vtkFixedPointRayCastImage
;
35
36
class
VTK_VOLUMERENDERING_EXPORT
vtkRayCastImageDisplayHelper
:
public
vtkObject
37
{
38
public
:
39
static
vtkRayCastImageDisplayHelper
*
New
();
40
vtkTypeMacro(
vtkRayCastImageDisplayHelper
,
vtkObject
);
41
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
virtual
void
RenderTexture(
vtkVolume
*vol,
vtkRenderer
*ren,
44
int
imageMemorySize[2],
45
int
imageViewportSize[2],
46
int
imageInUseSize[2],
47
int
imageOrigin[2],
48
float
requestedDepth,
49
unsigned
char
*
image
) = 0;
50
51
virtual
void
RenderTexture(
vtkVolume
*vol,
vtkRenderer
*ren,
52
int
imageMemorySize[2],
53
int
imageViewportSize[2],
54
int
imageInUseSize[2],
55
int
imageOrigin[2],
56
float
requestedDepth,
57
unsigned
short
*
image
) = 0;
58
59
virtual
void
RenderTexture(
vtkVolume
*vol,
vtkRenderer
*ren,
60
vtkFixedPointRayCastImage
*
image
,
61
float
requestedDepth ) = 0;
62
63
vtkSetClampMacro( PreMultipliedColors,
int
, 0, 1 );
64
vtkGetMacro( PreMultipliedColors,
int
);
65
vtkBooleanMacro( PreMultipliedColors,
int
);
66
67
69
73
vtkSetMacro( PixelScale,
float
);
74
vtkGetMacro( PixelScale,
float
);
76
77
protected
:
78
vtkRayCastImageDisplayHelper
();
79
~
vtkRayCastImageDisplayHelper
();
80
82
int
PreMultipliedColors
;
83
84
float
PixelScale
;
85
86
private
:
87
vtkRayCastImageDisplayHelper
(
const
vtkRayCastImageDisplayHelper
&);
// Not implemented.
88
void
operator=(
const
vtkRayCastImageDisplayHelper
&);
// Not implemented.
89
};
90
91
#endif
92
Generated on Sun Sep 9 2012 13:03:49 for VTK by
1.8.1.2