VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkOpenGLImageActor Class Reference

OpenGL texture map. More...

#include <vtkOpenGLImageActor.h>

Inheritance diagram for vtkOpenGLImageActor:
[legend]
Collaboration diagram for vtkOpenGLImageActor:
[legend]

List of all members.

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]
int TextureBytesPerPixel

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.


Member Typedef Documentation

Reimplemented from vtkImageActor.

Definition at line 35 of file vtkOpenGLImageActor.h.


Constructor & Destructor Documentation


Member Function Documentation

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageActor.

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.

Implement base class method.

void vtkOpenGLImageActor::Render ( vtkRenderer ren) [virtual]

Implement base class method.

Reimplemented from vtkImageActor.

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.

Definition at line 63 of file vtkOpenGLImageActor.h.


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