VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
Volume
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 "vtkRenderingVolumeModule.h"
// For export macro
31
#include "
vtkObject.h
"
32
33
class
vtkVolume
;
34
class
vtkRenderer
;
35
class
vtkFixedPointRayCastImage
;
36
37
class
VTKRENDERINGVOLUME_EXPORT
vtkRayCastImageDisplayHelper
:
public
vtkObject
38
{
39
public
:
40
static
vtkRayCastImageDisplayHelper
*
New
();
41
vtkTypeMacro(
vtkRayCastImageDisplayHelper
,
vtkObject
);
42
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
43
44
virtual
void
RenderTexture(
vtkVolume
*vol,
vtkRenderer
*ren,
45
int
imageMemorySize[2],
46
int
imageViewportSize[2],
47
int
imageInUseSize[2],
48
int
imageOrigin[2],
49
float
requestedDepth,
50
unsigned
char
*
image
) = 0;
51
52
virtual
void
RenderTexture(
vtkVolume
*vol,
vtkRenderer
*ren,
53
int
imageMemorySize[2],
54
int
imageViewportSize[2],
55
int
imageInUseSize[2],
56
int
imageOrigin[2],
57
float
requestedDepth,
58
unsigned
short
*
image
) = 0;
59
60
virtual
void
RenderTexture(
vtkVolume
*vol,
vtkRenderer
*ren,
61
vtkFixedPointRayCastImage
*
image
,
62
float
requestedDepth ) = 0;
63
64
vtkSetClampMacro( PreMultipliedColors,
int
, 0, 1 );
65
vtkGetMacro( PreMultipliedColors,
int
);
66
vtkBooleanMacro( PreMultipliedColors,
int
);
67
68
70
74
vtkSetMacro( PixelScale,
float
);
75
vtkGetMacro( PixelScale,
float
);
77
78
protected
:
79
vtkRayCastImageDisplayHelper
();
80
~
vtkRayCastImageDisplayHelper
();
81
83
int
PreMultipliedColors
;
84
85
float
PixelScale
;
86
87
private
:
88
vtkRayCastImageDisplayHelper
(
const
vtkRayCastImageDisplayHelper
&);
// Not implemented.
89
void
operator=(
const
vtkRayCastImageDisplayHelper
&);
// Not implemented.
90
};
91
92
#endif
93
Generated on Thu May 24 2012 22:22:37 for VTK by
1.8.1