COPASI API
4.16.103
|
#include <iostream>
#include <map>
#include <layout/CCopasiSpringLayout.h>
#include <layout/CLGlyphs.h>
#include <layout/CLReactionGlyph.h>
#include <layout/CLayout.h>
#include <model/CCompartment.h>
#include <model/CReaction.h>
#include <model/CMetab.h>
#include <randomGenerator/CRandom.h>
Go to the source code of this file.
Classes | |
class | CompartmentInfo |
Functions | |
void | placeTextGlyphs (CLayout *pLayout) |
void | randomlyPlaceGlyphInCompartmentGlyph (CLGraphicalObject *pGl, const CLGraphicalObject *pContainer, CRandom *pRandom) |
void | randomlyPlaceGlyphInDimensions (CLGraphicalObject *pGl, const CLDimensions *pContainer, CRandom *pRandom) |
Definition at line 885 of file CCopasiSpringLayout.cpp.
References CLTextGlyph::getGraphicalObject(), CLayout::getListOfTextGlyphs(), CLGraphicalObject::getX(), CLGraphicalObject::getY(), CLGraphicalObject::setPosition(), and CCopasiVector< T >::size().
Referenced by CCopasiSpringLayout::randomize().
void randomlyPlaceGlyphInCompartmentGlyph | ( | CLGraphicalObject * | pGl, |
const CLGraphicalObject * | pContainer, | ||
CRandom * | pRandom | ||
) |
Definition at line 869 of file CCopasiSpringLayout.cpp.
References CLGraphicalObject::getDimensions(), CLDimensions::getHeight(), CLGraphicalObject::getPosition(), CRandom::getRandomCC(), CLDimensions::getWidth(), CLPoint::getX(), CLPoint::getY(), and CLGraphicalObject::setPosition().
Referenced by CCopasiSpringLayout::randomize().
void randomlyPlaceGlyphInDimensions | ( | CLGraphicalObject * | pGl, |
const CLDimensions * | pContainer, | ||
CRandom * | pRandom | ||
) |
Definition at line 878 of file CCopasiSpringLayout.cpp.
References CLGraphicalObject::getDimensions(), CLDimensions::getHeight(), CRandom::getRandomCC(), CLDimensions::getWidth(), and CLGraphicalObject::setPosition().
Referenced by CCopasiSpringLayout::randomize().