16 #ifndef __OMNETPP_OSGUTIL_H
17 #define __OMNETPP_OSGUTIL_H
71 const cObject *getObject()
const;
72 void setObject(
const cObject *obj);
75 inline cObjectOsgNode::cObjectOsgNode(
const cObjectOsgNode& node,
const osg::CopyOp& copyop) : Group(node, copyop)
77 componentId = node.componentId;
81 inline const cObject *cObjectOsgNode::getObject()
const
86 inline void cObjectOsgNode::setObject(
const cObject *obj)
90 if (
const cComponent *component =
dynamic_cast<const cComponent*
>(obj)) {
91 componentId = component->getId();