vtkOpenGLImageActor Class Reference

#include <vtkOpenGLImageActor.h>

Inheritance diagram for vtkOpenGLImageActor:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLImageActor:

Collaboration graph
[legend]

List of all members.


Detailed Description

OpenGL texture map.

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 vtkOpenGLImageActorNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLImageActorSafeDownCast (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
vtkRenderWindowRenderWindow
double Coords [12]
double TCoords [8]
int TextureSize [2]

Member Typedef Documentation

Reimplemented from vtkImageActor.

Definition at line 35 of file vtkOpenGLImageActor.h.


Constructor & Destructor Documentation

vtkOpenGLImageActor::vtkOpenGLImageActor (  )  [protected]

vtkOpenGLImageActor::~vtkOpenGLImageActor (  )  [protected]


Member Function Documentation

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]


Member Data Documentation

Definition at line 57 of file vtkOpenGLImageActor.h.

long vtkOpenGLImageActor::Index [protected]

Definition at line 58 of file vtkOpenGLImageActor.h.

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.

Definition at line 62 of file vtkOpenGLImageActor.h.


The documentation for this class was generated from the following file:

Generated on Sat Dec 27 13:39:22 2008 for VTK by  doxygen 1.5.6