5 #include <vreckoDP/base/PHANToM.h>
7 using namespace vrecko;
8 using namespace vreckoDP_base;
9 namespace VirtualFixture{
14 Marker(
int newid, osg::Vec3 newposition);
15 Marker(
int newid, osg::Vec3 newposition, std::string newlabel, std::string newdescribtion);
19 void apply(PHANToM *pPHANToM, osg::Vec3 &force);
20 void processEvent(
const std::string &input_name,
void *value);
22 void preInitialize(
void);
23 void postInitialize(
void);
26 void setPosition(osg::Vec3 newposition) {position = newposition;};
28 void setId(
int newid) {
id = newid;};
30 void setLabel(std::string newlabel) {label = newlabel;};
32 void setDescribtion(std::string newdescribtion) {describtion = newdescribtion;};
35 bool loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *pParametersNode);
36 XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *getXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *);