Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <vtkMitkVolumeTextureMapper3D.h>
Public Member Functions | |
vtkTypeMacro (vtkMitkVolumeTextureMapper3D, vtkVolumeMapper) | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
vtkSetMacro (SampleDistance, float) | |
vtkGetMacro (SampleDistance, float) | |
vtkGetVectorMacro (VolumeDimensions, int, 3) | |
vtkGetVectorMacro (VolumeSpacing, float, 3) | |
virtual int | IsRenderSupported (vtkRenderer *, vtkVolumeProperty *)=0 |
vtkGetMacro (NumberOfPolygons, int) | |
vtkGetMacro (ActualSampleDistance, float) | |
virtual void | Render (vtkRenderer *, vtkVolume *) override |
vtkSetMacro (UseCompressedTexture, bool) | |
vtkGetMacro (UseCompressedTexture, bool) | |
void | UpdateMTime () |
Protected Member Functions | |
vtkMitkVolumeTextureMapper3D () | |
~vtkMitkVolumeTextureMapper3D () | |
void | ComputePolygons (vtkRenderer *ren, vtkVolume *vol, double bounds[6]) |
int | UpdateColorLookup (vtkVolume *) |
virtual int | IsTextureSizeSupported (int vtkNotUsed(size)[3], int vtkNotUsed(components)) |
Protected Attributes | |
float * | PolygonBuffer |
float * | IntersectionBuffer |
int | NumberOfPolygons |
int | BufferSize |
int | VolumeDimensions [3] |
float | VolumeSpacing [3] |
float | SampleDistance |
float | ActualSampleDistance |
vtkImageData * | SavedTextureInput |
vtkImageData * | SavedParametersInput |
vtkColorTransferFunction * | SavedRGBFunction |
vtkPiecewiseFunction * | SavedGrayFunction |
vtkPiecewiseFunction * | SavedScalarOpacityFunction |
vtkPiecewiseFunction * | SavedGradientOpacityFunction |
int | SavedColorChannels |
float | SavedSampleDistance |
float | SavedScalarOpacityDistance |
unsigned char | ColorLookup [65536 *4] |
unsigned char | AlphaLookup [65536] |
float | TempArray1 [3 *4096] |
float | TempArray2 [4096] |
int | ColorTableSize |
float | ColorTableScale |
float | ColorTableOffset |
unsigned char | DiffuseLookup [65536 *4] |
unsigned char | SpecularLookup [65536 *4] |
vtkTimeStamp | SavedTextureMTime |
vtkTimeStamp | SavedParametersMTime |
bool | UseCompressedTexture |
bool | SupportsNonPowerOfTwoTextures |
Definition at line 88 of file vtkMitkVolumeTextureMapper3D.h.
|
protected |
Definition at line 42 of file vtkMitkVolumeTextureMapper3D.cpp.
References ActualSampleDistance, BufferSize, IntersectionBuffer, NumberOfPolygons, PolygonBuffer, SampleDistance, SavedColorChannels, SavedGradientOpacityFunction, SavedGrayFunction, SavedParametersInput, SavedRGBFunction, SavedSampleDistance, SavedScalarOpacityDistance, SavedScalarOpacityFunction, SavedTextureInput, SupportsNonPowerOfTwoTextures, UseCompressedTexture, VolumeDimensions, and VolumeSpacing.
|
protected |
Definition at line 90 of file vtkMitkVolumeTextureMapper3D.cpp.
References IntersectionBuffer, and PolygonBuffer.
|
protected |
Definition at line 115 of file vtkMitkVolumeTextureMapper3D.cpp.
References ActualSampleDistance, BufferSize, IntersectionBuffer, line, mitk::New(), Normalize(), NumberOfPolygons, offset, and PolygonBuffer.
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::RenderPolygons().
|
pure virtual |
Implemented in vtkMitkOpenGLVolumeTextureMapper3D.
|
inlineprotectedvirtual |
Definition at line 215 of file vtkMitkVolumeTextureMapper3D.h.
|
override |
Definition at line 696 of file vtkMitkVolumeTextureMapper3D.cpp.
References ActualSampleDistance, NumberOfPolygons, SampleDistance, UseCompressedTexture, VolumeDimensions, and VolumeSpacing.
|
inlineoverridevirtual |
Reimplemented in vtkMitkOpenGLVolumeTextureMapper3D.
Definition at line 135 of file vtkMitkVolumeTextureMapper3D.h.
|
protected |
Definition at line 424 of file vtkMitkVolumeTextureMapper3D.cpp.
References ActualSampleDistance, AlphaLookup, ColorLookup, ColorTableSize, SampleDistance, SavedColorChannels, SavedGradientOpacityFunction, SavedGrayFunction, SavedParametersInput, SavedParametersMTime, SavedRGBFunction, SavedSampleDistance, SavedScalarOpacityDistance, SavedScalarOpacityFunction, TempArray1, TempArray2, and Update().
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::SetupOneIndependentTextures().
void vtkMitkVolumeTextureMapper3D::UpdateMTime | ( | ) |
Definition at line 418 of file vtkMitkVolumeTextureMapper3D.cpp.
References SavedTextureMTime.
vtkMitkVolumeTextureMapper3D::vtkGetMacro | ( | SampleDistance | , |
float | |||
) |
vtkMitkVolumeTextureMapper3D::vtkGetMacro | ( | NumberOfPolygons | , |
int | |||
) |
vtkMitkVolumeTextureMapper3D::vtkGetMacro | ( | ActualSampleDistance | , |
float | |||
) |
vtkMitkVolumeTextureMapper3D::vtkGetMacro | ( | UseCompressedTexture | , |
bool | |||
) |
vtkMitkVolumeTextureMapper3D::vtkGetVectorMacro | ( | VolumeDimensions | , |
int | , | ||
3 | |||
) |
vtkMitkVolumeTextureMapper3D::vtkGetVectorMacro | ( | VolumeSpacing | , |
float | , | ||
3 | |||
) |
vtkMitkVolumeTextureMapper3D::vtkSetMacro | ( | SampleDistance | , |
float | |||
) |
vtkMitkVolumeTextureMapper3D::vtkSetMacro | ( | UseCompressedTexture | , |
bool | |||
) |
vtkMitkVolumeTextureMapper3D::vtkTypeMacro | ( | vtkMitkVolumeTextureMapper3D | , |
vtkVolumeMapper | |||
) |
|
protected |
Definition at line 172 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by ComputePolygons(), PrintSelf(), UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 186 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup().
|
protected |
Definition at line 156 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by ComputePolygons(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 185 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::SetupOneIndependentTextures(), and UpdateColorLookup().
|
protected |
Definition at line 191 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumes().
|
protected |
Definition at line 190 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumes().
|
protected |
Definition at line 189 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumes().
|
protected |
Definition at line 193 of file vtkMitkVolumeTextureMapper3D.h.
|
protected |
Definition at line 154 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by ComputePolygons(), vtkMitkVolumeTextureMapper3D(), and ~vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 155 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by ComputePolygons(), PrintSelf(), vtkMitkOpenGLVolumeTextureMapper3D::RenderPolygons(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 153 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by ComputePolygons(), vtkMitkOpenGLVolumeTextureMapper3D::RenderPolygons(), vtkMitkVolumeTextureMapper3D(), and ~vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 171 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by PrintSelf(), UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 181 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 180 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 178 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 175 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 197 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup().
|
protected |
Definition at line 177 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 182 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 183 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 179 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 174 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumes(), vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumesRGBA(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 196 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateMTime(), vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumes(), and vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumesRGBA().
|
protected |
Definition at line 194 of file vtkMitkVolumeTextureMapper3D.h.
|
protected |
|
protected |
Definition at line 187 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup().
|
protected |
Definition at line 188 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by UpdateColorLookup().
|
protected |
Definition at line 199 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by PrintSelf(), vtkMitkOpenGLVolumeTextureMapper3D::SetupOneIndependentTextures(), vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumes(), vtkMitkOpenGLVolumeTextureMapper3D::UpdateVolumesRGBA(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 168 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::ComputeVolumeDimensions(), PrintSelf(), and vtkMitkVolumeTextureMapper3D().
|
protected |
Definition at line 169 of file vtkMitkVolumeTextureMapper3D.h.
Referenced by vtkMitkOpenGLVolumeTextureMapper3D::ComputeVolumeDimensions(), PrintSelf(), and vtkMitkVolumeTextureMapper3D().