Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SH::ShImage3D Class Reference

A 3D image. More...

#include <ShImage3D.hpp>

Inheritance diagram for SH::ShImage3D:

Inheritance graph
[legend]
Collaboration diagram for SH::ShImage3D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ShImage3D ()
 Construct an empty image.
 ShImage3D (int width, int height, int depth, int elements)
 Construct a black.
 ShImage3D (const ShImage3D &other)
 Copy an image.
ShImage3Doperator= (const ShImage3D &other)
 Copy the data from.
int width () const
 Determine the width of the image.
int height () const
 Determine the height of the image.
int depth () const
 Determine the depth of the image.
int elements () const
 Determine the elements (floats per pixel) of.
float operator() (int x, int y, int z, int i) const
 Retrieve a.
float & operator() (int x, int y, int z, int i)
 Retrieve a.
const float * data () const
 particular component from the image.
float * data ()
ShMemoryPtr memory ()
ShPointer< const ShMemorymemory () const

Detailed Description

A 3D image.

Consists of a grid of floating-point elements. Stores data in a memory object that can be shared with a 3D array, table, or texture.

See also:
ShImage

Definition at line 43 of file ShImage3D.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 18:38:13 2005 for Sh by  doxygen 1.4.1