COPASI API
4.40.278
|
#include <CLRenderPoint.h>
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) | |
CLRelAbsVector & | getXOffset () |
const CLRelAbsVector & | getXOffset () const |
CLRelAbsVector & | getYOffset () |
const CLRelAbsVector & | getYOffset () const |
CLRelAbsVector & | getZOffset () |
const CLRelAbsVector & | getZOffset () const |
void | initDefaults () |
CLRenderPoint & | operator= (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 |
CLRelAbsVector & | x () |
const CLRelAbsVector & | x () const |
CLRelAbsVector & | y () |
const CLRelAbsVector & | y () const |
CLRelAbsVector & | z () |
const CLRelAbsVector & | z () 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 |
CLRenderPoint::CLRenderPoint | ( | ) |
Creates a new point with x,y and z set to 0.0.
CLRenderPoint::CLRenderPoint | ( | const CLRenderPoint & | orig | ) |
Copy constructor.
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::CLRenderPoint | ( | const RenderPoint & | source | ) |
Constructor to generate object from the corresponding SBML object.
|
virtual |
Destructor.
|
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().
CLRelAbsVector & CLRenderPoint::getXOffset | ( | ) |
Returns the x offset.
References x().
const CLRelAbsVector & CLRenderPoint::getXOffset | ( | ) | const |
Returns the x offset.
References x().
CLRelAbsVector & CLRenderPoint::getYOffset | ( | ) |
Returns the y offset.
References y().
const CLRelAbsVector & CLRenderPoint::getYOffset | ( | ) | const |
Returns the y offset.
References y().
CLRelAbsVector & CLRenderPoint::getZOffset | ( | ) |
Returns the z offset.
References z().
const CLRelAbsVector & CLRenderPoint::getZOffset | ( | ) | const |
Returns the z offset.
References z().
void CLRenderPoint::initDefaults | ( | ) |
Sets the Z offset to 0.0.
References setZOffset().
CLRenderPoint & CLRenderPoint::operator= | ( | const CLRenderPoint & | orig | ) |
Assignment operator
References mXOffset, mYOffset, and mZOffset.
Referenced by CLRenderCubicBezier::operator=().
bool CLRenderPoint::operator== | ( | const CLRenderPoint & | left | ) |
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().
void CLRenderPoint::setX | ( | const CLRelAbsVector & | x | ) |
void CLRenderPoint::setXOffset | ( | const CLRelAbsVector & | x | ) |
void CLRenderPoint::setY | ( | const CLRelAbsVector & | y | ) |
void CLRenderPoint::setYOffset | ( | const CLRelAbsVector & | y | ) |
void CLRenderPoint::setZ | ( | const CLRelAbsVector & | z | ) |
void CLRenderPoint::setZOffset | ( | const CLRelAbsVector & | z | ) |
|
virtual |
Converts this object to the corresponding SBML object.
Reimplemented in CLRenderCubicBezier.
References addSBMLAttributes().
CLRelAbsVector & CLRenderPoint::x | ( | ) |
Returns the x offset.
References mXOffset.
const CLRelAbsVector & CLRenderPoint::x | ( | ) | const |
Returns the x offset.
References mXOffset.
Referenced by CLLayoutRenderer::convert_to_absolute(), CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), getXOffset(), CCopasiXML::saveRenderPoint(), CLRenderCubicBezier::setBasePoint1(), CLRenderCubicBezier::setBasePoint2(), and setX().
CLRelAbsVector & CLRenderPoint::y | ( | ) |
Returns the y offset.
References mYOffset.
const CLRelAbsVector & CLRenderPoint::y | ( | ) | const |
Returns the y offset.
References mYOffset.
Referenced by CLLayoutRenderer::convert_to_absolute(), CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), getYOffset(), CCopasiXML::saveRenderPoint(), CLRenderCubicBezier::setBasePoint1(), CLRenderCubicBezier::setBasePoint2(), and setY().
CLRelAbsVector & CLRenderPoint::z | ( | ) |
Returns the z offset.
References mZOffset.
const CLRelAbsVector & CLRenderPoint::z | ( | ) | const |
Returns the z offset.
References mZOffset.
Referenced by CLLayoutRenderer::convert_to_absolute(), CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), getZOffset(), CCopasiXML::saveRenderPoint(), CLRenderCubicBezier::setBasePoint1(), CLRenderCubicBezier::setBasePoint2(), and setZ().
|
protected |
Referenced by addSBMLAttributes(), CLRenderCubicBezier::CLRenderCubicBezier(), operator=(), operator==(), setX(), and x().
|
protected |
Referenced by addSBMLAttributes(), CLRenderCubicBezier::CLRenderCubicBezier(), operator=(), operator==(), setY(), and y().
|
protected |
Referenced by addSBMLAttributes(), CLRenderCubicBezier::CLRenderCubicBezier(), operator=(), operator==(), setZ(), and z().