33 #ifndef vtkVolumeTextureMapper2D_h
34 #define vtkVolumeTextureMapper2D_h
36 #include "vtkRenderingVolumeModule.h"
39 #if !defined(VTK_LEGACY_REMOVE)
56 vtkSetVector2Macro( TargetTextureSize,
int );
57 vtkGetVector2Macro( TargetTextureSize,
int );
69 vtkGetMacro( MaximumNumberOfPlanes,
int );
80 vtkGetMacro( MaximumStorageSize,
int );
91 float *vtkNotUsed(v),
float *vtkNotUsed(t),
92 unsigned char *vtkNotUsed(texture),
93 int vtkNotUsed(
size)[2],
94 int vtkNotUsed(reverseFlag)) {}
120 int TargetTextureSize[2];
131 int AxisTextureSize[3][3];
a simple class to control print indentation
abstract specification for renderers
record modification and/or execution time
Abstract class for a volume mapper.
unsigned char * GetTexture()
vtkVolumeTextureMapper2D()
void InitializeRender(vtkRenderer *ren, vtkVolume *vol, int majorDirection)
virtual void RenderQuads(int vtkNotUsed(count), float *vtkNotUsed(v), float *vtkNotUsed(t), unsigned char *vtkNotUsed(texture), int vtkNotUsed(size)[2], int vtkNotUsed(reverseFlag))
void InitializeRender(vtkRenderer *ren, vtkVolume *vol)
static vtkVolumeTextureMapper2D * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
~vtkVolumeTextureMapper2D()
int * GetAxisTextureSize()
void GenerateTexturesAndRenderQuads(vtkRenderer *ren, vtkVolume *vol)
void ComputeAxisTextureSize(int axis, int *size)
vtkTimeStamp TextureMTime
int MaximumNumberOfPlanes
int GetInternalSkipFactor()
Made public only for access from the templated method.
void RenderSavedTexture()
virtual void Render(vtkRenderer *, vtkVolume *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
Abstract class for a volume mapper.
void InitializeRender(vtkRenderer *ren, vtkVolume *vol)
represents a volume (data & properties) in a rendered scene
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.