75 #ifndef __vtkMitkVolumeTextureMapper3D_h
76 #define __vtkMitkVolumeTextureMapper3D_h
79 #include "vtkVolumeMapper.h"
82 class vtkColorTransferFunction;
83 class vtkPiecewiseFunction;
84 class vtkVolumeProperty;
92 void PrintSelf(ostream &os, vtkIndent indent)
override;
101 vtkSetMacro(SampleDistance,
float);
102 vtkGetMacro(SampleDistance,
float);
106 vtkGetVectorMacro(VolumeDimensions,
int, 3);
110 vtkGetVectorMacro(VolumeSpacing,
float, 3);
117 virtual int IsRenderSupported(vtkRenderer *, vtkVolumeProperty *) = 0;
122 vtkGetMacro(NumberOfPolygons,
int);
127 vtkGetMacro(ActualSampleDistance,
float);
135 virtual void Render(vtkRenderer *, vtkVolume *)
override{};
144 vtkSetMacro(UseCompressedTexture,
bool);
145 vtkGetMacro(UseCompressedTexture,
bool);
168 int VolumeDimensions[3];
169 float VolumeSpacing[3];
185 unsigned char ColorLookup[65536 * 4];
186 unsigned char AlphaLookup[65536];
187 float TempArray1[3 * 4096];
188 float TempArray2[4096];
193 unsigned char DiffuseLookup[65536 * 4];
194 unsigned char SpecularLookup[65536 * 4];
205 void ComputePolygons(vtkRenderer *ren, vtkVolume *vol,
double bounds[6]);
210 int UpdateColorLookup(vtkVolume *);
bool SupportsNonPowerOfTwoTextures
#define MITKMAPPEREXT_EXPORT
vtkTimeStamp SavedParametersMTime
virtual void Render(vtkRenderer *, vtkVolume *) override
float ActualSampleDistance
vtkColorTransferFunction * SavedRGBFunction
vtkImageData * SavedTextureInput
vtkTimeStamp SavedTextureMTime
vtkPiecewiseFunction * SavedGrayFunction
float SavedScalarOpacityDistance
float * IntersectionBuffer
virtual int IsTextureSizeSupported(int vtkNotUsed(size)[3], int vtkNotUsed(components))
bool UseCompressedTexture
vtkImageData * SavedParametersInput
vtkPiecewiseFunction * SavedGradientOpacityFunction
vtkPiecewiseFunction * SavedScalarOpacityFunction
float SavedSampleDistance