|
GDCM
2.2.3
|
class to handle DirectionCosines More...
#include <gdcmDirectionCosines.h>
Public Member Functions | |
| DirectionCosines () | |
| DirectionCosines (const double dircos[6]) | |
| ~DirectionCosines () | |
| double | ComputeDistAlongNormal (const double ipp[3]) const |
| Compute the distance along the normal. | |
| void | Cross (double z[3]) const |
| Compute Cross product. | |
| double | CrossDot (DirectionCosines const &dc) const |
| Compute the Dot product of the two cross vector of both DirectionCosines object. | |
| double | Dot () const |
| Compute Dot. | |
| bool | IsValid () const |
| Return whether or not this is a valid direction cosines. | |
| void | Normalize () |
| Normalize in-place. | |
| operator const double * () const | |
| Make the class behave like a const double *. | |
| void | Print (std::ostream &) const |
| Print. | |
| bool | SetFromString (const char *str) |
class to handle DirectionCosines
| gdcm::DirectionCosines::DirectionCosines | ( | const double | dircos[6] | ) |
| double gdcm::DirectionCosines::ComputeDistAlongNormal | ( | const double | ipp[3] | ) | const |
Compute the distance along the normal.
| void gdcm::DirectionCosines::Cross | ( | double | z[3] | ) | const |
Compute Cross product.
| double gdcm::DirectionCosines::CrossDot | ( | DirectionCosines const & | dc | ) | const |
Compute the Dot product of the two cross vector of both DirectionCosines object.
| double gdcm::DirectionCosines::Dot | ( | ) | const |
Compute Dot.
| bool gdcm::DirectionCosines::IsValid | ( | ) | const |
Return whether or not this is a valid direction cosines.
| void gdcm::DirectionCosines::Normalize | ( | ) |
Normalize in-place.
| gdcm::DirectionCosines::operator const double * | ( | ) | const [inline] |
Make the class behave like a const double *.
| void gdcm::DirectionCosines::Print | ( | std::ostream & | ) | const |
Print.
| bool gdcm::DirectionCosines::SetFromString | ( | const char * | str | ) |
Initialize from string str. It requires 6 floating point separated by a backslash character.
1.7.6.1