34namespace Gecode {
namespace Gist {
void processCurrentNode(void)
Compute layout for current node.
bool mayMoveDownwards(void)
Test if the cursor may move to the first child node.
LayoutCursor(VisualNode *theNode, const VisualNode::NodeAllocator &na)
Constructor.
A cursor that can be run over a tree.
const VisualNode::NodeAllocator & na
bool mayMoveDownwards(void)
Test if cursor may move to the first child node.
unsigned int getNumberOfChildren(void) const
Return the number of children.
static Shape * leaf
Static shape for leaf nodes.
Node class that supports visual layout
void setShape(Shape *s)
Set the shape of this node.
bool isHidden(void)
Return if node is hidden.
void computeShape(const NodeAllocator &na)
Compute the shape according to the shapes of the children.
void setDirty(bool d)
Mark node as dirty.
bool isDirty(void)
Return whether node is marked as dirty.
void setChildrenLayoutDone(bool d)
Mark node whether the layout of the node's children has been completed.
Gecode toplevel namespace