Public Types | Public Member Functions | Private Attributes

cmtk::DirectionSet Class Reference
[cmtkBase Library]

A set of directions in n-dimensional space. More...

#include <cmtkDirectionSet.h>

Inheritance diagram for cmtk::DirectionSet:
Inheritance graph
[legend]
Collaboration diagram for cmtk::DirectionSet:
Collaboration graph
[legend]

List of all members.

Public Types

typedef SmartPointer
< DirectionSet
SmartPtr
 Smart pointer to DirectionSet.

Public Member Functions

unsigned int GetDimension () const
 Get dimension of direction space.
unsigned int GetNumberOfDirections () const
 Get number of directions.
void NormalizeMaxNorm (const double value=1.0)
 Normalizes each direction vector to have max norm = value.
void NormalizeEuclidNorm (const double value=1.0)
 Normalizes each direction vector to have euclid norm = value.
 DirectionSet ()
 Default constructor.
 DirectionSet (const unsigned int dimension)
 Allocation constructor.
 ~DirectionSet ()
 Destructor.

Private Attributes

unsigned int Dimension
 Dimension of direction space.

Detailed Description

A set of directions in n-dimensional space.

Definition at line 53 of file cmtkDirectionSet.h.


Member Typedef Documentation

Smart pointer to DirectionSet.

Definition at line 59 of file cmtkDirectionSet.h.


Constructor & Destructor Documentation

cmtk::DirectionSet::DirectionSet (  ) [inline]

Default constructor.

Definition at line 76 of file cmtkDirectionSet.h.

cmtk::DirectionSet::DirectionSet ( const unsigned int  dimension ) [inline]

Allocation constructor.

Definition at line 79 of file cmtkDirectionSet.h.

cmtk::DirectionSet::~DirectionSet (  ) [inline]

Destructor.

Definition at line 82 of file cmtkDirectionSet.h.


Member Function Documentation

unsigned int cmtk::DirectionSet::GetDimension (  ) const [inline]

Get dimension of direction space.

Definition at line 62 of file cmtkDirectionSet.h.

unsigned int cmtk::DirectionSet::GetNumberOfDirections (  ) const [inline]

Get number of directions.

Definition at line 65 of file cmtkDirectionSet.h.


Member Data Documentation

unsigned int cmtk::DirectionSet::Dimension [private]

Dimension of direction space.

Definition at line 86 of file cmtkDirectionSet.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines