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

#include <ModuleFeedbackPlugin.h>

Inheritance diagram for opencover::ModuleFeedbackPlugin:
Inheritance graph
[legend]
Collaboration diagram for opencover::ModuleFeedbackPlugin:
Collaboration graph
[legend]

Public Member Functions

 ModuleFeedbackPlugin ()
 
virtual ~ModuleFeedbackPlugin ()
 
void add (opencover::RenderObject *container, opencover::coInteractor *inter)
 
void add (opencover::RenderObject *container, opencover::RenderObject *geomObj)
 
void remove (const char *objName)
 
void preFrame ()
 this function is called from the main thread before rendering a frame More...
 
void handleGeoVisibleMsg (const char *objectName, bool hide)
 
void setMatrix (const char *objectName, float *row0, float *row1, float *row2, float *row3)
 
void handleSetCaseMsg (const char *objectName, const char *casename)
 
void handleSetNameMsg (const char *coviseObjectName, const char *newName)
 
void addNodeToCase (const char *objectName, osg::Node *node)
 
void newInteractor (RenderObject *container, coInteractor *i)
 this function is called when COVER gets a new COVISE object with feedback attributes More...
 
virtual void getSyncInteractors (coInteractor *inter_)
 
virtual void executeModule ()
 execute the Modules More...
 
virtual void setBooleanParam (const char *name, int val)
 set Boolean Parameter More...
 
virtual void setScalarParam (const char *name, float val)
 set float scalar parameter More...
 
virtual void setScalarParam (const char *name, int val)
 set int scalar parameter More...
 
virtual void setSliderParam (const char *name, float min, float max, float value)
 set float slider parameter More...
 
virtual void setSliderParam (const char *name, int min, int max, int value)
 set int slider parameter More...
 
virtual void setVectorParam (const char *name, int numElem, float *field)
 set float Vector Param More...
 
virtual void setVectorParam (const char *name, float u, float v, float w)
 
virtual void setVectorParam (const char *name, int numElem, int *field)
 set int vector parameter More...
 
virtual void setVectorParam (const char *name, int u, int v, int w)
 
virtual void setStringParam (const char *name, const char *val)
 set string parameter More...
 
virtual void setChoiceParam (const char *name, int num, const char *const *list, int pos)
 set choice parameter, pos starts with 1 More...
 
- Public Member Functions inherited from opencover::coVRPlugin
 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 addNode (osg::Node *, 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 (RenderObject *baseObj, RenderObject *geomObj, RenderObject *normObj, RenderObject *colorObj, RenderObject *texObj, osg::Group *parent, 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)
 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 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 void prepareFrame ()
 this function is called from the main thread before the state for a frame is set up, before preFrame() 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 type, int length, const void *data)
 
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 vrui::coMenuItemgetMenuButton (const std::string &buttonName)
 return button corresponding to command name 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 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...
 

Public Attributes

std::list< coInteractor * > interactors
 

Protected Member Functions

virtual
opencover::ModuleFeedbackManager
NewModuleFeedbackManager (opencover::RenderObject *, opencover::coInteractor *, opencover::RenderObject *, const char *)=0
 
- Protected Member Functions inherited from opencover::coVRPlugin
void commitTimestep (int t)
 call as a response to requestTimestep(t) when timestep t is prepared More...
 

Protected Attributes

covise::DLinkList
< opencover::ModuleFeedbackManager * > 
myInteractions_
 

Static Protected Attributes

static covise::DLinkList
< opencover::ModuleFeedbackManager * > 
_ComplexModuleList
 

Constructor & Destructor Documentation

opencover::ModuleFeedbackPlugin::ModuleFeedbackPlugin ( )
virtual opencover::ModuleFeedbackPlugin::~ModuleFeedbackPlugin ( )
virtual

Member Function Documentation

