OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
opencover::coVRPluginList Class Reference

#include <coVRPluginList.h>

Public Member Functions

coVRPlugingetPlugin (const char *name) const
 returns the plugin called name More...
 
coVRPluginaddPlugin (const char *name)
 load a plugin, call init, add to list of managed plugins More...
 
void unload (coVRPlugin *m)
 mark plugin for unloading More...
 
void addNode (osg::Node *, RenderObject *o=NULL, coVRPlugin *addingPlugin=NULL) const
 call addNode method of all plugins More...
 
void addObject (RenderObject *baseObj, RenderObject *geomObj, RenderObject *normObj, RenderObject *colorObj, RenderObject *texObj, osg::Group *root, int numCol, int colorBinding, int colorPacking, float *r, float *g, float *b, int *packedCol, int numNormals, int normalBinding, float *xn, float *yn, float *zn, float transparency) const
 call addObject method of all plugins More...
 
void newInteractor (RenderObject *container, coInteractor *it) const
 call newInteractor method of all plugins More...
 
void coviseError (const char *error) const
 call coviseError method of all plugins More...
 
void guiToRenderMsg (const char *msg) const
 call guiToRenderMsg method of all plugins More...
 
void removeObject (const char *objName, bool replaceFlag) const
 call removeObject method of all plugins More...
 
void removeNode (osg::Node *node, bool isGroup=false, osg::Node *realNode=NULL) const
 call removeNode method of all plugins More...
 
void prepareFrame () const
 call prepareFrame method of all plugins More...
 
void preFrame ()
 call preFrame method of all plugins More...
 
void postFrame () const
 call postFrame method of all plugins More...
 
void preDraw (osg::RenderInfo &renderInfo) const
 call preDraw method of all plugins More...
 
void preSwapBuffers (int windowNumber) const
 call preSwapBuffers method of all plugins More...
 
void clusterSyncDraw () const
 call clusterSyncDraw() method of all plugins More...
 
void postSwapBuffers (int windowNumber) const
 call postSwapBuffers method of all plugins More...
 
void param (const char *paramName, bool inMapLoading) const
 call param method of all plugins More...
 
bool key (int type, int keySym, int mod) const
 call key method of all plugins More...
 
bool userEvent (int mod) const
 call userEvent method of all plugins More...
 
void requestTimestep (int timestep)
 call requestTimestep method of all plugins More...
 
void setTimestep (int timestep) const
 call setTimestep method of all plugins More...
 
void message (int t, int l, const void *b) const
 send a message to all plugins More...
 
void forwardMessage (int len, const void *buf) const
 
void requestQuit (bool killSession) const
 request to terminate COVER or COVISE session More...
 
bool sendVisMessage (const covise::Message *msg) const
 send a message to COVISE/visualisation system - delivered via only one plugin More...
 
bool becomeCollaborativeMaster () const
 request to become master of a collaborative session - return true if delivered More...
 
covise::Message * waitForVisMessage (int messageType) const
 for visualisation system plugins: wait for message, return NULL if no such plugin More...
 
bool executeAll () const
 for visualisation system plugins: execute data flow network - return true if delivered More...
 
void expandBoundingSphere (osg::BoundingSphere &bs) const
 allow plugins to expand scene bounding sphere More...
 
void commitTimestep (int t, coVRPlugin *caller)
 called by plugin's commitTimestep method when timestep is prepared More...
 

Static Public Member Functions

static coVRPluginListinstance ()
 singleton More...
 

Friends

class coVRPluginSupport
 
class OpenCOVER
 

Member Function Documentation

void opencover::coVRPluginList::addNode ( osg::Node *  ,
RenderObject o = NULL,
coVRPlugin addingPlugin = NULL 
) const

call addNode method of all plugins

void opencover::coVRPluginList::addObject ( RenderObject baseObj,
RenderObject geomObj,
RenderObject normObj,
RenderObject colorObj,
RenderObject texObj,
osg::Group *  root,
int  numCol,
int  colorBinding,
int  colorPacking,
float *  r,
float *  g,
float *  b,
int *  packedCol,
int  numNormals,
int  normalBinding,
float *  xn,
float *  yn,
float *  zn,
float  transparency 
) const

