#include <UnaryTransform.h>
Inheritance diagram for UnaryTransform:
Definition at line 33 of file UnaryTransform.h.
Public Member Functions | |
virtual const Range & | adjustValues (AxisModelBase &model, const Range &limit)=0 |
Sets the range of given axis to be a new "nice" within the limits given. | |
virtual double | aspectRatio () const |
Get the aspect ratio. | |
virtual UnaryTransform * | clone () const =0 |
Function to make copy of object. | |
virtual void | inverseTransform (double &x) const =0 |
Inverse transforms the coordinate x. | |
virtual bool | isLinear () const =0 |
virtual const Range & | limits () const |
Returns a Range whose values are the limits on the coordinate. | |
const std::string & | name () const |
Returns the name of the Transform. | |
virtual const std::vector< AxisTick > & | setTicks (AxisModelBase &axis)=0 |
Sets the vector of ticks along the axis to which this unary transform is applied. | |
virtual void | transform (std::vector< double > &x) const =0 |
Transforms each element of the vector x. | |
virtual void | transform (double &x) const =0 |
Transforms the coordinate x. | |
virtual void | validate (Range &) const =0 |
Validates the Range. | |
virtual | ~UnaryTransform () |
The virtual destructor. | |
Protected Member Functions | |
UnaryTransform (double low, double high) | |
Constructor for setting m_limits. | |
Protected Attributes | |
const Range | m_limits |
The valid Range of the transform. | |
std::string | m_name |
Name of the Transform. |
|
Constructor for setting m_limits.
Definition at line 15 of file UnaryTransform.cxx. |
|
The virtual destructor.
Definition at line 20 of file UnaryTransform.cxx. |
|
Sets the range of given axis to be a new "nice" within the limits given.
Implemented in LinearTransform, and LogTransform. |
|
Get the aspect ratio.
Reimplemented in BinaryTransform, HammerAito, Lambert, and XYTransform. Definition at line 48 of file TransformBase.cxx. Referenced by CompositePlotter::getAspectRatio(). |
|
Function to make copy of object.
Implements TransformBase. Implemented in LinearTransform, and LogTransform. Referenced by BinaryTransform::BinaryTransform(), TransformFactory::createXY(), TransformFactory::createXYZ(), XYTransform::XYTransform(), and XYZTransform::XYZTransform(). |
|
Inverse transforms the coordinate x.
Implemented in LinearTransform, and LogTransform. Referenced by XYTransform::inverseTransform(), and BinaryTransform::inverseTransformZ(). |
|
Implemented in LinearTransform, and LogTransform. |
|
Returns a Range whose values are the limits on the coordinate.
Definition at line 25 of file UnaryTransform.cxx. References m_limits. Referenced by XYZTransform::limitX(), XYTransform::limitX(), XYZTransform::limitY(), XYTransform::limitY(), XYZTransform::limitZ(), and BinaryTransform::limitZ(). |
|
Returns the name of the Transform.
Definition at line 43 of file TransformBase.cxx. References TransformBase::m_name. Referenced by BinaryTransform::BinaryTransform(), TransformXML::createElement(), DisplayController::getLog(), DisplayController::setLog(), and XYTransform::XYTransform(). |
|
Sets the vector of ticks along the axis to which this unary transform is applied.
Implemented in LinearTransform, and LogTransform. Referenced by XYTransform::setTicks(). |
|
Transforms each element of the vector x.
Implemented in LinearTransform, and LogTransform. |
|
Transforms the coordinate x.
Implemented in LinearTransform, and LogTransform. Referenced by XYZTransform::transform(), XYTransform::transform(), and BinaryTransform::transformZ(). |
|
Validates the Range. Adjusts the Range to be restricted to that which is valid for the transform. Implemented in LinearTransform, and LogTransform. Referenced by XYZTransform::validate(), and XYTransform::validate(). |
|
The valid Range of the transform.
Definition at line 39 of file UnaryTransform.h. Referenced by limits(). |
|
Name of the Transform.
Definition at line 39 of file TransformBase.h. Referenced by BinaryTransform::BinaryTransform(), HammerAito::HammerAito(), Lambert::Lambert(), LinearTransform::LinearTransform(), LogTransform::LogTransform(), TransformBase::name(), TransformBase::TransformBase(), XYTransform::XYTransform(), XYZTransform::XYZTransform(), and XYZTransformBase::XYZTransformBase(). |