OpenWalnut
1.5.0dev
|
This class builds the base for graphical items that can be layouted using WGEItemLayouter instances. More...
#include <WGELayoutableItem.h>
Public Member Functions | |
WGELayoutableItem () | |
Default constructor. More... | |
virtual | ~WGELayoutableItem () |
Destructor. More... | |
virtual osg::Vec3 | getAnchor () const =0 |
Gets the current anchor point of the item. More... | |
This class builds the base for graphical items that can be layouted using WGEItemLayouter instances.
The layoutable item needs to overwrite the getAnchor method, telling the layout algorithm where the items anchor point is situated. Depending on the layout, the item is placed there or somewhere else with a leader-line to the anchor point.
Definition at line 35 of file WGELayoutableItem.h.
WGELayoutableItem::WGELayoutableItem | ( | ) |
Default constructor.
Definition at line 27 of file WGELayoutableItem.cpp.
|
virtual |
Destructor.
Definition at line 32 of file WGELayoutableItem.cpp.
|
pure virtual |