#include <TransformBase.h>
Definition at line 35 of file 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 (const TransformBase &t) | |
The copy constructor. | |
TransformBase () | |
The default constructor. | |
Protected Attributes | |
std::string | m_name |
Name of the Transform. |
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] |
~TransformBase | ( | ) | [virtual] |
double aspectRatio | ( | ) | const [virtual] |
Get the aspect ratio.
Reimplemented in AIR, AIR2, ARC, ARC2, BinaryTransform, Cartesian, Cartesian2, GlobalSinusoidal, GlobalSinusoidal2, HammerAito, HammerAito2, Lambert, Lambert2, Mercator, Mercator2, SIN, SIN2, STG, STG2, TAN, TAN2, and XYTransform.
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 AIR, AIR2, ARC, ARC2, BinaryTransform, Cartesian, Cartesian2, GlobalSinusoidal, GlobalSinusoidal2, HammerAito, HammerAito2, Lambert, Lambert2, LinearTransform, LogTransform, Mercator, Mercator2, SIN, SIN2, STG, STG2, TAN, TAN2, UnaryTransform, XYTransform, XYZTransform, and XYZTransformBase.
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().