A set of directions in n-dimensional space. More...
#include <cmtkDirectionSet.h>
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. |
A set of directions in n-dimensional space.
Definition at line 53 of file cmtkDirectionSet.h.
Smart pointer to DirectionSet.
Definition at line 59 of file cmtkDirectionSet.h.
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.
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.
unsigned int cmtk::DirectionSet::Dimension [private] |
Dimension of direction space.
Definition at line 86 of file cmtkDirectionSet.h.