VectorEntity
1.1.0
Medical Data Segmentation Toolkit
|
Class encapsulating coordinates in 3D space. More...
#include <mccoordinate3d.h>
Public Types | |
typedef mds::img::CCoordinates3< T > | tBase |
Base class. | |
Public Member Functions | |
T & | GetX () |
Returns current value of the x-coordinate. | |
const T & | GetX () const |
void | GetXYZ (T &_x, T &_y, T &_z) const |
Returns all x, y and z-coordinates. | |
void | GetXYZ (T _xyz[3]) const |
Saves current coordinates (X,Y,Z) into a given array. | |
T & | GetY () |
Returns current value of the y-coordinate. | |
const T & | GetY () const |
T & | GetZ () |
Returns current value of the z-coordinate. | |
const T & | GetZ () const |
MCCoordinate3D () | |
Default constructor. | |
MCCoordinate3D (const MCCoordinate3D &_c) | |
Copy constructor. | |
MCCoordinate3D (const T &_x, const T &_y, const T &_z) | |
Constructor which initializes coordinates to given values. | |
MCCoordinate3D & | operator= (const MCCoordinate3D &p) |
Assignment operator. | |
*void | SetX (const T &_x) |
Sets value of the x-coordinate. | |
void | SetXYZ (const T &_x, const T &_y, const T &_z) |
Sets all coordinates at once. | |
*void | SetY (const T &_y) |
Sets value of the y-coordinate. | |
*void | SetZ (const T &_z) |
Sets value of the z-coordinate. | |
~MCCoordinate3D () | |
Destructor. |
Class encapsulating coordinates in 3D space.
typedef mds::img::CCoordinates3<T> vctl::MCCoordinate3D< T >::tBase |
Base class.
Reimplemented in vctl::MCVertex.
vctl::MCCoordinate3D< T >::MCCoordinate3D | ( | ) | [inline] |
Default constructor.
vctl::MCCoordinate3D< T >::MCCoordinate3D | ( | const MCCoordinate3D< T > & | _c | ) | [inline] |
Copy constructor.
vctl::MCCoordinate3D< T >::MCCoordinate3D | ( | const T & | _x, |
const T & | _y, | ||
const T & | _z | ||
) | [inline] |
Constructor which initializes coordinates to given values.
vctl::MCCoordinate3D< T >::~MCCoordinate3D | ( | ) | [inline] |
Destructor.
T& vctl::MCCoordinate3D< T >::GetX | ( | ) | [inline] |
Returns current value of the x-coordinate.
void vctl::MCCoordinate3D< T >::GetXYZ | ( | T & | _x, |
T & | _y, | ||
T & | _z | ||
) | const [inline] |
Returns all x, y and z-coordinates.
void vctl::MCCoordinate3D< T >::GetXYZ | ( | T | _xyz[3] | ) | const [inline] |
Saves current coordinates (X,Y,Z) into a given array.
T& vctl::MCCoordinate3D< T >::GetY | ( | ) | [inline] |
Returns current value of the y-coordinate.
T& vctl::MCCoordinate3D< T >::GetZ | ( | ) | [inline] |
Returns current value of the z-coordinate.
MCCoordinate3D& vctl::MCCoordinate3D< T >::operator= | ( | const MCCoordinate3D< T > & | p | ) | [inline] |
Assignment operator.
* void vctl::MCCoordinate3D< T >::SetX | ( | const T & | _x | ) | [inline] |
Sets value of the x-coordinate.
_x | - new value. |
void vctl::MCCoordinate3D< T >::SetXYZ | ( | const T & | _x, |
const T & | _y, | ||
const T & | _z | ||
) | [inline] |
Sets all coordinates at once.
* void vctl::MCCoordinate3D< T >::SetY | ( | const T & | _y | ) | [inline] |
Sets value of the y-coordinate.
_x | - new value. |
* void vctl::MCCoordinate3D< T >::SetZ | ( | const T & | _z | ) | [inline] |
Sets value of the z-coordinate.
_x | - new value. |