VTK
|
OpenGL subclass that draws the image to the screen. More...
#include <vtkOpenGLRayCastImageDisplayHelper.h>
Public Types | |
typedef vtkRayCastImageDisplayHelper | Superclass |
typedef vtkRayCastImageDisplayHelper | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkOpenGLRayCastImageDisplayHelper * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | RenderTexture (vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned char *image) |
void | RenderTexture (vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned short *image) |
void | RenderTexture (vtkVolume *vol, vtkRenderer *ren, vtkFixedPointRayCastImage *image, float requestedDepth) |
virtual int | IsA (const char *type) |
vtkOpenGLRayCastImageDisplayHelper * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | RenderTexture (vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned char *image) |
void | RenderTexture (vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, unsigned short *image) |
void | RenderTexture (vtkVolume *vol, vtkRenderer *ren, vtkFixedPointRayCastImage *image, float requestedDepth) |
virtual void | ReleaseGraphicsResources (vtkWindow *win) |
Static Public Member Functions | |
static vtkOpenGLRayCastImageDisplayHelper * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLRayCastImageDisplayHelper * | SafeDownCast (vtkObjectBase *o) |
static vtkOpenGLRayCastImageDisplayHelper * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLRayCastImageDisplayHelper * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkOpenGLRayCastImageDisplayHelper () | |
~vtkOpenGLRayCastImageDisplayHelper () | |
void | RenderTextureInternal (vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, int imageScalarType, void *image) |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkOpenGLRayCastImageDisplayHelper () | |
~vtkOpenGLRayCastImageDisplayHelper () | |
void | RenderTextureInternal (vtkVolume *vol, vtkRenderer *ren, int imageMemorySize[2], int imageViewportSize[2], int imageInUseSize[2], int imageOrigin[2], float requestedDepth, int imageScalarType, void *image) |
Protected Attributes | |
vtkActor * | TextureActor |
vtkOpenGLTexture * | Texture |
vtkTextureObject * | TextureObject |
OpenGL subclass that draws the image to the screen.
This is the concrete implementation of a ray cast image display helper - a helper class responsible for drawing the image to the screen.
Definition at line 36 of file vtkOpenGLRayCastImageDisplayHelper.h.
Reimplemented from vtkRayCastImageDisplayHelper.
Definition at line 41 of file vtkOpenGLRayCastImageDisplayHelper.h.
Reimplemented from vtkRayCastImageDisplayHelper.
Definition at line 45 of file vtkOpenGLRayCastImageDisplayHelper.h.
static vtkOpenGLRayCastImageDisplayHelper* vtkOpenGLRayCastImageDisplayHelper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRayCastImageDisplayHelper.
static int vtkOpenGLRayCastImageDisplayHelper::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkRayCastImageDisplayHelper.
virtual int vtkOpenGLRayCastImageDisplayHelper::IsA | ( | const char * | name | ) | [virtual] |
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 vtkRayCastImageDisplayHelper.
static vtkOpenGLRayCastImageDisplayHelper* vtkOpenGLRayCastImageDisplayHelper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkRayCastImageDisplayHelper.
virtual vtkObjectBase* vtkOpenGLRayCastImageDisplayHelper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkRayCastImageDisplayHelper.
Reimplemented from vtkRayCastImageDisplayHelper.
virtual void vtkOpenGLRayCastImageDisplayHelper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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 vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTexture | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
int | imageMemorySize[2], | ||
int | imageViewportSize[2], | ||
int | imageInUseSize[2], | ||
int | imageOrigin[2], | ||
float | requestedDepth, | ||
unsigned char * | image | ||
) | [virtual] |
Implements vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTexture | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
int | imageMemorySize[2], | ||
int | imageViewportSize[2], | ||
int | imageInUseSize[2], | ||
int | imageOrigin[2], | ||
float | requestedDepth, | ||
unsigned short * | image | ||
) | [virtual] |
Implements vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTexture | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
vtkFixedPointRayCastImage * | image, | ||
float | requestedDepth | ||
) | [virtual] |
Implements vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTextureInternal | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
int | imageMemorySize[2], | ||
int | imageViewportSize[2], | ||
int | imageInUseSize[2], | ||
int | imageOrigin[2], | ||
float | requestedDepth, | ||
int | imageScalarType, | ||
void * | image | ||
) | [protected] |
static vtkOpenGLRayCastImageDisplayHelper* vtkOpenGLRayCastImageDisplayHelper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRayCastImageDisplayHelper.
static int vtkOpenGLRayCastImageDisplayHelper::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkRayCastImageDisplayHelper.
virtual int vtkOpenGLRayCastImageDisplayHelper::IsA | ( | const char * | name | ) | [virtual] |
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 vtkRayCastImageDisplayHelper.
static vtkOpenGLRayCastImageDisplayHelper* vtkOpenGLRayCastImageDisplayHelper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkRayCastImageDisplayHelper.
virtual vtkObjectBase* vtkOpenGLRayCastImageDisplayHelper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkRayCastImageDisplayHelper.
Reimplemented from vtkRayCastImageDisplayHelper.
virtual void vtkOpenGLRayCastImageDisplayHelper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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 vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTexture | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
int | imageMemorySize[2], | ||
int | imageViewportSize[2], | ||
int | imageInUseSize[2], | ||
int | imageOrigin[2], | ||
float | requestedDepth, | ||
unsigned char * | image | ||
) | [virtual] |
Implements vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTexture | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
int | imageMemorySize[2], | ||
int | imageViewportSize[2], | ||
int | imageInUseSize[2], | ||
int | imageOrigin[2], | ||
float | requestedDepth, | ||
unsigned short * | image | ||
) | [virtual] |
Implements vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTexture | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
vtkFixedPointRayCastImage * | image, | ||
float | requestedDepth | ||
) | [virtual] |
Implements vtkRayCastImageDisplayHelper.
virtual void vtkOpenGLRayCastImageDisplayHelper::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Derived class should implemen this if needed
Reimplemented from vtkRayCastImageDisplayHelper.
void vtkOpenGLRayCastImageDisplayHelper::RenderTextureInternal | ( | vtkVolume * | vol, |
vtkRenderer * | ren, | ||
int | imageMemorySize[2], | ||
int | imageViewportSize[2], | ||
int | imageInUseSize[2], | ||
int | imageOrigin[2], | ||
float | requestedDepth, | ||
int | imageScalarType, | ||
void * | image | ||
) | [protected] |
vtkActor* vtkOpenGLRayCastImageDisplayHelper::TextureActor [protected] |
Definition at line 83 of file vtkOpenGLRayCastImageDisplayHelper.h.
Definition at line 84 of file vtkOpenGLRayCastImageDisplayHelper.h.
Definition at line 85 of file vtkOpenGLRayCastImageDisplayHelper.h.