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

vlUnit Class Reference

This data structure will store the unit distance between voxels.

#include <vlunit.h>

Inheritance diagram for vlUnit:

vlTriple< float > List of all members.

Public Types

enum  UnitType { Meter, MilliMeter, MicroMeter, NoUnitType }
 The type of unit that is stored in this object. More...


Public Member Functions

 vlUnit (float x=1.0, float y=1.0, float z=1.0, UnitType type=NoUnitType)
 Default constructor.

UnitType type () const
 Returns of the type of the unit.


Protected Attributes

UnitType m_type
 The type of unit represented - meter, micro-meter etc.


Member Enumeration Documentation

enum vlUnit::UnitType
 

Enumeration values:
Meter 
MilliMeter 
MicroMeter 
NoUnitType 

Definition at line 41 of file vlunit.h.

Referenced by vlVolFiof3d::readInfo(), and type().


Constructor & Destructor Documentation

vlUnit::vlUnit float  x = 1.0,
float  y = 1.0,
float  z = 1.0,
UnitType  type = NoUnitType
[inline]
 

Definition at line 49 of file vlunit.h.

References x, y, and z.


Member Function Documentation

UnitType vlUnit::type  )  const [inline]
 

Definition at line 53 of file vlunit.h.

References m_type, and UnitType.


Member Data Documentation

UnitType vlUnit::m_type [protected]
 

Definition at line 57 of file vlunit.h.

Referenced by type().


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