#include <vtkOpenGLImageActor.h>
vtkOpenGLImageActor is a concrete implementation of the abstract class vtkImageActor. vtkOpenGLImageActor interfaces to the OpenGL rendering library.
Definition at line 31 of file vtkOpenGLImageActor.h.
Public Types | |
typedef vtkImageActor | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | Load (vtkRenderer *ren) |
void | Render (vtkRenderer *ren) |
void | ReleaseGraphicsResources (vtkWindow *) |
Static Public Member Functions | |
static vtkOpenGLImageActor * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLImageActor * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkOpenGLImageActor () | |
~vtkOpenGLImageActor () | |
unsigned char * | MakeDataSuitable (int &xsize, int &ysize, int &release, int &reuseTexture) |
void | InternalRender (vtkRenderer *ren) |
int | TextureSizeOK (int size[2]) |
Protected Attributes | |
vtkTimeStamp | LoadTime |
long | Index |
vtkRenderWindow * | RenderWindow |
double | Coords [12] |
double | TCoords [8] |
int | TextureSize [2] |
vtkOpenGLImageActor::vtkOpenGLImageActor | ( | ) | [protected] |
vtkOpenGLImageActor::~vtkOpenGLImageActor | ( | ) | [protected] |
static vtkOpenGLImageActor* vtkOpenGLImageActor::New | ( | ) | [static] |
Instantiate the image actor.
Reimplemented from vtkImageActor.
virtual const char* vtkOpenGLImageActor::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkImageActor.
static int vtkOpenGLImageActor::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageActor.
virtual int vtkOpenGLImageActor::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkImageActor.
static vtkOpenGLImageActor* vtkOpenGLImageActor::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkImageActor.
virtual void vtkOpenGLImageActor::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 vtkImageActor.
void vtkOpenGLImageActor::Load | ( | vtkRenderer * | ren | ) |
Implement base class method.
void vtkOpenGLImageActor::Render | ( | vtkRenderer * | ren | ) | [virtual] |
Implement base class method.
Reimplemented from vtkImageActor.
void vtkOpenGLImageActor::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this texture. The parameter window could be used to determine which graphic resources to release. Using the same texture object in multiple render windows is NOT currently supported.
Reimplemented from vtkProp.
unsigned char* vtkOpenGLImageActor::MakeDataSuitable | ( | int & | xsize, | |
int & | ysize, | |||
int & | release, | |||
int & | reuseTexture | |||
) | [protected] |
void vtkOpenGLImageActor::InternalRender | ( | vtkRenderer * | ren | ) | [protected] |
int vtkOpenGLImageActor::TextureSizeOK | ( | int | size[2] | ) | [protected] |
vtkTimeStamp vtkOpenGLImageActor::LoadTime [protected] |
Definition at line 57 of file vtkOpenGLImageActor.h.
long vtkOpenGLImageActor::Index [protected] |
Definition at line 58 of file vtkOpenGLImageActor.h.
vtkRenderWindow* vtkOpenGLImageActor::RenderWindow [protected] |
Definition at line 59 of file vtkOpenGLImageActor.h.
double vtkOpenGLImageActor::Coords[12] [protected] |
Definition at line 60 of file vtkOpenGLImageActor.h.
double vtkOpenGLImageActor::TCoords[8] [protected] |
Definition at line 61 of file vtkOpenGLImageActor.h.
int vtkOpenGLImageActor::TextureSize[2] [protected] |
Definition at line 62 of file vtkOpenGLImageActor.h.