29 #ifndef vtkGPUVolumeRayCastMapper_h 30 #define vtkGPUVolumeRayCastMapper_h 142 double viewDirection[3],
166 enum { BinaryMaskType = 0, LabelMapMaskType };
174 void SetMaskTypeToBinary();
175 void SetMaskTypeToLabelMap();
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);
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
#define vtkGetMacro(name, type)
abstract specification for renderers
#define vtkSetClampMacro(name, type, min, max)
vtkIdType MaxMemoryInBytes
#define vtkTypeMacro(thisClass, superclass)
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
#define vtkGetObjectMacro(name, type)
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()
#define vtkBooleanMacro(name, type)
Ray casting performed on the GPU.
vtkImageData * CanonicalViewImageData
int AutoAdjustSampleDistances
#define vtkSetMacro(name, type)