call addObject method of all plugins

coVRPlugin* opencover::coVRPluginList::addPlugin ( const char *  name)

load a plugin, call init, add to list of managed plugins

bool opencover::coVRPluginList::becomeCollaborativeMaster ( ) const

request to become master of a collaborative session - return true if delivered

void opencover::coVRPluginList::clusterSyncDraw ( ) const

call clusterSyncDraw() method of all plugins

void opencover::coVRPluginList::commitTimestep ( int  t,
coVRPlugin caller 
)

called by plugin's commitTimestep method when timestep is prepared

void opencover::coVRPluginList::coviseError ( const char *  error) const

call coviseError method of all plugins

bool opencover::coVRPluginList::executeAll ( ) const

for visualisation system plugins: execute data flow network - return true if delivered

void opencover::coVRPluginList::expandBoundingSphere ( osg::BoundingSphere &  bs) const

allow plugins to expand scene bounding sphere

void opencover::coVRPluginList::forwardMessage ( int  len,
const void *  buf 
) const

add new plugins, if not already loaded unpack and distribute a Message

coVRPlugin* opencover::coVRPluginList::getPlugin ( const char *  name) const

returns the plugin called name

void opencover::coVRPluginList::guiToRenderMsg ( const char *  msg) const

call guiToRenderMsg method of all plugins

static coVRPluginList* opencover::coVRPluginList::instance ( )
static

singleton

bool opencover::coVRPluginList::key ( int  type,
int  keySym,
int  mod 
) const

call key method of all plugins

void opencover::coVRPluginList::message ( int  t,
int  l,
const void *  b 
) const

send a message to all plugins

void opencover::coVRPluginList::newInteractor ( RenderObject container,
coInteractor it 
) const

call newInteractor method of all plugins

void opencover::coVRPluginList::param ( const char *  paramName,
bool  inMapLoading 
) const

call param method of all plugins

void opencover::coVRPluginList::postFrame ( ) const

call postFrame method of all plugins

void opencover::coVRPluginList::postSwapBuffers ( int  windowNumber) const

call postSwapBuffers method of all plugins

void opencover::coVRPluginList::preDraw ( osg::RenderInfo &  renderInfo) const

call preDraw method of all plugins

void opencover::coVRPluginList::preFrame ( )

call preFrame method of all plugins

void opencover::coVRPluginList::prepareFrame ( ) const

call prepareFrame method of all plugins

void opencover::coVRPluginList::preSwapBuffers ( int  windowNumber) const

call preSwapBuffers method of all plugins

void opencover::coVRPluginList::removeNode ( osg::Node *  node,
bool  isGroup = false,
osg::Node *  realNode = NULL 
) const

call removeNode method of all plugins

void opencover::coVRPluginList::removeObject ( const char *  objName,
bool  replaceFlag 
) const

call removeObject method of all plugins

void opencover::coVRPluginList::requestQuit ( bool  killSession) const

request to terminate COVER or COVISE session

void opencover::coVRPluginList::requestTimestep ( int  timestep)

call requestTimestep method of all plugins

bool opencover::coVRPluginList::sendVisMessage ( const covise::Message *  msg) const

send a message to COVISE/visualisation system - delivered via only one plugin

void opencover::coVRPluginList::setTimestep ( int  timestep) const

call setTimestep method of all plugins

void opencover::coVRPluginList::unload ( coVRPlugin m)

mark plugin for unloading

bool opencover::coVRPluginList::userEvent ( int  mod) const

call userEvent method of all plugins

covise::Message* opencover::coVRPluginList::waitForVisMessage ( int  messageType) const

for visualisation system plugins: wait for message, return NULL if no such plugin

Friends And Related Function Documentation

friend class coVRPluginSupport
friend
friend class OpenCOVER
friend

The documentation for this class was generated from the following file: