COPASI API
4.40.278
|
#include <CLRenderCubicBezier.h>
Protected Attributes | |
CLRelAbsVector | mBasePoint1_X |
CLRelAbsVector | mBasePoint1_Y |
CLRelAbsVector | mBasePoint1_Z |
CLRelAbsVector | mBasePoint2_X |
CLRelAbsVector | mBasePoint2_Y |
CLRelAbsVector | mBasePoint2_Z |
Protected Attributes inherited from CLRenderPoint | |
CLRelAbsVector | mXOffset |
CLRelAbsVector | mYOffset |
CLRelAbsVector | mZOffset |
Protected Attributes inherited from CLBase | |
std::string | mTag |
CLRenderCubicBezier::CLRenderCubicBezier | ( | ) |
Creates a CubicBezier and returns the pointer.
Creates a CLRenderCubicBezier and returns the pointer.
References mBasePoint1_X, mBasePoint1_Y, mBasePoint1_Z, mBasePoint2_X, mBasePoint2_Y, mBasePoint2_Z, CLRenderPoint::mXOffset, CLRenderPoint::mYOffset, and CLRenderPoint::mZOffset.
CLRenderCubicBezier::CLRenderCubicBezier | ( | const CLRenderCubicBezier & | orig | ) |
Copy constructor.
CLRenderCubicBezier::CLRenderCubicBezier | ( | const CLRelAbsVector & | bp1_x, |
const CLRelAbsVector & | bp1_y, | ||
const CLRelAbsVector & | bp1_z, | ||
const CLRelAbsVector & | bp2_x, | ||
const CLRelAbsVector & | bp2_y, | ||
const CLRelAbsVector & | bp2_z, | ||
const CLRelAbsVector & | end_x, | ||
const CLRelAbsVector & | end_y, | ||
const CLRelAbsVector & | end_z | ||
) |
Creates a CubicBezier with the given points and returns the pointer.
CLRenderCubicBezier::CLRenderCubicBezier | ( | const RenderCubicBezier & | source | ) |
Constructor to generate object from the corresponding SBML object.
|
virtual |
Destructor.
CLRelAbsVector & CLRenderCubicBezier::basePoint1_X | ( | ) |
Returns the x value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_X.
const CLRelAbsVector & CLRenderCubicBezier::basePoint1_X | ( | ) | const |
Returns the x value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_X.
Referenced by CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), and CCopasiXML::saveRenderPoint().
CLRelAbsVector & CLRenderCubicBezier::basePoint1_Y | ( | ) |
Returns the y value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_Y.
const CLRelAbsVector & CLRenderCubicBezier::basePoint1_Y | ( | ) | const |
Returns the y value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_Y.
Referenced by CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), and CCopasiXML::saveRenderPoint().
CLRelAbsVector & CLRenderCubicBezier::basePoint1_Z | ( | ) |
Returns the z value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_Z.
const CLRelAbsVector & CLRenderCubicBezier::basePoint1_Z | ( | ) | const |
Returns the z value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_Z.
Referenced by CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), and CCopasiXML::saveRenderPoint().
CLRelAbsVector & CLRenderCubicBezier::basePoint2_X | ( | ) |
Returns the x value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_X.
const CLRelAbsVector & CLRenderCubicBezier::basePoint2_X | ( | ) | const |
Returns the x value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_X.
Referenced by CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), and CCopasiXML::saveRenderPoint().
CLRelAbsVector & CLRenderCubicBezier::basePoint2_Y | ( | ) |
Returns the y value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_Y.
const CLRelAbsVector & CLRenderCubicBezier::basePoint2_Y | ( | ) | const |
Returns the y value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_Y.
Referenced by CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), and CCopasiXML::saveRenderPoint().
CLRelAbsVector & CLRenderCubicBezier::basePoint2_Z | ( | ) |
Returns the z value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_Z.
const CLRelAbsVector & CLRenderCubicBezier::basePoint2_Z | ( | ) | const |
Returns the z value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_Z.
Referenced by CLLayoutRenderer::draw_curve(), CLLayoutRenderer::draw_polygon(), and CCopasiXML::saveRenderPoint().
|
virtual |
Assignment operator
Assignment operator.
References mBasePoint1_X, mBasePoint1_Y, mBasePoint1_Z, mBasePoint2_X, mBasePoint2_Y, mBasePoint2_Z, and CLRenderPoint::operator=().
void CLRenderCubicBezier::setBasePoint1 | ( | const CLRelAbsVector & | x, |
const CLRelAbsVector & | y, | ||
const CLRelAbsVector & | z = CLRelAbsVector(0.0, 0.0) |
||
) |
Sets the first basepoint to the given values.
References mBasePoint1_X, mBasePoint1_Y, mBasePoint1_Z, CLRenderPoint::x(), CLRenderPoint::y(), and CLRenderPoint::z().
void CLRenderCubicBezier::setBasePoint1_X | ( | const CLRelAbsVector & | v | ) |
Sets the x value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_X.
void CLRenderCubicBezier::setBasePoint1_Y | ( | const CLRelAbsVector & | v | ) |
Sets the y value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_Y.
void CLRenderCubicBezier::setBasePoint1_Z | ( | const CLRelAbsVector & | v | ) |
Sets the z value of the first base point of the curve (the one closer to the starting point).
References mBasePoint1_Z.
void CLRenderCubicBezier::setBasePoint2 | ( | const CLRelAbsVector & | x, |
const CLRelAbsVector & | y, | ||
const CLRelAbsVector & | z = CLRelAbsVector(0.0, 0.0) |
||
) |
Sets the second basepoint to the given values.
References mBasePoint2_X, mBasePoint2_Y, mBasePoint2_Z, CLRenderPoint::x(), CLRenderPoint::y(), and CLRenderPoint::z().
void CLRenderCubicBezier::setBasePoint2_X | ( | const CLRelAbsVector & | v | ) |
Sets the x value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_X.
void CLRenderCubicBezier::setBasePoint2_Y | ( | const CLRelAbsVector & | v | ) |
Sets the y value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_Y.
void CLRenderCubicBezier::setBasePoint2_Z | ( | const CLRelAbsVector & | v | ) |
Sets the z value of the second base point of the curve (the one closer to the end point).
References mBasePoint2_Z.
|
virtual |
Converts this object to the corresponding SBML object.
Reimplemented from CLRenderPoint.
References CLRenderPoint::addSBMLAttributes(), mBasePoint1_X, mBasePoint1_Y, mBasePoint1_Z, mBasePoint2_X, mBasePoint2_Y, mBasePoint2_Z, and CLRelAbsVector::toSBML().
|
protected |
Referenced by basePoint1_X(), CLRenderCubicBezier(), operator=(), setBasePoint1(), setBasePoint1_X(), and toSBML().
|
protected |
Referenced by basePoint1_Y(), CLRenderCubicBezier(), operator=(), setBasePoint1(), setBasePoint1_Y(), and toSBML().
|
protected |
Referenced by basePoint1_Z(), CLRenderCubicBezier(), operator=(), setBasePoint1(), setBasePoint1_Z(), and toSBML().
|
protected |
Referenced by basePoint2_X(), CLRenderCubicBezier(), operator=(), setBasePoint2(), setBasePoint2_X(), and toSBML().
|
protected |
Referenced by basePoint2_Y(), CLRenderCubicBezier(), operator=(), setBasePoint2(), setBasePoint2_Y(), and toSBML().
|
protected |
Referenced by basePoint2_Z(), CLRenderCubicBezier(), operator=(), setBasePoint2(), setBasePoint2_Z(), and toSBML().