TransformBase Class Reference

#include <TransformBase.h>

Inheritance diagram for TransformBase:

Inheritance graph
BinaryTransformUnaryTransformXYZTransformBasePeriodicBinaryTransformXYTransformAIRAIR2ARCARC2CartesianCartesian2GlobalSinusoidalGlobalSinusoidal2HammerAitoHammerAito2LambertLambert2MercatorMercator2SINSIN2STGSTG2TANTAN2LinearTransformLogTransformXYZTransform
[legend]
Collaboration diagram for TransformBase:

Collaboration graph
[legend]
List of all members.

Detailed Description

A transform that transforms coordinates from one coordinate system to another.

Todo:
When a Coordinate class is implemented, we can replace many functions below with ones that take a Coordinate as an argument.
Author:
Paul F. Kunz <Paul_Kunz@slac.stanford.edu>

Definition at line 35 of file TransformBase.h.

Public Member Functions

virtual double aspectRatio () const
 Get the aspect ratio.
virtual TransformBaseclone () 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 ()
 Should never be called.

Protected Attributes

std::string m_name
 Name of the Transform.


Constructor & Destructor Documentation

TransformBase (  )  [protected]

Should never be called.

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.


Member Function Documentation

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated for HippoDraw Class Library by doxygen