GLI  0.6.0
Public Types | Public Member Functions | List of all members
image Class Reference

Public Types

typedef storage::dim1_type dim1_type
 
typedef storage::dim2_type dim2_type
 
typedef storage::dim3_type dim3_type
 
typedef storage::dim3_type dim_type
 
typedef storage::size_type face_type
 
typedef storage::size_type layer_type
 
typedef storage::size_type level_type
 
typedef storage::size_type size_type
 

Public Member Functions

size_type baseFace () const
 
size_type baseLayer () const
 
size_type baseLevel () const
 
void clear ()
 
template<typename genType >
void clear (genType const &Texel)
 
void * data ()
 
void const * data () const
 
template<typename genType >
genType * data ()
 
template<typename genType >
genType const * data () const
 
dim_type dimensions () const
 
bool empty () const
 
 image ()
 
 image (format const &Format, dim_type const &Dimensions)
 
 image (storage const &Storage, size_type BaseLayer, size_type MaxLayer, size_type BaseFace, size_type MaxFace, size_type BaseLevel, size_type MaxLevel)
 
template<typename genType >
genType load (dim_type const &TexelCoord)
 
size_type maxFace () const
 
size_type maxLayer () const
 
size_type maxLevel () const
 
 operator storage () const
 
size_type size () const
 
template<typename genType >
size_type size () const
 
template<typename genType >
void store (dim_type const &TexelCoord, genType const &Data)
 

Detailed Description

Image.

Definition at line 41 of file image.hpp.

Member Typedef Documentation

Definition at line 44 of file image.hpp.

Definition at line 45 of file image.hpp.

Definition at line 46 of file image.hpp.

Definition at line 47 of file image.hpp.

Definition at line 51 of file image.hpp.

Definition at line 49 of file image.hpp.

Definition at line 50 of file image.hpp.

Definition at line 48 of file image.hpp.

Constructor & Destructor Documentation

image ( )
image ( format const &  Format,
dim_type const &  Dimensions 
)
explicit

Allocate a new storage constructor.

image ( storage const &  Storage,
size_type  BaseLayer,
size_type  MaxLayer,
size_type  BaseFace,
size_type  MaxFace,
size_type  BaseLevel,
size_type  MaxLevel 
)
explicit

Reference an exiting storage constructor.

Member Function Documentation

size_type baseFace ( ) const
size_type baseLayer ( ) const
size_type baseLevel ( ) const
void clear ( )
void clear ( genType const &  Texel)
void* data ( )
void const* data ( ) const
genType* data ( )
genType const* data ( ) const
dim_type dimensions ( ) const
bool empty ( ) const
genType load ( dim_type const &  TexelCoord)
size_type maxFace ( ) const
size_type maxLayer ( ) const
size_type maxLevel ( ) const
operator storage ( ) const

Cast an image into a storage.

size_type size ( ) const
size_type size ( ) const
void store ( dim_type const &  TexelCoord,
genType const &  Data 
)