◆ attach()
void dart::gui::osg::ViewerAttachment::attach |
( |
Viewer * |
newViewer | ) |
|
|
protectedvirtual |
This function will get called when the visual is attached to a new Viewer.
It adds this node as a child to the root node of the Viewer so the refresh() function will be called at each update cycle. It will also call customAttach(Viewer*) so you can do customized setup.
◆ customAttach()
void dart::gui::osg::ViewerAttachment::customAttach |
( |
Viewer * |
newViewer | ) |
|
|
protectedvirtual |
This function will be called by attach(Viewer*) so you can do customized setup when the Viewer changes.
By default this function does nothing, so overriding it is completely safe.
◆ refresh()
virtual void dart::gui::osg::ViewerAttachment::refresh |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: