131 const double exaggeration,
const double customWidth = 1);
135 const double width,
const double exaggeration,
const bool drawFirstExtrem,
const bool drawLastExtrem);
139 const double radius,
const double exaggeration);
143 const double width,
const double height,
const double offsetX,
const double offsetY,
144 const double rot,
const double exaggeration);
class for pack all variables related with GUIDottedGeometry color
void changeColor()
change color
const RGBColor getColor(DottedContourType type)
get inspected color (and change flag)
const GUIVisualizationSettings & mySettings
pointer to GUIVisualizationSettings
void reset()
rest Dotted Geometry Color
DottedGeometryColor & operator=(const DottedGeometryColor &other)=delete
Invalidated assignment operator.
bool myColorFlag
flag to get color
DottedGeometryColor(const GUIVisualizationSettings &settings)
constructor
std::vector< GUIDottedGeometry::Segment > myDottedGeometrySegments
dotted element shape (note: It's centered in 0,0 due scaling)
void drawDottedGeometry(const GUIVisualizationSettings &s, GUIDottedGeometry::DottedContourType type, DottedGeometryColor &dottedGeometryColor, const double customWidth=1) const
draw inspected dottedShape
void moveShapeToSide(const double value)
move shape to side
void calculateShapeRotationsAndLengths()
calculate shape rotations and lengths
static void drawDottedContourClosedShape(const GUIVisualizationSettings &s, const DottedContourType type, const PositionVector &shape, const double exaggeration, const double customWidth=1)
draw dotted contour for the given closed shape (used by Juctions, shapes and TAZs)
void updateDottedGeometry(const GUIVisualizationSettings &s, const PositionVector &laneShape)
update GUIDottedGeometry (using lane shape)
void invertOffset()
invert offset of all segments
static void drawDottedSquaredShape(const GUIVisualizationSettings &s, const DottedContourType type, const Position &pos, const double width, const double height, const double offsetX, const double offsetY, const double rot, const double exaggeration)
draw dotted squared contour (used by additionals and demand elements)
static void drawDottedContourCircle(const GUIVisualizationSettings &s, const DottedContourType type, const Position &pos, const double radius, const double exaggeration)
draw dotted contour for the given Position and radius (used by Juctions and POIs)
GUIDottedGeometry()
constructor
static void drawDottedContourShape(const GUIVisualizationSettings &s, const DottedContourType type, const PositionVector &shape, const double width, const double exaggeration, const bool drawFirstExtrem, const bool drawLastExtrem)
draw dotted contour for the given shape (used by additionals)
Stores the information about how to visualize structures.
A point in 2D or 3D with translation and scaling methods.
std::vector< double > lengths
lengths
PositionVector shape
shape
std::vector< double > rotations
rotations
double offset
drawing offset (-1 or 1 only)
Segment()
default constructor