COPASI API
4.16.103
|
#include <CLBase.h>
Public Member Functions | |
CLBoundingBox () | |
CLBoundingBox (const CLPoint &p, const CLDimensions &d) | |
CLBoundingBox (const BoundingBox &bb) | |
CLPoint | getCenter () const |
const CLDimensions & | getDimensions () const |
CLDimensions & | getDimensions () |
const CLPoint & | getPosition () const |
CLPoint & | getPosition () |
BoundingBox | getSBMLBoundingBox () const |
virtual void | moveBy (const CLPoint &p) |
void | scale (const double &scaleFactor) |
void | setDimensions (const CLDimensions &d) |
void | setPosition (const CLPoint &p) |
![]() | |
CLBase () | |
CLBase (const CLBase &b) | |
CLBase (const SBase &) | |
const std::string & | getTag () const |
bool | hasTag () const |
void | setTag (const std::string &tag) |
virtual | ~CLBase () |
Protected Attributes | |
CLDimensions | mDimensions |
CLPoint | mPosition |
![]() | |
std::string | mTag |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CLBoundingBox &bb) |
|
inline |
CLBoundingBox::CLBoundingBox | ( | const BoundingBox & | bb | ) |
|
inline |
Definition at line 269 of file CLBase.h.
References CLDimensions::getHeight(), CLDimensions::getWidth(), CLPoint::getX(), CLPoint::getY(), mDimensions, and mPosition.
Referenced by CCopasiSpringLayout::borderProjection(), and CCopasiSpringLayout::finalizeState().
|
inline |
Definition at line 266 of file CLBase.h.
References mDimensions.
Referenced by CLabel::adaptToHeight(), addToPath(), adjustPosition(), CQGLLayoutPainter::calculateAndAssignBounds(), CLayout::calculateAndAssignBounds(), CLayout::calculateBoundingBox(), CQGLNetworkPainter::checkCurve(), CLLayoutRenderer::convert_to_absolute(), CCopasiSpringLayout::createLayout(), CLLayoutRenderer::draw_datapoints(), CLLayoutRenderer::draw_ellipse(), CLLayoutRenderer::draw_group(), CLLayoutRenderer::draw_image(), CLLayoutRenderer::draw_layout(), CLLayoutRenderer::draw_rectangle(), CLLayoutRenderer::draw_selection_box(), CLLayoutRenderer::draw_text(), fillItemFromEllipse(), fillItemFromImage(), fillItemFromRectangle(), fillItemFromText(), CLGraphicalObject::getDimensions(), getFont(), CLGraphicalObject::getHeight(), getLinearGradient(), CLLayoutRenderer::getObjectsAt(), CLLayoutRenderer::getObjectsInBoundingBox(), getPath(), CQGLNetworkPainter::getPointNearCircle(), CQGLNetworkPainter::getPointOnCircle(), CQGLNetworkPainter::getPointOnRectangle(), getRadialGradient(), CLGraphicalObject::getWidth(), CLLayoutRenderer::map_arrow_head(), moveToPoint(), compareGraphicalObjectsBySize::operator()(), CCopasiXML::saveBoundingBox(), CLGraphicalObject::setHeight(), CLGraphicalObject::setWidth(), CLLineEnding::toSBML(), and CLLayoutRenderer::update_textures_and_colors().
|
inline |
|
inline |
Definition at line 265 of file CLBase.h.
References mPosition.
Referenced by addToPath(), adjustPosition(), CQGLLayoutPainter::calculateAndAssignBounds(), CLayout::calculateAndAssignBounds(), CLayout::calculateBoundingBox(), CQGLNetworkPainter::checkCurve(), CLLayoutRenderer::convert_to_absolute(), CQLabelGraphicsItem::CQLabelGraphicsItem(), CLLayoutRenderer::draw_datapoints(), CLLayoutRenderer::draw_ellipse(), CLLayoutRenderer::draw_group(), CLLayoutRenderer::draw_layout(), CLLayoutRenderer::draw_selection_box(), CLLayoutRenderer::draw_text(), fillItemFromEllipse(), fillItemFromImage(), fillItemFromRectangle(), fillItemFromText(), getLinearGradient(), CLLayoutRenderer::getObjectsAt(), CLLayoutRenderer::getObjectsInBoundingBox(), getPath(), CQGLNetworkPainter::getPointNearCircle(), CQGLNetworkPainter::getPointOnCircle(), CQGLNetworkPainter::getPointOnRectangle(), CLGraphicalObject::getPosition(), getRadialGradient(), CLGraphicalObject::getX(), CLGraphicalObject::getY(), CLLayoutRenderer::move_graphical_object(), moveToPoint(), CCopasiXML::saveBoundingBox(), CLabel::scalePosition(), CLGraphicalObject::setX(), CLGraphicalObject::setY(), and CLLineEnding::toSBML().
|
inline |
BoundingBox CLBoundingBox::getSBMLBoundingBox | ( | ) | const |
convert to sbml bounding box
Definition at line 60 of file CLBase.cpp.
References CLDimensions::getHeight(), CLDimensions::getWidth(), CLPoint::getX(), CLPoint::getY(), mDimensions, and mPosition.
Referenced by CLGraphicalObject::exportToSBML().
Reimplemented from CLBase.
Definition at line 275 of file CLBase.h.
References CLPoint::moveBy(), and mPosition.
Referenced by CLGraphicalObject::moveBy().
|
inline |
Definition at line 285 of file CLBase.h.
References mDimensions, mPosition, CLPoint::scale(), and CLDimensions::scale().
Referenced by CGraphNode::scale().
|
inline |
Definition at line 273 of file CLBase.h.
References mDimensions.
Referenced by CLabel::adaptToHeight(), CLGraphicalObject::setDimensions(), and CCopasiXMLParser::BoundingBoxElement::start().
Definition at line 272 of file CLBase.h.
References mPosition.
Referenced by CLLayoutRenderer::draw_layout(), CLGraphicalObject::setPosition(), and CCopasiXMLParser::BoundingBoxElement::start().
|
friend |
|
protected |
Definition at line 250 of file CLBase.h.
Referenced by getCenter(), getDimensions(), getSBMLBoundingBox(), operator<<(), scale(), and setDimensions().
|
protected |
Definition at line 248 of file CLBase.h.
Referenced by getCenter(), getPosition(), getSBMLBoundingBox(), moveBy(), operator<<(), scale(), and setPosition().