COPASI API
4.40.278
|
#include <CLBase.h>
Public Member Functions | |
CLBoundingBox () | |
CLBoundingBox (const BoundingBox &bb) | |
CLBoundingBox (const CLPoint &p, const CLDimensions &d) | |
CLPoint | getCenter () const |
CLDimensions & | getDimensions () |
const CLDimensions & | getDimensions () const |
CLPoint & | getPosition () |
const CLPoint & | getPosition () const |
BoundingBox | getSBMLBoundingBox () const |
bool | isEmpty () const |
virtual void | moveBy (const CLPoint &p) |
void | scale (const double &scaleFactor) |
void | setDimensions (const CLDimensions &d) |
void | setPosition (const CLPoint &p) |
Public Member Functions inherited from CLBase | |
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 |
Protected Attributes inherited from CLBase | |
std::string | mTag |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CLBoundingBox &bb) |
This class describes a bounding box.
|
inline |
|
inline |
CLBoundingBox::CLBoundingBox | ( | const BoundingBox & | bb | ) |
constructor from libsbml object
|
inline |
|
inline |
References mDimensions.
|
inline |
References mDimensions.
Referenced by CLayout::calculateAndAssignBounds(), CLayout::calculateBoundingBox(), 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(), CLGraphicalObject::getDimensions(), CLGraphicalObject::getHeight(), CLLayoutRenderer::getObjectsAt(), CLLayoutRenderer::getObjectsInBoundingBox(), CLGraphicalObject::getWidth(), CLLayoutRenderer::map_arrow_head(), compareGraphicalObjectsBySize::operator()(), CCopasiXML::saveBoundingBox(), CLGraphicalObject::setHeight(), CLGraphicalObject::setWidth(), CLLineEnding::toSBML(), and CLLayoutRenderer::update_textures_and_colors().
|
inline |
References mPosition.
Referenced by CLayout::calculateAndAssignBounds(), CLayout::calculateBoundingBox(), CLLayoutRenderer::convert_to_absolute(), CLLayoutRenderer::draw_datapoints(), CLLayoutRenderer::draw_ellipse(), CLLayoutRenderer::draw_group(), CLLayoutRenderer::draw_layout(), CLLayoutRenderer::draw_selection_box(), CLLayoutRenderer::draw_text(), CLLayoutRenderer::getObjectsAt(), CLLayoutRenderer::getObjectsInBoundingBox(), CLGraphicalObject::getPosition(), CLGraphicalObject::getX(), CLGraphicalObject::getY(), CLLayoutRenderer::move_graphical_object(), CCopasiXML::saveBoundingBox(), CLGraphicalObject::setX(), CLGraphicalObject::setY(), and CLLineEnding::toSBML().
BoundingBox CLBoundingBox::getSBMLBoundingBox | ( | ) | const |
convert to sbml bounding box
References CLDimensions::getHeight(), CLDimensions::getWidth(), CLPoint::getX(), CLPoint::getY(), mDimensions, and mPosition.
Referenced by CLGraphicalObject::exportToSBML().
|
inline |
References CLPoint::isEmpty(), CLDimensions::isEmpty(), mDimensions, and mPosition.
Referenced by CCopasiXML::saveLayoutList().
|
inlinevirtual |
Reimplemented from CLBase.
References CLPoint::moveBy(), and mPosition.
Referenced by CLGraphicalObject::moveBy().
|
inline |
References mDimensions, mPosition, CLPoint::scale(), and CLDimensions::scale().
|
inline |
References mDimensions.
Referenced by BoundingBoxHandler::processEnd(), and CLGraphicalObject::setDimensions().
|
inline |
References mPosition.
Referenced by CLLayoutRenderer::draw_layout(), BoundingBoxHandler::processEnd(), and CLGraphicalObject::setPosition().
|
friend |
insert operator
|
protected |
Referenced by getCenter(), getDimensions(), getSBMLBoundingBox(), isEmpty(), scale(), and setDimensions().
|
protected |
Referenced by getCenter(), getPosition(), getSBMLBoundingBox(), isEmpty(), moveBy(), scale(), and setPosition().