Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Arroyo::three_transformation Class Reference

#include <three_transformation.h>

Inheritance diagram for Arroyo::three_transformation:

Arroyo::three_orthonormal_transformation Arroyo::three_scaling Arroyo::three_reflection Arroyo::three_rotation Arroyo::three_translation List of all members.

Public Member Functions

 three_transformation ()
 three_transformation (const three_transformation &tt)
 ~three_transformation ()
three_transformationoperator= (const three_transformation &tt)
void set_transformation (const three_transformation &tt)
void read (const iofits &iof)
void write (iofits &iof) const
void print (ostream &os, const char *prefix="") const
void transform (three_point &tp) const
void transform (three_vector &tv) const
three_transformation inverse () const
three_transformationoperator *= (const three_transformation &tt)

Static Public Attributes

int verbose_level
 A verbose_level for printing messages.

Protected Member Functions

 three_transformation (double xx, double xy, double xz, double dx, double yx, double yy, double yz, double dy, double zx, double zy, double zz, double dz)
void set_three_transformation (double xx, double xy, double xz, double dx, double yx, double yy, double yz, double dy, double zx, double zy, double zz, double dz)

Protected Attributes

double xx_
 Nine components defined relative to a global coordinate system.
double xy_
 Nine components defined relative to a global coordinate system.
double xz_
 Nine components defined relative to a global coordinate system.
double dx_
 Nine components defined relative to a global coordinate system.
double yx_
double yy_
double yz_
double dy_
double zx_
double zy_
double zz_
double dz_

Friends

bool operator== (const three_transformation &tt1, const three_transformation &tt2)
three_transformation operator * (const three_transformation &tt1, const three_transformation &tt2)

Detailed Description

A class to represent a transformation in three dimensional space.


Constructor & Destructor Documentation

Arroyo::three_transformation::three_transformation double  xx,
double  xy,
double  xz,
double  dx,
double  yx,
double  yy,
double  yz,
double  dy,
double  zx,
double  zy,
double  zz,
double  dz
[inline, protected]
 

Protected constructor

Arroyo::three_transformation::three_transformation  ) 
 

Null constructor

Arroyo::three_transformation::three_transformation const three_transformation tt  ) 
 

Copy constructor

Arroyo::three_transformation::~three_transformation  )  [inline]
 

Destructor


Member Function Documentation

three_transformation Arroyo::three_transformation::inverse  )  const
 

Get the inverse transformation

Reimplemented in Arroyo::three_orthonormal_transformation, Arroyo::three_translation, Arroyo::three_rotation, Arroyo::three_reflection, and Arroyo::three_scaling.

three_transformation& Arroyo::three_transformation::operator *= const three_transformation tt  ) 
 

Multiply this transformation with another. The application of these transformations to a point, vector, or frame is defined in the sense that first this transformation is applied, and then the transformation tt is applied. In matrix form, this means that this function performs a left matrix multiply of this transformation by the transformation tt.

three_transformation& Arroyo::three_transformation::operator= const three_transformation tt  ) 
 

Operator =

void Arroyo::three_transformation::print ostream &  os,
const char *  prefix = ""
const
 

Write to iofits object

void Arroyo::three_transformation::read const iofits iof  ) 
 

Read from iofits object

void Arroyo::three_transformation::set_three_transformation double  xx,
double  xy,
double  xz,
double  dx,
double  yx,
double  yy,
double  yz,
double  dy,
double  zx,
double  zy,
double  zz,
double  dz
[inline, protected]
 

Protected modifier

void Arroyo::three_transformation::set_transformation const three_transformation tt  )  [inline]
 

Reset transformation to tt

void Arroyo::three_transformation::transform three_vector tv  )  const
 

Apply this transformation to a vector

Reimplemented in Arroyo::three_orthonormal_transformation.

void Arroyo::three_transformation::transform three_point tp  )  const
 

Apply this transformation to a point

Reimplemented in Arroyo::three_orthonormal_transformation.

void Arroyo::three_transformation::write iofits iof  )  const
 

Write to iofits object


Friends And Related Function Documentation

three_transformation operator * const three_transformation tt1,
const three_transformation tt2
[friend]
 

Multiply two transformations to yield a 3rd. The application of these transformations to a point, vector, or frame is defined in the sense that first the transformation tt2 is applied, and then the transformation tt1 is applied. In matrix form, this means that this function performs a left matrix multiply of the transformation tt2 by the transformation tt1. That is, the arguments are read right to left.

bool operator== const three_transformation tt1,
const three_transformation tt2
[friend]
 

Operator==


Member Data Documentation

double Arroyo::three_transformation::dx_ [protected]
 

Nine components defined relative to a global coordinate system.

double Arroyo::three_transformation::dy_ [protected]
 

double Arroyo::three_transformation::dz_ [protected]
 

int Arroyo::three_transformation::verbose_level [static]
 

A verbose_level for printing messages.

double Arroyo::three_transformation::xx_ [protected]
 

Nine components defined relative to a global coordinate system.

double Arroyo::three_transformation::xy_ [protected]
 

Nine components defined relative to a global coordinate system.

double Arroyo::three_transformation::xz_ [protected]
 

Nine components defined relative to a global coordinate system.

double Arroyo::three_transformation::yx_ [protected]
 

double Arroyo::three_transformation::yy_ [protected]
 

double Arroyo::three_transformation::yz_ [protected]
 

double Arroyo::three_transformation::zx_ [protected]
 

double Arroyo::three_transformation::zy_ [protected]
 

double Arroyo::three_transformation::zz_ [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 17:16:37 2007 for arroyo by  doxygen 1.3.9.1