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

A transform that transforms the X, Y and Z coordinates independently. More...

#include <XYZTransform.h>

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

Public Member Functions

virtual double aspectRatio () const
 Get the aspect ratio.
virtual XYZTransformclone () const
 Creates a new Transform object by copying an existing one.
virtual bool isLinearInZ () const
 Returns true if Z axis is linear.
virtual const RangelimitX () const
 Returns a Range whose values are the limits on the X coordinate.
virtual const RangelimitY () const
 Returns a Range whose values are the limits on the Y coordinate.
virtual const RangelimitZ () const
 Returns a Range whose values are the limits on the Z coordinate.
const std::string & name () const
 Returns the name of the Transform.
virtual void transform (double &x, double &y, double &z) const
virtual void transform (std::vector< double > &x, std::vector< double > &y, std::vector< double > &z) const
virtual void validate (Range &x, Range &y, Range &z) const
TransformBasexTransform () const
 Returns the transform function on the X axis.
 XYZTransform (UnaryTransform *x, UnaryTransform *y, UnaryTransform *z)
 The following constructor takes three base constructors as arguments.
 XYZTransform (const XYZTransform &)
 The copy constructor.
TransformBaseyTransform () const
 Returns the transform function on the Y axis.
TransformBasezTransform () const
 Returns the transform function on the Z axis.
virtual ~XYZTransform ()
 The virtual destructor.

Protected Attributes

std::string m_name
 Name of the Transform.

Private Attributes

UnaryTransformm_x
 The transform on the X axis.
UnaryTransformm_y
 The transform on the Y axis.
UnaryTransformm_z
 The transform on the Z axis.

Detailed Description

A transform that transforms the X, Y and Z coordinates independently.

Author
Paul F. Kunz Paul_.nosp@m.Kunz.nosp@m.@slac.nosp@m..sta.nosp@m.nford.nosp@m..edu
Oded Wurman owurm.nosp@m.an@s.nosp@m.tanfo.nosp@m.rd.e.nosp@m.du

Definition at line 27 of file XYZTransform.h.

Constructor & Destructor Documentation

The following constructor takes three base constructors as arguments.

Definition at line 20 of file XYZTransform.cxx.

References TransformBase::m_name, XYZTransform::m_x, XYZTransform::m_y, and XYZTransform::m_z.

XYZTransform ( const XYZTransform t)

The copy constructor.

Definition at line 37 of file XYZTransform.cxx.

References UnaryTransform::clone(), XYZTransform::m_x, XYZTransform::m_y, and XYZTransform::m_z.

~XYZTransform ( )
virtual

The virtual destructor.

Definition at line 30 of file XYZTransform.cxx.

References XYZTransform::m_x, XYZTransform::m_y, and XYZTransform::m_z.

Member Function Documentation

double aspectRatio ( ) const
virtualinherited
XYZTransform * clone ( ) const
virtual

Creates a new Transform object by copying an existing one.

Implements XYZTransformBase.

Definition at line 54 of file XYZTransform.cxx.

bool isLinearInZ ( ) const
virtual

Returns true if Z axis is linear.

Definition at line 123 of file XYZTransform.cxx.

References UnaryTransform::isLinear(), and XYZTransform::m_z.

const Range & limitX ( ) const
virtual

Returns a Range whose values are the limits on the X coordinate.

Definition at line 91 of file XYZTransform.cxx.

References UnaryTransform::limits(), and XYZTransform::m_x.

const Range & limitY ( ) const
virtual

Returns a Range whose values are the limits on the Y coordinate.

Definition at line 97 of file XYZTransform.cxx.

References UnaryTransform::limits(), and XYZTransform::m_y.

const Range & limitZ ( ) const
virtual

Returns a Range whose values are the limits on the Z coordinate.

Definition at line 103 of file XYZTransform.cxx.

References UnaryTransform::limits(), and XYZTransform::m_z.

const string & name ( ) const
inherited
void transform ( double &  x,
double &  y,
double &  z 
) const
virtual
void transform ( std::vector< double > &  x,
std::vector< double > &  y,
std::vector< double > &  z 
) const
virtual
void validate ( Range x,
Range y,
Range z 
) const
virtual
TransformBase * xTransform ( ) const

Returns the transform function on the X axis.

Definition at line 108 of file XYZTransform.cxx.

References XYZTransform::m_x.

TransformBase * yTransform ( ) const

Returns the transform function on the Y axis.

Definition at line 113 of file XYZTransform.cxx.

References XYZTransform::m_y.

TransformBase * zTransform ( ) const

Returns the transform function on the Z axis.

Definition at line 118 of file XYZTransform.cxx.

References XYZTransform::m_z.

Member Data Documentation

std::string m_name
protectedinherited
UnaryTransform* m_x
private
UnaryTransform* m_y
private
UnaryTransform* m_z
private

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

Generated for HippoDraw Class Library by doxygen