Factory to create links. More...
#include <ilviews/grapher/inters.h>
Public Member Functions | |
virtual IlvLinkImage * | createLink (IlvDisplay *dpy, IlvGraphic *from, IlvGraphic *to, IlBoolean oriented) const =0 |
Creates the link instance. More... | |
Factory to create links.
Library: ilvgrapher
This class is designed to be used with the IlvMakeLinkInteractor
class and lets you provide which link instance is created by the interactor.
|
pure virtual |
Creates the link instance.
Creates a link between the from and to nodes. You must define the method in subclasses in order to return a given link.
dpy | The display connection that handles the drawing of the new link. |
from | The starting node. |
to | The ending node. |
oriented | IlTrue if the new link is oriented and IlFalse otherwise. |