|
| coVRPlugin () |
| called early, if loaded from config, before COVER is fully initialized More...
|
|
virtual | ~coVRPlugin () |
| called before plugin is unloaded More...
|
|
virtual bool | init () |
| this function is called when COVER is up and running and the plugin is initialized More...
|
|
virtual bool | init2 () |
| this function is called when files have been loaded More...
|
|
virtual bool | destroy () |
| reimplement to do early cleanup work and return false to prevent unloading More...
|
|
const char * | getName () const |
| retrieve the plugin's name More...
|
|
void | setName (const char *sn) |
| set the plugin's name More...
|
|
virtual void | notify (NotificationLevel level, const char *text) |
| this function is called when COVER wants to display a message to the user More...
|
|
virtual void | addNode (osg::Node *, const RenderObject *=NULL) |
|
virtual void | removeNode (osg::Node *, bool isGroup, osg::Node *realNode) |
| this function is called if a node in the scene graph is removed More...
|
|
virtual void | addObject (const RenderObject *container, osg::Group *parent, const RenderObject *geometry, const RenderObject *normals, const RenderObject *colors, const RenderObject *texture) |
| this function is called whenever a COVISE object is received More...
|
|
virtual void | removeObject (const char *objName, bool replaceFlag) |
| this function is called when a COVISE Object is removed More...
|
|
virtual void | newInteractor (const RenderObject *container, coInteractor *it) |
| this function is called when COVER gets a new COVISE object with feedback attributes More...
|
|
virtual bool | requestInteraction (coInteractor *inter, osg::Node *triggerNode, bool isMouse) |
| this function is called when COVER wants to enable interaction with an interactor, return true if plugin accepts request More...
|
|
virtual void | coviseError (const char *error) |
| this function is called if a error message from the controller is received More...
|
|
virtual void | guiToRenderMsg (const char *msg) |
| this function is called if a message from the gui is received More...
|
|
virtual bool | update () |
|
virtual void | preFrame () |
| this function is called from the main thread before rendering a frame More...
|
|
virtual void | postFrame () |
| this function is called from the main thread after a frame was rendered More...
|
|
virtual void | preDraw (osg::RenderInfo &) |
| this function is called from the draw thread before drawing the scenegraph (after drawing the AR background) More...
|
|
virtual void | preSwapBuffers (int) |
| this function is called from the draw thread before swapbuffers More...
|
|
virtual void | clusterSyncDraw () |
| this function is called from the main thread after rendering has finished on all nodes and before any swap buffers happen More...
|
|
virtual void | postSwapBuffers (int) |
| this function is called from the draw thread after swapbuffers More...
|
|
virtual void | param (const char *paramName, bool inMapLoading) |
| this function is called whenever a module parameter of the renderer has changed More...
|
|
virtual void | key (int type, int keySym, int mod) |
| this functions is called when a key is pressed or released More...
|
|
virtual void | userEvent (int mod) |
| this functions is called when a user event arrives More...
|
|
virtual void | message (int toWhom, int type, int length, const void *data) |
|
virtual void | UDPmessage (covise::UdpMessage *msg) |
|
virtual void | setTimestep (int t) |
|
virtual void | requestTimestep (int t) |
|
virtual void | getMatrix (int station, osg::Matrix &mat) |
| for Trackingsystem plugins: return the Matrix of device station More...
|
|
virtual unsigned int | button (int station) |
| for Trackingsystem plugins: return the button state of device station More...
|
|
virtual int | wheel (int station) |
| for Trackingsystem plugins: return the wheel state of device station More...
|
|
virtual void | requestQuit (bool killSession) |
| for visualisation system plugins: request to terminate COVER or COVISE session More...
|
|
virtual bool | sendVisMessage (const covise::Message *msg) |
| for visualisation system plugins: send message to system - return true if delivered More...
|
|
virtual bool | becomeCollaborativeMaster () |
| for visualisation system plugins: request to become master - return true if delivered More...
|
|
virtual std::string | collaborativeSessionId () const |
| for visualisation system plugins: return string identifying collaborative session uniquely More...
|
|
virtual covise::Message * | waitForVisMessage (int messageType) |
| for visualisation system plugins: wait for message, return NULL if no such plugin More...
|
|
virtual bool | executeAll () |
| for visualisation system plugins: execute data flow network - return true if delivered More...
|
|
virtual void | expandBoundingSphere (osg::BoundingSphere &bs) |
| allow plugin to expand bounding sphere More...
|
|
virtual bool | windowCreate (int num) |
|
virtual void | windowCheckEvents (int num) |
|
virtual void | windowUpdateContents (int num) |
|
virtual void | windowDestroy (int num) |
|
virtual void | windowFullScreen (int num, bool state) |
|
virtual bool | updateViewer () |
| let the plugin that has a grab on viewer update viewer matrix More...
|
|
make sure to clean up properly in the plugin's dtor
currently, there are these methods to start a plugin:
- the plugin is specified in the configuration, then it is initialized in COVER before the render loop starts
- a plugin starts another plugin
- a Feedback object attached to a COVISE object is received
- upon user request from the TabletUI