COPASI API  4.40.278
CLRenderCubicBezier Class Reference

#include <CLRenderCubicBezier.h>

Inheritance diagram for CLRenderCubicBezier:
[legend]

Public Member Functions

CLRelAbsVectorbasePoint1_X ()
 
const CLRelAbsVectorbasePoint1_X () const
 
CLRelAbsVectorbasePoint1_Y ()
 
const CLRelAbsVectorbasePoint1_Y () const
 
CLRelAbsVectorbasePoint1_Z ()
 
const CLRelAbsVectorbasePoint1_Z () const
 
CLRelAbsVectorbasePoint2_X ()
 
const CLRelAbsVectorbasePoint2_X () const
 
CLRelAbsVectorbasePoint2_Y ()
 
const CLRelAbsVectorbasePoint2_Y () const
 
CLRelAbsVectorbasePoint2_Z ()
 
const CLRelAbsVectorbasePoint2_Z () const
 
 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)
 
 CLRenderCubicBezier (const CLRenderCubicBezier &orig)
 
 CLRenderCubicBezier (const RenderCubicBezier &source)
 
virtual CLRenderCubicBezieroperator= (const CLRenderCubicBezier &orig)
 
void setBasePoint1 (const CLRelAbsVector &x, const CLRelAbsVector &y, const CLRelAbsVector &z=CLRelAbsVector(0.0, 0.0))
 
void setBasePoint1_X (const CLRelAbsVector &v)
 
void setBasePoint1_Y (const CLRelAbsVector &v)
 
void setBasePoint1_Z (const CLRelAbsVector &v)
 
void setBasePoint2 (const CLRelAbsVector &x, const CLRelAbsVector &y, const CLRelAbsVector &z=CLRelAbsVector(0.0, 0.0))
 
void setBasePoint2_X (const CLRelAbsVector &v)
 
void setBasePoint2_Y (const CLRelAbsVector &v)
 
void setBasePoint2_Z (const CLRelAbsVector &v)
 
virtual RenderPoint * toSBML (unsigned int level, unsigned int version) const
 
virtual ~CLRenderCubicBezier ()
 
- Public Member Functions inherited from CLRenderPoint
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)
 
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 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
 

Constructor & Destructor Documentation

◆ CLRenderCubicBezier() [1/4]

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() [2/4]

CLRenderCubicBezier::CLRenderCubicBezier ( const CLRenderCubicBezier orig)

Copy constructor.

◆ CLRenderCubicBezier() [3/4]

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() [4/4]

CLRenderCubicBezier::CLRenderCubicBezier ( const RenderCubicBezier &  source)

Constructor to generate object from the corresponding SBML object.

◆ ~CLRenderCubicBezier()

CLRenderCubicBezier::~CLRenderCubicBezier ( )
virtual

Destructor.

Member Function Documentation

◆ basePoint1_X() [1/2]

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.

◆ basePoint1_X() [2/2]

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().

◆ basePoint1_Y() [1/2]

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.

◆ basePoint1_Y() [2/2]

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().

◆ basePoint1_Z() [1/2]

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.

◆ basePoint1_Z() [2/2]

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().

◆ basePoint2_X() [1/2]

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.

◆ basePoint2_X() [2/2]

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().

◆ basePoint2_Y() [1/2]

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.

◆ basePoint2_Y() [2/2]

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().

◆ basePoint2_Z() [1/2]

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.

◆ basePoint2_Z() [2/2]

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().

◆ operator=()

CLRenderCubicBezier & CLRenderCubicBezier::operator= ( const CLRenderCubicBezier orig)
virtual

Assignment operator

Assignment operator.

References mBasePoint1_X, mBasePoint1_Y, mBasePoint1_Z, mBasePoint2_X, mBasePoint2_Y, mBasePoint2_Z, and CLRenderPoint::operator=().

◆ setBasePoint1()

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().

◆ setBasePoint1_X()

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.

◆ setBasePoint1_Y()

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.

◆ setBasePoint1_Z()

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.

◆ setBasePoint2()

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().

◆ setBasePoint2_X()

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.

◆ setBasePoint2_Y()

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.

◆ setBasePoint2_Z()

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.

◆ toSBML()

RenderPoint * CLRenderCubicBezier::toSBML ( unsigned int  level,
unsigned int  version 
) const
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().

Member Data Documentation

◆ mBasePoint1_X

CLRelAbsVector CLRenderCubicBezier::mBasePoint1_X
protected

◆ mBasePoint1_Y

CLRelAbsVector CLRenderCubicBezier::mBasePoint1_Y
protected

◆ mBasePoint1_Z

CLRelAbsVector CLRenderCubicBezier::mBasePoint1_Z
protected

◆ mBasePoint2_X

CLRelAbsVector CLRenderCubicBezier::mBasePoint2_X
protected

◆ mBasePoint2_Y

CLRelAbsVector CLRenderCubicBezier::mBasePoint2_Y
protected

◆ mBasePoint2_Z

CLRelAbsVector CLRenderCubicBezier::mBasePoint2_Z
protected

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