void opencover::ModuleFeedbackPlugin::add ( opencover::RenderObject container,
opencover::coInteractor inter 
)
void opencover::ModuleFeedbackPlugin::add ( opencover::RenderObject container,
opencover::RenderObject geomObj 
)
void opencover::ModuleFeedbackPlugin::addNodeToCase ( const char *  objectName,
osg::Node *  node 
)
virtual void opencover::ModuleFeedbackPlugin::executeModule ( )
virtual

execute the Modules

virtual void opencover::ModuleFeedbackPlugin::getSyncInteractors ( coInteractor inter_)
virtual
void opencover::ModuleFeedbackPlugin::handleGeoVisibleMsg ( const char *  objectName,
bool  hide 
)
void opencover::ModuleFeedbackPlugin::handleSetCaseMsg ( const char *  objectName,
const char *  casename 
)
void opencover::ModuleFeedbackPlugin::handleSetNameMsg ( const char *  coviseObjectName,
const char *  newName 
)
void opencover::ModuleFeedbackPlugin::newInteractor ( RenderObject container,
coInteractor it 
)
virtual

this function is called when COVER gets a new COVISE object with feedback attributes

Reimplemented from opencover::coVRPlugin.

virtual opencover::ModuleFeedbackManager* opencover::ModuleFeedbackPlugin::NewModuleFeedbackManager ( opencover::RenderObject ,
opencover::coInteractor ,
opencover::RenderObject ,
const char *   
)
protectedpure virtual
void opencover::ModuleFeedbackPlugin::preFrame ( )
virtual

this function is called from the main thread before rendering a frame

Reimplemented from opencover::coVRPlugin.

void opencover::ModuleFeedbackPlugin::remove ( const char *  objName)
virtual void opencover::ModuleFeedbackPlugin::setBooleanParam ( const char *  name,
int  val 
)
virtual

set Boolean Parameter

virtual void opencover::ModuleFeedbackPlugin::setChoiceParam ( const char *  name,
int  num,
const char *const *  list,
int  pos 
)
virtual

set choice parameter, pos starts with 1

void opencover::ModuleFeedbackPlugin::setMatrix ( const char *  objectName,
float *  row0,
float *  row1,
float *  row2,
float *  row3 
)
virtual void opencover::ModuleFeedbackPlugin::setScalarParam ( const char *  name,
float  val 
)
virtual

set float scalar parameter

virtual void opencover::ModuleFeedbackPlugin::setScalarParam ( const char *  name,
int  val 
)
virtual

set int scalar parameter

virtual void opencover::ModuleFeedbackPlugin::setSliderParam ( const char *  name,
float  min,
float  max,
float  value 
)
virtual

set float slider parameter

virtual void opencover::ModuleFeedbackPlugin::setSliderParam ( const char *  name,
int  min,
int  max,
int  value 
)
virtual

set int slider parameter

virtual void opencover::ModuleFeedbackPlugin::setStringParam ( const char *  name,
const char *  val 
)
virtual

set string parameter

virtual void opencover::ModuleFeedbackPlugin::setVectorParam ( const char *  name,
int  numElem,
float *  field 
)
virtual

set float Vector Param

virtual void opencover::ModuleFeedbackPlugin::setVectorParam ( const char *  name,
float  u,
float  v,
float  w 
)
virtual
virtual void opencover::ModuleFeedbackPlugin::setVectorParam ( const char *  name,
int  numElem,
int *  field 
)
virtual

set int vector parameter

virtual void opencover::ModuleFeedbackPlugin::setVectorParam ( const char *  name,
int  u,
int  v,
int  w 
)
virtual

Member Data Documentation

covise::DLinkList<opencover::ModuleFeedbackManager *> opencover::ModuleFeedbackPlugin::_ComplexModuleList
staticprotected
std::list<coInteractor *> opencover::ModuleFeedbackPlugin::interactors
covise::DLinkList<opencover::ModuleFeedbackManager *> opencover::ModuleFeedbackPlugin::myInteractions_
protected

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