17 #ifndef GUIOSGBuilder_h
18 #define GUIOSGBuilder_h
29 #include <osg/ref_ptr>
39 class PositionAttitudeTransform;
58 static osg::Group* buildOSGScene(osg::Node*
const tlg, osg::Node*
const tly, osg::Node*
const tlr, osg::Node*
const tlu);
64 static osg::PositionAttitudeTransform* getTrafficLight(
const GUISUMOAbstractView::Decal& d, osg::Node* tl,
const osg::Vec4& color,
const double size = 0.5);
66 static GUIOSGView::OSGMovable buildMovable(
const MSVehicleType& type);
69 static void buildOSGEdgeGeometry(
const MSEdge& edge,
70 osg::Group& addTo, osgUtil::Tessellator& tessellator);
73 osg::Group& addTo, osgUtil::Tessellator& tessellator);
75 static void setShapeState(osg::ref_ptr<osg::ShapeDrawable> shape);
78 static std::map<std::string, osg::ref_ptr<osg::Node> > myCars;