next up previous contents index
Next: GraphWin for Cluster Graphs Up: Layout Interfaces Previous: Interface to GraphWin (   Contents   Index


Interface with Animation to GraphWin ( GraphWinAnimInterface )

Baseclasses


\begin{picture}(8,4)
\thicklines
\put(0,3){\framebox (5,1){\bf LayoutInterface...
...(0,-1){1}}\put(0,0){\framebox (8,1){\bf GraphWinAnimInterface}}
\end{picture}

Definition

An instance A of type GraphWinAnimInterface is an interface to the graphical attributes of a GraphWin object. It buffers the graphical attributes until update() is called. The update() methods uses the set_layout() function of GraphWin, which performs an animation sequence in order to transform the old layout into the new one.

#include < AGD/GraphWinAnimInterface.h >

Creation

GraphWinAnimInterface A(GraphWin& GW) creates an instance A of type GraphWinAnimInterface initialized to an interface to GW.

GraphWinAnimInterface A(const GraphWinAnimInterface& gwi)
    copy constructor.

Operations

void A.init(GraphWin& GW) initializes A for GW.


GraphWinAnimInterface inherits the operations from its base class LayoutInterface (see Sect. Layout Interfaces).


next up previous contents index
Next: GraphWin for Cluster Graphs Up: Layout Interfaces Previous: Interface to GraphWin (   Contents   Index

© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13