Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkOpenGLTexture Class Reference

OpenGL texture map. More...

#include <vtkOpenGLTexture.h>

Inheritance diagram for vtkOpenGLTexture:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLTexture:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void Load (vtkRenderer *ren)
void ReleaseGraphicsResources (vtkWindow *)

Static Public Methods

vtkOpenGLTexture * New ()
int IsTypeOf (const char *type)
vtkOpenGLTexture * SafeDownCast (vtkObject *o)

Protected Methods

 vtkOpenGLTexture ()
 ~vtkOpenGLTexture ()
 vtkOpenGLTexture (const vtkOpenGLTexture &)
void operator= (const vtkOpenGLTexture &)
unsigned char * ResampleToPowerOfTwo (int &xsize, int &ysize, unsigned char *dptr, int bpp)

Protected Attributes

vtkTimeStamp LoadTime
long Index
vtkRenderWindowRenderWindow

Detailed Description

OpenGL texture map.

Date:
2000/12/10 20:08:45
Revision:
1.17

vtkOpenGLTexture is a concrete implementation of the abstract class vtkTexture. vtkOpenGLTexture interfaces to the OpenGL rendering library.

Definition at line 59 of file vtkOpenGLTexture.h.


Constructor & Destructor Documentation

vtkOpenGLTexture::vtkOpenGLTexture   [protected]
 

vtkOpenGLTexture::~vtkOpenGLTexture   [protected]
 

vtkOpenGLTexture::vtkOpenGLTexture const vtkOpenGLTexture &    [inline, protected]
 

Definition at line 77 of file vtkOpenGLTexture.h.


Member Function Documentation

vtkOpenGLTexture* vtkOpenGLTexture::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkTexture.

virtual const char* vtkOpenGLTexture::GetClassName   [virtual]
 

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 vtkTexture.

int vtkOpenGLTexture::IsTypeOf const char *    type [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 vtkTexture.

virtual int vtkOpenGLTexture::IsA const char *    type [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 vtkTexture.

vtkOpenGLTexture* vtkOpenGLTexture::SafeDownCast vtkObject   o [static]
 

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 vtkTexture.

void vtkOpenGLTexture::Load vtkRenderer   ren [virtual]
 

Implement base class method.

Reimplemented from vtkTexture.

void vtkOpenGLTexture::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 vtkTexture.

void vtkOpenGLTexture::operator= const vtkOpenGLTexture &    [inline, protected]
 

Definition at line 78 of file vtkOpenGLTexture.h.

unsigned char* vtkOpenGLTexture::ResampleToPowerOfTwo int &    xsize,
int &    ysize,
unsigned char *    dptr,
int    bpp
[protected]
 


Member Data Documentation

vtkTimeStamp vtkOpenGLTexture::LoadTime [protected]
 

Definition at line 83 of file vtkOpenGLTexture.h.

long vtkOpenGLTexture::Index [protected]
 

Definition at line 84 of file vtkOpenGLTexture.h.

vtkRenderWindow* vtkOpenGLTexture::RenderWindow [protected]
 

Definition at line 85 of file vtkOpenGLTexture.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:56:47 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001