COPASI API  4.40.278
CLRenderPoint Class Reference

#include <CLRenderPoint.h>

Inheritance diagram for CLRenderPoint:
[legend]

Public Member Functions

virtual void addSBMLAttributes (RenderPoint *pPoint) const
 
 CLRenderPoint ()
 
 CLRenderPoint (const CLRelAbsVector &x, const CLRelAbsVector &y, const CLRelAbsVector &z=CLRelAbsVector(0.0, 0.0))
 
 CLRenderPoint (const CLRenderPoint &orig)
 
 CLRenderPoint (const RenderPoint &source)
 
CLRelAbsVectorgetXOffset ()
 
const CLRelAbsVectorgetXOffset () const
 
CLRelAbsVectorgetYOffset ()
 
const CLRelAbsVectorgetYOffset () const
 
CLRelAbsVectorgetZOffset ()
 
const CLRelAbsVectorgetZOffset () const
 
void initDefaults ()
 
CLRenderPointoperator= (const CLRenderPoint &orig)
 
bool operator== (const CLRenderPoint &left)
 
void setOffsets (const CLRelAbsVector &x, const CLRelAbsVector &y, const CLRelAbsVector &z=CLRelAbsVector(0.0, 0.0))
 
void setX (const CLRelAbsVector &x)
 
void setXOffset (const CLRelAbsVector &x)
 
void setY (const CLRelAbsVector &y)
 
void setYOffset (const CLRelAbsVector &y)
 
void setZ (const CLRelAbsVector &z)
 
void setZOffset (const CLRelAbsVector &z)
 
virtual RenderPoint * toSBML (unsigned int level, unsigned int version) const
 
CLRelAbsVectorx ()
 
const CLRelAbsVectorx () const
 
CLRelAbsVectory ()
 
const CLRelAbsVectory () const
 
CLRelAbsVectorz ()
 
const CLRelAbsVectorz () const
 
virtual ~CLRenderPoint ()
 
- Public Member Functions inherited from CLBase
 CLBase ()
 
 CLBase (const CLBase &b)
 
 CLBase (const SBase &)
 
const std::string & getTag () const
 
bool hasTag () const
 
virtual void moveBy (const CLPoint &)
 
void setTag (const std::string &tag)
 
virtual ~CLBase ()
 

Protected Attributes

CLRelAbsVector mXOffset
 
CLRelAbsVector mYOffset
 
CLRelAbsVector mZOffset
 
- Protected Attributes inherited from CLBase
std::string mTag
 

Constructor & Destructor Documentation

◆ CLRenderPoint() [1/4]

CLRenderPoint::CLRenderPoint ( )

Creates a new point with x,y and z set to 0.0.

◆ CLRenderPoint() [2/4]

CLRenderPoint::CLRenderPoint ( const CLRenderPoint orig)

Copy constructor.

◆ CLRenderPoint() [3/4]

CLRenderPoint::CLRenderPoint ( const CLRelAbsVector x,
const CLRelAbsVector y,
const CLRelAbsVector z = CLRelAbsVector(0.0, 0.0) 
)

Creates a new point with the given ccordinates.

◆ CLRenderPoint() [4/4]

CLRenderPoint::CLRenderPoint ( const RenderPoint &  source)

Constructor to generate object from the corresponding SBML object.

◆ ~CLRenderPoint()

CLRenderPoint::~CLRenderPoint ( )
virtual

Destructor.

Member Function Documentation

◆ addSBMLAttributes()

void CLRenderPoint::addSBMLAttributes ( RenderPoint *  pPoint) const
virtual

Adds the attributes for a render point object to the passed in. object.

References mXOffset, mYOffset, mZOffset, and CLRelAbsVector::toSBML().

Referenced by CLRenderCubicBezier::toSBML(), and toSBML().

◆ getXOffset() [1/2]

CLRelAbsVector & CLRenderPoint::getXOffset ( )

Returns the x offset.

References x().

◆ getXOffset() [2/2]

const CLRelAbsVector & CLRenderPoint::getXOffset ( ) const

Returns the x offset.

References x().

◆ getYOffset() [1/2]

CLRelAbsVector & CLRenderPoint::getYOffset ( )

Returns the y offset.

References y().

◆ getYOffset() [2/2]

const CLRelAbsVector & CLRenderPoint::getYOffset ( ) const

Returns the y offset.

References y().

◆ getZOffset() [1/2]

CLRelAbsVector & CLRenderPoint::getZOffset ( )

Returns the z offset.

References z().

◆ getZOffset() [2/2]

const CLRelAbsVector & CLRenderPoint::getZOffset ( ) const

Returns the z offset.

References z().

◆ initDefaults()

void CLRenderPoint::initDefaults ( )

Sets the Z offset to 0.0.

References setZOffset().

◆ operator=()

CLRenderPoint & CLRenderPoint::operator= ( const CLRenderPoint orig)

Assignment operator

References mXOffset, mYOffset, and mZOffset.

Referenced by CLRenderCubicBezier::operator=().

◆ operator==()

bool CLRenderPoint::operator== ( const CLRenderPoint left)

Comparison operator.

References mXOffset, mYOffset, and mZOffset.

◆ setOffsets()

void CLRenderPoint::setOffsets ( const CLRelAbsVector x,
const CLRelAbsVector y,
const CLRelAbsVector z = CLRelAbsVector(0.0, 0.0) 
)

Sets the coordinates to the given values.

References setXOffset(), setYOffset(), and setZOffset().

◆ setX()

void CLRenderPoint::setX ( const CLRelAbsVector x)

Sets the x offset.

References mXOffset, and x().

Referenced by setXOffset().

◆ setXOffset()

void CLRenderPoint::setXOffset ( const CLRelAbsVector x)

Sets the x offset.

References setX().

Referenced by setOffsets().

◆ setY()

void CLRenderPoint::setY ( const CLRelAbsVector y)

Sets the y offset.

References mYOffset, and y().

Referenced by setYOffset().

◆ setYOffset()

void CLRenderPoint::setYOffset ( const CLRelAbsVector y)

Sets the y offset.

References setY().

Referenced by setOffsets().

◆ setZ()

void CLRenderPoint::setZ ( const CLRelAbsVector z)

Sets the z offset.

References mZOffset, and z().

Referenced by setZOffset().

◆ setZOffset()

void CLRenderPoint::setZOffset ( const CLRelAbsVector z)

Sets the z offset.

References setZ().

Referenced by initDefaults(), and setOffsets().

◆ toSBML()

RenderPoint * CLRenderPoint::toSBML ( unsigned int  level,
unsigned int  version 
) const
virtual

Converts this object to the corresponding SBML object.

Reimplemented in CLRenderCubicBezier.

References addSBMLAttributes().

◆ x() [1/2]

CLRelAbsVector & CLRenderPoint::x ( )

Returns the x offset.

References mXOffset.

◆ x() [2/2]

◆ y() [1/2]

CLRelAbsVector & CLRenderPoint::y ( )

Returns the y offset.

References mYOffset.

◆ y() [2/2]

◆ z() [1/2]

CLRelAbsVector & CLRenderPoint::z ( )

Returns the z offset.

References mZOffset.

◆ z() [2/2]

Member Data Documentation

◆ mXOffset

◆ mYOffset

◆ mZOffset


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