class to handle DirectionCosines
More...
#include <gdcmDirectionCosines.h>
|
| static double | Dot (const double x[3], const double y[3]) |
| | Compute Dot.
|
| |
| static double | Norm (const double v[3]) |
| | Return norm of the vector.
|
| |
| static void | Normalize (double v[3]) |
| | Normalize in-place.
|
| |
◆ DirectionCosines() [1/2]
| gdcm::DirectionCosines::DirectionCosines |
( |
| ) |
|
◆ DirectionCosines() [2/2]
| gdcm::DirectionCosines::DirectionCosines |
( |
const double |
dircos[6] | ) |
|
◆ ~DirectionCosines()
| gdcm::DirectionCosines::~DirectionCosines |
( |
| ) |
|
◆ ComputeDistAlongNormal()
| double gdcm::DirectionCosines::ComputeDistAlongNormal |
( |
const double |
ipp[3] | ) |
const |
Compute the distance along the normal.
◆ Cross()
| void gdcm::DirectionCosines::Cross |
( |
double |
z[3] | ) |
const |
◆ CrossDot()
◆ Dot() [1/2]
| double gdcm::DirectionCosines::Dot |
( |
| ) |
const |
◆ Dot() [2/2]
| static double gdcm::DirectionCosines::Dot |
( |
const double |
x[3], |
|
|
const double |
y[3] |
|
) |
| |
|
static |
◆ IsValid()
| bool gdcm::DirectionCosines::IsValid |
( |
| ) |
const |
Return whether or not this is a valid direction cosines.
◆ Norm()
| static double gdcm::DirectionCosines::Norm |
( |
const double |
v[3] | ) |
|
|
static |
Return norm of the vector.
◆ Normalize() [1/2]
| void gdcm::DirectionCosines::Normalize |
( |
| ) |
|
◆ Normalize() [2/2]
| static void gdcm::DirectionCosines::Normalize |
( |
double |
v[3] | ) |
|
|
static |
◆ operator const double *()
| gdcm::DirectionCosines::operator const double * |
( |
| ) |
const |
|
inline |
Make the class behave like a const double *.
◆ Print()
| void gdcm::DirectionCosines::Print |
( |
std::ostream & |
| ) |
const |
◆ SetFromString()
| bool gdcm::DirectionCosines::SetFromString |
( |
const char * |
str | ) |
|
Initialize from string str. It requires 6 floating point separated by a backslash character.
- Examples
- DiscriminateVolume.cxx.
The documentation for this class was generated from the following file: