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

vlDim Class Reference

This datatype defines the dimensions of a volume. More...

#include <vldim.h>

Inheritance diagram for vlDim:

vlTriple< uint16 > List of all members.

Public Member Functions

 vlDim (uint16 xdim=0, uint16 ydim=0, uint16 zdim=0)
 Default constructor.


Friends

std::ostream & operator<< (std::ostream &os, vlDim const *const dim)
 overriding << to enable writing triple to a stream

std::ostream & operator<< (std::ostream &os, vlDim const &dim)
 overriding << to enable writing triple to a stream


Detailed Description

Each dimension is stored as 16 bit unsigned int. Thus, the range for each dimension is 0 - 2^16-1, i.e. 0 - 65535.

Definition at line 37 of file vldim.h.


Constructor & Destructor Documentation

vlDim::vlDim uint16  xdim = 0,
uint16  ydim = 0,
uint16  zdim = 0
[inline]
 

Definition at line 40 of file vldim.h.

References uint16.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  os,
vlDim const &  dim
[friend]
 

Definition at line 49 of file vldim.h.

std::ostream& operator<< std::ostream &  os,
vlDim const *const  dim
[friend]
 

Definition at line 44 of file vldim.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 18 11:33:18 2005 for OpenVL by doxygen 1.3.3