A transform that transforms coordinates from one coordinate system to another. More...
#include <TransformBase.h>
Public Member Functions | |
virtual double | aspectRatio () const |
Get the aspect ratio. | |
virtual TransformBase * | clone () const =0 |
Creates a new Transform object by copying an existing one. | |
const std::string & | name () const |
Returns the name of the Transform. | |
virtual | ~TransformBase () |
The virtual destructor. | |
Protected Member Functions | |
TransformBase () | |
The default constructor. | |
TransformBase (const TransformBase &t) | |
The copy constructor. | |
Protected Attributes | |
std::string | m_name |
Name of the Transform. |
A transform that transforms coordinates from one coordinate system to another.
Definition at line 35 of file TransformBase.h.
TransformBase | ( | ) | [protected] |
The default constructor.
Should never be called.
Sets the function name to "nil". It should be overridden by a derived class. If the function name is "nil", then this indicates the error condition that the default constructor was called directly.
Definition at line 31 of file TransformBase.cxx.
References TransformBase::m_name.
TransformBase | ( | const TransformBase & | t | ) | [protected] |
The copy constructor.
Definition at line 36 of file TransformBase.cxx.
~TransformBase | ( | ) | [virtual] |
The virtual destructor.
Definition at line 41 of file TransformBase.cxx.
double aspectRatio | ( | ) | const [virtual] |
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 TransformBase* clone | ( | ) | const [pure virtual] |
Creates a new Transform object by copying an existing one.
Implemented in BinaryTransform, HammerAito2, HammerAito, LogTransform, XYTransform, LinearTransform, UnaryTransform, XYZTransform, Mercator, Mercator2, XYZTransformBase, AIR, AIR2, ARC, ARC2, Cartesian, Cartesian2, GlobalSinusoidal, GlobalSinusoidal2, Lambert, Lambert2, SIN, SIN2, STG, STG2, TAN, and TAN2.
Referenced by CompositePlotter::CompositePlotter(), and TransformFactory::createTransform().
const string & name | ( | ) | const |
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] |
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().