# gdcm::DirectionCosines Class Reference

class to handle DirectionCosines More...

`#include <gdcmDirectionCosines.h>`

List of all members.

## Public Member Functions
| DirectionCosines (const double dircos[6])
| DirectionCosines ()
| ~DirectionCosines ()
double | ComputeDistAlongNormal (const double ipp[3]) const
void | Cross (double z[3]) const
| Compute Cross product.
double | CrossDot (DirectionCosines const &dc) const
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)

## Detailed Description

class to handle DirectionCosines

## Constructor & Destructor Documentation

gdcm::DirectionCosines::DirectionCosines | ( |  | ) |

gdcm::DirectionCosines::DirectionCosines | ( | const double | dircos[6] | ) |

gdcm::DirectionCosines::~DirectionCosines | ( |  | ) |

## Member Function Documentation

double gdcm::DirectionCosines::ComputeDistAlongNormal | ( | const double | ipp[3] | ) | const

void gdcm::DirectionCosines::Cross | ( | double | z[3] | ) | const

Compute Cross product.

double gdcm::DirectionCosines::CrossDot | ( | DirectionCosines const & | dc | ) | const

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 | ) |

The documentation for this class was generated from the following file:

- gdcmDirectionCosines.h