COPASI API
4.16.103
|
#include <CGraphCurve.h>
Public Member Functions | |
CGraphCurve () | |
CGraphCurve (const CLCurve &c) | |
CGraphCurve (const CGraphCurve &c) | |
CArrow | getArrow () |
CLMetabReferenceGlyph::Role | getRole () |
bool | hasArrowP () |
void | invertOrderOfPoints () |
void | scale (const double &scaleFactor) |
void | setArrow (CArrow ar) |
void | setArrowP (bool b) |
void | setRole (CLMetabReferenceGlyph::Role r) |
![]() | |
void | addCurveSegment (const CLLineSegment &ls) |
void | addCurveSegment (const CLLineSegment *pLs) |
CLBoundingBox | calculateBoundingBox () const |
CLCurve () | |
CLCurve (const CLCurve &c) | |
CLCurve (const Curve &sbmlcurve) | |
void | clear () |
void | exportToSBML (Curve *c, const std::map< const CCopasiObject *, SBase * > &copasimodelmap) const |
const std::vector < CLLineSegment > & | getCurveSegments () const |
std::vector< CLPoint > | getListOfPoints () const |
size_t | getNumCurveSegments () const |
const CLLineSegment * | getSegmentAt (size_t i) const |
CLLineSegment * | getSegmentAt (size_t i) |
bool | isContinuous () const |
virtual void | moveBy (const CLPoint &p) |
bool | operator== (const CLCurve &rhs) const |
void | scale (const double &scaleFactor) |
~CLCurve () | |
![]() | |
CLBase () | |
CLBase (const CLBase &b) | |
CLBase (const SBase &) | |
const std::string & | getTag () const |
bool | hasTag () const |
void | setTag (const std::string &tag) |
virtual | ~CLBase () |
Private Attributes | |
CArrow | mArrow |
bool | mHasArrow |
CLMetabReferenceGlyph::Role | mRole |
Additional Inherited Members | |
![]() | |
std::vector< CLLineSegment > | mvCurveSegments |
![]() | |
std::string | mTag |
Definition at line 31 of file CGraphCurve.h.
CGraphCurve::CGraphCurve | ( | ) |
CGraphCurve::CGraphCurve | ( | const CLCurve & | c | ) |
CGraphCurve::CGraphCurve | ( | const CGraphCurve & | c | ) |
copy constructor (should make deep copy)
Definition at line 41 of file CGraphCurve.cpp.
References mArrow, mHasArrow, and mRole.
|
inline |
Definition at line 54 of file CGraphCurve.h.
References mArrow.
Referenced by CQGLNetworkPainter::drawEdge().
|
inline |
Definition at line 53 of file CGraphCurve.h.
References mRole.
Referenced by CQGLNetworkPainter::drawEdge().
|
inline |
Definition at line 49 of file CGraphCurve.h.
References mHasArrow.
Referenced by CQGLNetworkPainter::drawEdge(), and CQGLNetworkPainter::setNodeSize().
void CGraphCurve::invertOrderOfPoints | ( | ) |
Definition at line 62 of file CGraphCurve.cpp.
References BezierCurve::curvePts(), CLLineSegment::getBase1(), CLLineSegment::getBase2(), CLLineSegment::getEnd(), CLLineSegment::getStart(), CLPoint::getX(), CLPoint::getY(), CLLineSegment::isBezier(), mArrow, mHasArrow, CLCurve::mvCurveSegments, CArrow::setLine(), and CArrow::setPoint().
Referenced by CQGLNetworkPainter::checkCurve().
void CGraphCurve::scale | ( | const double & | scaleFactor | ) |
Definition at line 49 of file CGraphCurve.cpp.
References mArrow, mHasArrow, CLCurve::mvCurveSegments, and CArrow::scale().
Definition at line 51 of file CGraphCurve.h.
References mArrow.
Referenced by CQGLNetworkPainter::createGraph(), and CQGLNetworkPainter::setNodeSize().
|
inline |
Definition at line 50 of file CGraphCurve.h.
References mHasArrow.
Referenced by CQGLNetworkPainter::createGraph().
|
inline |
Definition at line 52 of file CGraphCurve.h.
References mRole.
Referenced by CQGLNetworkPainter::createGraph().
|
private |
Definition at line 34 of file CGraphCurve.h.
Referenced by CGraphCurve(), getArrow(), invertOrderOfPoints(), scale(), and setArrow().
|
private |
Definition at line 35 of file CGraphCurve.h.
Referenced by CGraphCurve(), hasArrowP(), invertOrderOfPoints(), scale(), and setArrowP().
|
private |
Definition at line 36 of file CGraphCurve.h.
Referenced by CGraphCurve(), getRole(), and setRole().