casa
5.7.0-16
|
Holds our copy of the current transformation matrix. More...
Public Member Functions | |
PSState () | |
~PSState () | |
void | scale (const float x, const float y) |
void | translate (const float x, const float y) |
void | rotate (const float degrees) |
void | toPoints (const float xin, const float yin, float &xout, float &yout, const casacore::Bool absolute=true) const |
[ x' y' 1 ] = [ x y 1] * CTM More... | |
void | fromPoints (const float xin, const float yin, float &xout, float &yout, const casacore::Bool absolute=true) const |
[ x y 1 ] = [ x' y' 1] * inverse(CTM); More... | |
void | setIdentity () |
void | operator= (const PSState &) |
void | setXY (const float x, const float y, const casacore::Bool userCoords=true) |
Set/Get the current position. More... | |
void | getXY (float &x, float &y, const casacore::Bool userCoords=true) |
Private Member Functions | |
void | invert () |
Private Attributes | |
double | a_ |
double | b_ |
double | c_ |
double | d_ |
double | tx_ |
double | ty_ |
double | ai_ |
double | bi_ |
double | ci_ |
double | di_ |
double | txi_ |
double | tyi_ |
float | currX_ |
float | currY_ |
Holds our copy of the current transformation matrix.
Used for bounding box computations.
Definition at line 716 of file PSDriver.h.
casa::PSDriver::PSState::PSState | ( | ) |
casa::PSDriver::PSState::~PSState | ( | ) |
|
inline |
[ x y 1 ] = [ x' y' 1] * inverse(CTM);
Definition at line 736 of file PSDriver.h.
References ai_, bi_, ci_, di_, txi_, and tyi_.
Referenced by casa::PSDriver::fromPoints().
void casa::PSDriver::PSState::getXY | ( | float & | x, |
float & | y, | ||
const casacore::Bool | userCoords = true |
||
) |
Referenced by casa::PSDriver::getCurrXY().
|
private |
void casa::PSDriver::PSState::operator= | ( | const PSState & | ) |
void casa::PSDriver::PSState::rotate | ( | const float | degrees | ) |
void casa::PSDriver::PSState::scale | ( | const float | x, |
const float | y | ||
) |
void casa::PSDriver::PSState::setIdentity | ( | ) |
void casa::PSDriver::PSState::setXY | ( | const float | x, |
const float | y, | ||
const casacore::Bool | userCoords = true |
||
) |
Set/Get the current position.
Referenced by casa::PSDriver::setCurrXY().
|
inline |
[ x' y' 1 ] = [ x y 1] * CTM
Definition at line 724 of file PSDriver.h.
References a_, b_, c_, d_, tx_, and ty_.
Referenced by casa::PSDriver::toPoints().
void casa::PSDriver::PSState::translate | ( | const float | x, |
const float | y | ||
) |
|
private |
Definition at line 756 of file PSDriver.h.
Referenced by toPoints().
|
private |
Definition at line 757 of file PSDriver.h.
Referenced by fromPoints().
|
private |
Definition at line 756 of file PSDriver.h.
Referenced by toPoints().
|
private |
Definition at line 757 of file PSDriver.h.
Referenced by fromPoints().
|
private |
Definition at line 756 of file PSDriver.h.
Referenced by toPoints().
|
private |
Definition at line 757 of file PSDriver.h.
Referenced by fromPoints().
|
private |
Definition at line 758 of file PSDriver.h.
|
private |
Definition at line 758 of file PSDriver.h.
|
private |
Definition at line 756 of file PSDriver.h.
Referenced by toPoints().
|
private |
Definition at line 757 of file PSDriver.h.
Referenced by fromPoints().
|
private |
Definition at line 756 of file PSDriver.h.
Referenced by toPoints().
|
private |
Definition at line 757 of file PSDriver.h.
Referenced by fromPoints().
|
private |
Definition at line 756 of file PSDriver.h.
Referenced by toPoints().
|
private |
Definition at line 757 of file PSDriver.h.
Referenced by fromPoints().