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