26 #ifndef __vtkMitkOpenGLVolumeTextureMapper3D_h
27 #define __vtkMitkOpenGLVolumeTextureMapper3D_h
33 #ifndef VTK_IMPLEMENT_MESA_CXX
34 #include "vtkOpenGL.h"
37 class vtkRenderWindow;
38 class vtkVolumeProperty;
46 void PrintSelf(ostream &os, vtkIndent indent)
override;
63 virtual void Render(vtkRenderer *ren, vtkVolume *vol)
override;
78 DEPRECATED(
void ReleaseGraphicsResources(vtkWindow *)
override);
94 void GetLightInformation(vtkRenderer *ren,
96 GLfloat lightDirection[2][4],
97 GLfloat lightDiffuseColor[2][4],
98 GLfloat lightSpecularColor[2][4],
99 GLfloat halfwayVector[2][4],
118 void Initialize(vtkRenderer *r);
120 virtual void RenderFP(vtkRenderer *ren, vtkVolume *vol);
122 void SetupOneIndependentTextures(vtkRenderer *ren, vtkVolume *vol);
123 void RenderOneIndependentShadeFP(vtkRenderer *ren, vtkVolume *vol);
125 void SetupRGBATextures(vtkRenderer *ren, vtkVolume *vol);
126 void RenderRGBAShadeFP(vtkRenderer *ren, vtkVolume *vol);
128 void DeleteTextureIndex(GLuint *index);
129 void CreateTextureIndex(GLuint *index);
131 void RenderPolygons(vtkRenderer *ren, vtkVolume *vol,
int stages[4]);
133 void SetupProgramLocalsForShadingFP(vtkRenderer *ren, vtkVolume *vol);
135 void Setup3DTextureParameters(
bool linear);
137 void ComputeVolumeDimensions();
139 bool UpdateVolumes(vtkVolume *);
141 bool UpdateVolumesRGBA(vtkVolume *);
#define MITKMAPPEREXT_EXPORT
Organizes the rendering process.
virtual void Render(vtkRenderer *, vtkVolume *) override
GLuint prgOneComponentShade
vtkTypeMacro(vtkMitkVolumeTextureMapper3D, vtkVolumeMapper)
bool SupportsCompressedTexture
vtkRenderWindow * RenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int IsRenderSupported(vtkRenderer *, vtkVolumeProperty *)=0
vtkGetMacro(SampleDistance, float)
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.