A transform that transforms coordinates from one 3D coordinate system to another. More...
#include <XYZTransformBase.h>
Public Member Functions | |
virtual double | aspectRatio () const |
Get the aspect ratio. | |
virtual XYZTransformBase * | clone () const =0 |
Creates a new XYZTransform object by copying an existing one. | |
const std::string & | name () const |
Returns the name of the Transform. | |
virtual | ~XYZTransformBase () |
The virtual destructor. | |
Protected Member Functions | |
XYZTransformBase () | |
The default constructor. | |
XYZTransformBase (const XYZTransformBase &) | |
The copy constructor. | |
Protected Attributes | |
std::string | m_name |
Name of the Transform. |
A transform that transforms coordinates from one 3D coordinate system to another.
@author Paul F. Kunz <Paul_Kunz@slac.stanford.edu> @author Oded Wurman <owurman@stanford.edu>
Definition at line 30 of file XYZTransformBase.h.
XYZTransformBase | ( | ) | [protected] |
The default constructor.
Should never be called.
. Sets the function name to "nil". Should be overriden by derived class. If function name is "nil", then that indicated error condition that default constructor was called directly.
Definition at line 24 of file XYZTransformBase.cxx.
References TransformBase::m_name.
XYZTransformBase | ( | const XYZTransformBase & | t | ) | [protected] |
The copy constructor.
Definition at line 29 of file XYZTransformBase.cxx.
~XYZTransformBase | ( | ) | [virtual] |
The virtual destructor.
Definition at line 34 of file XYZTransformBase.cxx.
double aspectRatio | ( | ) | const [virtual, inherited] |
Get the aspect ratio.
Reimplemented in BinaryTransform, XYTransform, HammerAito2, HammerAito, Mercator, Mercator2, AIR, AIR2, ARC, ARC2, Cartesian, Cartesian2, GlobalSinusoidal, GlobalSinusoidal2, Lambert, Lambert2, SIN, SIN2, STG, STG2, TAN, and TAN2.
Definition at line 50 of file TransformBase.cxx.
Referenced by CompositePlotter::getAspectRatio().
virtual XYZTransformBase* clone | ( | ) | const [pure virtual] |
Creates a new XYZTransform object by copying an existing one.
Implements TransformBase.
Implemented in XYZTransform.
const string & name | ( | ) | const [inherited] |
Returns the name of the Transform.
Definition at line 45 of file TransformBase.cxx.
References TransformBase::m_name.
Referenced by BinaryTransform::BinaryTransform(), TransformXML::createElement(), DisplayController::getLog(), DisplayController::setLog(), Inspector::updateTransformTab(), and XYTransform::XYTransform().
std::string m_name [protected, inherited] |
Name of the Transform.
Definition at line 42 of file TransformBase.h.
Referenced by AIR::AIR(), AIR2::AIR2(), ARC::ARC(), ARC2::ARC2(), BinaryTransform::BinaryTransform(), Cartesian::Cartesian(), Cartesian2::Cartesian2(), GlobalSinusoidal::GlobalSinusoidal(), GlobalSinusoidal2::GlobalSinusoidal2(), HammerAito::HammerAito(), HammerAito2::HammerAito2(), Lambert::Lambert(), Lambert2::Lambert2(), LinearTransform::LinearTransform(), LogTransform::LogTransform(), Mercator::Mercator(), Mercator2::Mercator2(), TransformBase::name(), SIN::SIN(), SIN2::SIN2(), STG::STG(), STG2::STG2(), TAN::TAN(), TAN2::TAN2(), TransformBase::TransformBase(), XYTransform::XYTransform(), XYZTransform::XYZTransform(), and XYZTransformBase::XYZTransformBase().