36 #ifndef vtkVolumeRayCastCompositeFunction_h
37 #define vtkVolumeRayCastCompositeFunction_h
39 #include "vtkRenderingVolumeModule.h"
42 #if !defined(VTK_LEGACY_REMOVE)
43 #define VTK_COMPOSITE_CLASSIFY_FIRST 0
44 #define VTK_COMPOSITE_INTERPOLATE_FIRST 1
57 vtkSetClampMacro( CompositeMethod,
int,
59 vtkGetMacro(CompositeMethod,
int);
a simple class to control print indentation
abstract specification for renderers
a ray function for compositing
void SpecificFunctionInitialize(vtkRenderer *ren, vtkVolume *vol, vtkVolumeRayCastStaticInfo *staticInfo, vtkVolumeRayCastMapper *mapper)
This method gives the subclass a chance to do any special initialization that it may need to do.
void CastRay(vtkVolumeRayCastDynamicInfo *dynamicInfo, vtkVolumeRayCastStaticInfo *staticInfo)
float GetZeroOpacityThreshold(vtkVolume *vol)
Get the value below which all scalar values are considered to have 0 opacity.
void SetCompositeMethodToInterpolateFirst()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetCompositeMethodToClassifyFirst()
static vtkVolumeRayCastCompositeFunction * New()
vtkVolumeRayCastCompositeFunction()
const char * GetCompositeMethodAsString(void)
~vtkVolumeRayCastCompositeFunction()
a superclass for ray casting functions
A slow but accurate mapper for rendering volumes.
represents a volume (data & properties) in a rendered scene
#define VTK_COMPOSITE_CLASSIFY_FIRST
#define VTK_COMPOSITE_INTERPOLATE_FIRST