20 #ifndef GUIOSGBuilder_h 21 #define GUIOSGBuilder_h 36 #include <osg/ref_ptr> 46 class PositionAttitudeTransform;
65 static osg::Group* buildOSGScene(osg::Node*
const tlg, osg::Node*
const tly, osg::Node*
const tlr, osg::Node*
const tlu);
71 static osg::PositionAttitudeTransform* getTrafficLight(
const GUISUMOAbstractView::Decal& d, osg::Node* tl,
const osg::Vec4& color,
const double size = 0.5);
73 static GUIOSGView::OSGMovable buildMovable(
const MSVehicleType& type);
76 static void buildOSGEdgeGeometry(
const MSEdge& edge,
77 osg::Group& addTo, osgUtil::Tessellator& tessellator);
80 osg::Group& addTo, osgUtil::Tessellator& tessellator);
82 static void setShapeState(osg::ref_ptr<osg::ShapeDrawable> shape);
85 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.