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);
211 virtual void GetReductionRatio(
double ratio[3])=0;
230 double datasetBounds[6],
231 double scalarRange[2],
232 int numberOfScalarComponents,
233 unsigned int numberOfLevels)=0;
238 unsigned int level)=0;
241 int numberOfScalarComponents)=0;
245 void SetCellFlag(
int cellFlag);
274 vtkSetClampMacro(AMRMode,
int,0,1);
275 vtkGetMacro(AMRMode,
int);
276 vtkBooleanMacro(AMRMode,
int);
291 virtual void ClipCroppingRegionPlanes();
293 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)
#define VTKRENDERINGVOLUME_EXPORT
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