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.
const VisualNode::NodeAllocator & na
NodeCursor(VisualNode *theNode, const typename VisualNode::NodeAllocator &na)
bool mayMoveDownwards(void)
Test if cursor may move to the first child node.
NodeAllocatorBase< VisualNode > NodeAllocator
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.
The Gecode Interactive Search Tool.
Gecode toplevel namespace