Main Page | Class Hierarchy | Class List | Directories | File List

Image3D Class Template Reference

This class represents a three-dimensional image. More...

#include <ApiGraphics/Image3D.h>

Inheritance diagram for Image3D:

AbstractImage3D TextureData List of all members.

Public Member Functions

 Image3D (int w=0, int h=0, int d=0, Color *data=NULL)
 Image3D (QString fileName)
virtual bool loaded () const
virtual void destroy ()
Image3D< Color > clone () const
void save (QString dirName, QString subDirName) const
virtual GLint defaultTexFormat () const
virtual void loadTexture3D (GLint texFormat, GLenum target=GL_TEXTURE_3D) const
void setBorderColor (Color border)
void setWrapMode (WrapMode wrapMode)
void setupBorder (WrapMode wrapMode, Color border)
Color & texel (int i, int j, int k)
const Color & texel (int i, int j, int k) const
Color & operator() (int i, int j, int k)
const Color & operator() (int i, int j, int k) const
Color sample (int i, int j, int k) const
Color interp (float x, float y, float z) const
Color operator() (float x, float y, float z) const

Static Public Member Functions

static Image3D< Color > readTexture (Texture *tex)

Detailed Description

template<class Color>
class apig::Image3D< Color >

This class represents a three-dimensional image.

It is parameterized by the data type representing colors (number of channels and type used per channel). Useful types for color representations are defined in ColorTypes.h : Float1, Float2, Float3, Float4, UByte3, UByte4, UInt3, UInt4.


The documentation for this class was generated from the following files:
Generated on Fri Nov 14 20:49:48 2008 for Api Graphics by  doxygen 1.4.4