83 #ifndef vtkVolumeTextureMapper3D_h
84 #define vtkVolumeTextureMapper3D_h
86 #include "vtkRenderingVolumeModule.h"
93 #if !defined(VTK_LEGACY_REMOVE)
110 vtkGetMacro( SampleDistance,
float );
117 vtkGetVectorMacro( VolumeDimensions,
int, 3 );
124 vtkGetVectorMacro( VolumeSpacing,
float, 3 );
142 vtkGetMacro( NumberOfPolygons,
int );
150 vtkGetMacro( ActualSampleDistance,
float );
165 FRAGMENT_PROGRAM_METHOD=0,
182 vtkSetClampMacro( PreferredRenderMethod,
int,
189 vtkGetMacro(PreferredRenderMethod,
int);
203 vtkGetMacro(UseCompressedTexture,
bool);
220 int VolumeDimensions[3];
221 float VolumeSpacing[3];
237 unsigned char ColorLookup[65536*4];
238 unsigned char AlphaLookup[65536];
239 float TempArray1[3*4096];
240 float TempArray2[4096];
245 unsigned char DiffuseLookup[65536*4];
246 unsigned char SpecularLookup[65536*4];
276 int vtkNotUsed(components))
286 #endif // VTK_LEGACY_REMOVE
represents a volume (data & properties) in a rendered scene
Abstract class for a volume mapper.
volume render with 3D texture mapping
bool SupportsNonPowerOfTwoTextures
vtkPiecewiseFunction * SavedScalarOpacityFunction
Defines a 1D piecewise function.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkColorTransferFunction * SavedRGBFunction
record modification and/or execution time
virtual int IsRenderSupported(vtkVolumeProperty *, vtkRenderer *vtkNotUsed(r))
Based on hardware and properties, we may or may not be able to render using 3D texture mapping...
vtkImageData * SavedParametersInput
vtkTimeStamp SavedParametersMTime
abstract specification for renderers
virtual void Render(vtkRenderer *, vtkVolume *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
void SetPreferredMethodToFragmentProgram()
Set the preferred render method.
vtkPiecewiseFunction * SavedGradientOpacityFunction
a simple class to control print indentation
topologically and geometrically regular array of data
int PreferredRenderMethod
float SavedSampleDistance
float ActualSampleDistance
represents the common properties for rendering a volume.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkPiecewiseFunction * SavedGrayFunction
vtkTimeStamp SavedTextureMTime
Defines a transfer function for mapping a property to an RGB color value.
float * IntersectionBuffer
vtkImageData * SavedTextureInput
virtual int IsTextureSizeSupported(int vtkNotUsed(size)[3], int vtkNotUsed(components))
Impemented in subclass - check is texture size is OK.
bool UseCompressedTexture
static vtkAlgorithm * New()
void SetPreferredMethodToNVidia()
Set the preferred render method.
float SavedScalarOpacityDistance