37class PositionAttitudeTransform;
59 static osg::Group* buildOSGScene(osg::Node*
const tlg, osg::Node*
const tly, osg::Node*
const tlr, osg::Node*
const tlu, osg::Node*
const pole);
66 static void buildTrafficLightDetails(
MSTLLogicControl::TLSLogicVariants& vars, osg::Node*
const tlg, osg::Node*
const tly, osg::Node*
const tlr, osg::Node*
const tlu, osg::Node* poleBase, osg::Group& addTo);
69 osg::Node*
const tly, osg::Node*
const tlr, osg::Node*
const tlu, osg::Node*
const pole,
const bool withPole =
false,
const double size = -1,
double poleHeight = 1.8,
double transparency = .3);
71 static GUIOSGView::OSGMovable buildMovable(
const MSVehicleType& type);
73 static osg::Node* buildPlane(
const float length = 1000.f);
76 static osg::PositionAttitudeTransform* createTrafficLightState(
const GUISUMOAbstractView::Decal& d, osg::Node* tl,
const double withPole,
const double size, osg::Vec4d color);
78 static void buildOSGEdgeGeometry(
const MSEdge& edge,
79 osg::Group& addTo, osgUtil::Tessellator& tessellator);
82 osg::Group& addTo, osgUtil::Tessellator& tessellator);
84 static void buildPolygonGeometry(
const SUMOPolygon& poly, osg::Group& addTo, osgUtil::Tessellator& tessellator);
85 static void buildPoIGeometry(
const PointOfInterest& poi, osg::Group& addTo, osgUtil::Tessellator& tessellator);
87 static void setShapeState(osg::ref_ptr<osg::ShapeDrawable> shape);
89 static std::map<std::string, osg::ref_ptr<osg::Node> > myCars;
A road/street connecting two junctions.
Storage for all programs of a single tls.
The car-following model and parameter.
A decal (an image) that can be shown.