Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TransformBase Class Reference

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

#include <TransformBase.h>

Inheritance diagram for TransformBase:
Inheritance graph
[legend]
Collaboration diagram for TransformBase:
Collaboration graph
[legend]

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 ()
 The default constructor.
 TransformBase (const TransformBase &t)
 The copy constructor.

Protected Attributes

std::string m_name
 Name of the Transform.

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_.nosp@m.Kunz.nosp@m.@slac.nosp@m..sta.nosp@m.nford.nosp@m..edu

Definition at line 35 of file TransformBase.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

double aspectRatio ( ) const
virtual
virtual TransformBase* clone ( ) const
pure virtual
const string & name ( ) const

Member Data Documentation

std::string m_name
protected

The documentation for this class was generated from the following files:

Generated for HippoDraw Class Library by doxygen