19 #ifndef GUIOSGBuilder_h 20 #define GUIOSGBuilder_h 35 #include <osg/ref_ptr> 45 class PositionAttitudeTransform;
64 static osg::Group* buildOSGScene(osg::Node*
const tlg, osg::Node*
const tly, osg::Node*
const tlr, osg::Node*
const tlu);
70 static osg::PositionAttitudeTransform* getTrafficLight(
const GUISUMOAbstractView::Decal& d, osg::Node* tl,
const osg::Vec4& color,
const double size = 0.5);
72 static GUIOSGView::OSGMovable buildMovable(
const MSVehicleType& type);
75 static void buildOSGEdgeGeometry(
const MSEdge& edge,
76 osg::Group& addTo, osgUtil::Tessellator& tessellator);
79 osg::Group& addTo, osgUtil::Tessellator& tessellator);
81 static void setShapeState(osg::ref_ptr<osg::ShapeDrawable> shape);
84 static std::map<std::string, osg::ref_ptr<osg::Node> > myCars;
A decal (an image) that can be shown.
The car-following model and parameter.
A road/street connecting two junctions.