#include <vtkVolumeTextureMapper2D.h>
Inheritance diagram for vtkVolumeTextureMapper2D:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent index) |
virtual void | Render (vtkRenderer *, vtkVolume *) |
virtual void | RenderQuads (int vtkNotUsed(count), float *vtkNotUsed(v), float *vtkNotUsed(t), unsigned char *vtkNotUsed(texture), int vtkNotUsed(size)[2], int vtkNotUsed(reverseFlag)) |
int | GetInternalSkipFactor () |
int * | GetAxisTextureSize () |
int | GetSaveTextures () |
unsigned char * | GetTexture () |
virtual void | SetTargetTextureSize (int, int) |
void | SetTargetTextureSize (int[2]) |
virtual int * | GetTargetTextureSize () |
virtual void | GetTargetTextureSize (int &, int &) |
virtual void | GetTargetTextureSize (int[2]) |
virtual void | SetMaximumNumberOfPlanes (int) |
virtual int | GetMaximumNumberOfPlanes () |
virtual void | SetMaximumStorageSize (int) |
virtual int | GetMaximumStorageSize () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkVolumeTextureMapper2D * | SafeDownCast (vtkObject *o) |
vtkVolumeTextureMapper2D * | New () |
Protected Methods | |
vtkVolumeTextureMapper2D () | |
~vtkVolumeTextureMapper2D () | |
void | InitializeRender (vtkRenderer *ren, vtkVolume *vol) |
void | InitializeRender (vtkRenderer *ren, vtkVolume *vol, int majorDirection) |
void | GenerateTexturesAndRenderQuads (vtkRenderer *ren, vtkVolume *vol) |
void | ComputeAxisTextureSize (int axis, int *size) |
void | RenderSavedTexture () |
Protected Attributes | |
int | MajorDirection |
int | TargetTextureSize [2] |
int | MaximumNumberOfPlanes |
int | InternalSkipFactor |
int | MaximumStorageSize |
unsigned char * | Texture |
int | TextureSize |
int | SaveTextures |
vtkTimeStamp | TextureMTime |
int | AxisTextureSize [3][3] |
vtkVolumeTextureMapper2D renders a volume using 2D texture mapping.
Definition at line 64 of file vtkVolumeTextureMapper2D.h.
|
|
|
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkVolumeTextureMapper. Reimplemented in vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkVolumeTextureMapper. Reimplemented in vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkVolumeTextureMapper. Reimplemented in vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkVolumeTextureMapper. Reimplemented in vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkVolumeTextureMapper. Reimplemented in vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkProcessObject. Reimplemented in vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D. |
|
Target size in pixels of each size of the texture for downloading. Default is 512x512 - so a 512x512 texture will be tiled with as many slices of the volume as possible, then all the quads will be rendered. This can be set to optimize for a particular architecture. This must be set with numbers that are a power of two. |
|
Target size in pixels of each size of the texture for downloading. Default is 512x512 - so a 512x512 texture will be tiled with as many slices of the volume as possible, then all the quads will be rendered. This can be set to optimize for a particular architecture. This must be set with numbers that are a power of two. |
|
Target size in pixels of each size of the texture for downloading. Default is 512x512 - so a 512x512 texture will be tiled with as many slices of the volume as possible, then all the quads will be rendered. This can be set to optimize for a particular architecture. This must be set with numbers that are a power of two. |
|
Target size in pixels of each size of the texture for downloading. Default is 512x512 - so a 512x512 texture will be tiled with as many slices of the volume as possible, then all the quads will be rendered. This can be set to optimize for a particular architecture. This must be set with numbers that are a power of two. |
|
Target size in pixels of each size of the texture for downloading. Default is 512x512 - so a 512x512 texture will be tiled with as many slices of the volume as possible, then all the quads will be rendered. This can be set to optimize for a particular architecture. This must be set with numbers that are a power of two. |
|
This is the maximum number of planes that will be created for texture mapping the volume. If the volume has more voxels than this along the viewing direction, then planes of the volume will be skipped to ensure that this maximum is not violated. A skip factor is used, and is incremented until the maximum condition is satisfied. |
|
This is the maximum number of planes that will be created for texture mapping the volume. If the volume has more voxels than this along the viewing direction, then planes of the volume will be skipped to ensure that this maximum is not violated. A skip factor is used, and is incremented until the maximum condition is satisfied. |
|
This is the maximum size of saved textures in bytes. If this size is large enough to hold the RGBA textures for all three directions (XxYxZx3x4 is the approximate value - it is actually a bit larger due to wasted space in the textures) then the textures will be saved. |
|
This is the maximum size of saved textures in bytes. If this size is large enough to hold the RGBA textures for all three directions (XxYxZx3x4 is the approximate value - it is actually a bit larger due to wasted space in the textures) then the textures will be saved. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume Reimplemented from vtkVolumeTextureMapper. Reimplemented in vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D. Definition at line 105 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 107 of file vtkVolumeTextureMapper2D.h. |
|
Made public only for access from the templated method. Not a vtkGetMacro to avoid the PrintSelf defect. Definition at line 115 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 117 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 119 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 121 of file vtkVolumeTextureMapper2D.h. |
|
Reimplemented from vtkVolumeTextureMapper. Definition at line 130 of file vtkVolumeTextureMapper2D.h. |
|
|
|
|
|
|
|
|
|
Definition at line 137 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 138 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 140 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 141 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 142 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 144 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 145 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 146 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 147 of file vtkVolumeTextureMapper2D.h. |
|
Definition at line 149 of file vtkVolumeTextureMapper2D.h. |