16 #ifndef GUIOSGBuilder_h
17 #define GUIOSGBuilder_h
28 #include <osg/ref_ptr>
38 class PositionAttitudeTransform;
57 static osg::Group* buildOSGScene(osg::Node*
const tlg, osg::Node*
const tly, osg::Node*
const tlr, osg::Node*
const tlu);
63 static osg::PositionAttitudeTransform* getTrafficLight(
const GUISUMOAbstractView::Decal& d, osg::Node* tl,
const osg::Vec4& color,
const double size = 0.5);
65 static GUIOSGView::OSGMovable buildMovable(
const MSVehicleType& type);
68 static void buildOSGEdgeGeometry(
const MSEdge& edge,
69 osg::Group& addTo, osgUtil::Tessellator& tessellator);
72 osg::Group& addTo, osgUtil::Tessellator& tessellator);
74 static void setShapeState(osg::ref_ptr<osg::ShapeDrawable> shape);
77 static std::map<std::string, osg::ref_ptr<osg::Node> > myCars;