Texture3D Class Reference
[Basic]

Texture node for volumes. More...

#include <Texture3D.hpp>

Inheritance diagram for Texture3D:
Texture Node Applicable

List of all members.

Public Member Functions

 Texture3D (const Tag &tag)
virtual ~Texture3D ()
virtual void finalize ()
virtual Dataset * getDataset ()
virtual GLenum getInternalFormat () const
virtual GLint getRawFootprint () const
virtual int getWidth () const
virtual int getHeight () const
virtual int getDepth () const
virtual string toString () const

Static Public Member Functions

static Texture3D * find (Node *node, const string &name)

Private Attributes

bool compress
Dataset * dataset

Detailed Description

Texture node for volumes.


Constructor & Destructor Documentation

Texture3D ( const Tag &  tag  ) 

Creates the texture and underlying dataset.

~Texture3D (  )  [virtual]

Deletes the underlying dataset object.


Member Function Documentation

void finalize (  )  [virtual]

Loads the dataset into texture memory.

Reimplemented from Node.

Texture3D * find ( Node *  node,
const string &  name 
) [static]

Finds a 3D texture above a node.

GLenum getInternalFormat (  )  const [virtual]
Returns:
Type based on compress flag.
GLint getRawFootprint (  )  const [virtual]

How much memory the texture uses if uncompressed.

Implements Texture.

string toString (  )  const [virtual]

Adds the compress flag to the node's description.

Reimplemented from Texture.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:37 2010 for Gander by  doxygen 1.6.3