29 #ifndef vtkGPUVolumeRayCastMapper_h
30 #define vtkGPUVolumeRayCastMapper_h
51 vtkSetClampMacro( AutoAdjustSampleDistances,
int, 0, 1 );
52 vtkGetMacro( AutoAdjustSampleDistances,
int );
53 vtkBooleanMacro( AutoAdjustSampleDistances,
int );
60 vtkSetMacro( SampleDistance,
float );
61 vtkGetMacro( SampleDistance,
float );
70 vtkSetClampMacro( ImageSampleDistance,
float, 0.1f, 100.0f );
71 vtkGetMacro( ImageSampleDistance,
float );
77 vtkSetClampMacro( MinimumImageSampleDistance,
float, 0.1f, 100.0f );
78 vtkGetMacro( MinimumImageSampleDistance,
float );
84 vtkSetClampMacro( MaximumImageSampleDistance,
float, 0.1f, 100.0f );
85 vtkGetMacro( MaximumImageSampleDistance,
float );
96 vtkSetMacro( FinalColorWindow,
float );
97 vtkGetMacro( FinalColorWindow,
float );
98 vtkSetMacro( FinalColorLevel,
float );
99 vtkGetMacro( FinalColorLevel,
float );
105 vtkSetMacro( MaxMemoryInBytes,
vtkIdType );
106 vtkGetMacro( MaxMemoryInBytes,
vtkIdType );
112 vtkSetClampMacro( MaxMemoryFraction,
float, 0.1f, 1.0f );
113 vtkGetMacro( MaxMemoryFraction,
float );
122 vtkSetMacro(ReportProgress,
bool);
123 vtkGetMacro(ReportProgress,
bool);
142 double viewDirection[3],
166 enum { BinaryMaskType = 0, LabelMapMaskType };
172 vtkSetMacro( MaskType,
int );
173 vtkGetMacro( MaskType,
int );
174 void SetMaskTypeToBinary();
175 void SetMaskTypeToLabelMap();
184 vtkSetClampMacro(MaskBlendFactor,
float,0.0f,1.0f);
185 vtkGetMacro(MaskBlendFactor,
float);
193 vtkSetMacro(RenderToImage,
int);
194 vtkGetMacro(RenderToImage,
int);
195 vtkBooleanMacro(RenderToImage,
int);
231 virtual void GetReductionRatio(
double ratio[3])=0;
250 double datasetBounds[6],
251 double scalarRange[2],
252 int numberOfScalarComponents,
253 unsigned int numberOfLevels)=0;
258 unsigned int level)=0;
261 int numberOfScalarComponents)=0;
265 void SetCellFlag(
int cellFlag);
292 vtkSetClampMacro(AMRMode,
int,0,1);
293 vtkGetMacro(AMRMode,
int);
294 vtkBooleanMacro(AMRMode,
int);
315 virtual void ClipCroppingRegionPlanes();
317 double ClippedCroppingRegionPlanes[6];
virtual void GPURender(vtkRenderer *, vtkVolume *)
represents a volume (data & properties) in a rendered scene
Abstract class for a volume mapper.
vtkImageData * TransformedInput
void PrintSelf(ostream &os, vtkIndent indent)
virtual void GetDepthImage(vtkImageData *)
#define VTKRENDERINGVOLUME_EXPORT
virtual void GetColorImage(vtkImageData *)
abstract specification for renderers
vtkIdType MaxMemoryInBytes
window superclass for vtkRenderWindow
a simple class to control print indentation
float ImageSampleDistance
topologically and geometrically regular array of data
float MaximumImageSampleDistance
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
represents the common properties for rendering a volume.
virtual int IsRenderSupported(vtkRenderWindow *vtkNotUsed(window), vtkVolumeProperty *vtkNotUsed(property))
create a window for renderers to draw into
int GeneratingCanonicalView
float MinimumImageSampleDistance
void ReleaseGraphicsResources(vtkWindow *)
static vtkAlgorithm * New()
Ray casting performed on the GPU.
vtkImageData * CanonicalViewImageData
int AutoAdjustSampleDistances