42 myFromTAZLabel(nullptr),
43 myToTAZLabel(nullptr) {
60 myFromTAZLabel->setText((
"From TAZ: " + fromTAZ->
getID()).c_str());
62 myFromTAZLabel->setText(
"From TAZ");
66 myToTAZLabel->setText((
"To TAZ: " + toTAZ->
getID()).c_str());
68 myToTAZLabel->setText(
"To TAZ");
133 delete dataIntervalObject;
#define GUIDesignLabelLeft
#define WRITE_WARNING(msg)
@ SUMO_TAG_TAZREL
a relation between two TAZs
@ SUMO_ATTR_BEGIN
weights: time range begin
@ SUMO_ATTR_END
weights: time range end
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void addDoubleAttribute(const SumoXMLAttr attr, const double value)
add double attribute into current SumoBaseObject node
void addStringAttribute(const SumoXMLAttr attr, const std::string &value)
FXGroupBoxModule (based on FXGroupBox)
FXVerticalFrame * getCollapsableFrame()
get collapsable frame (used by all elements that will be collapsed if button is toogled)
void buildTAZRelationData(const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &fromTAZID, const std::string &toTAZID, const std::map< std::string, std::string > ¶meters)
Builds TAZRelationData.
double getAttributeDouble(SumoXMLAttr key) const
const std::string & getID() const
get ID
bool TAZRelExists(const GNETAZElement *TAZ) const
check if there is already a TAZRel defined in one TAZ
const std::map< std::string, std::string > & getParametersMap() const
get parameters as map
GNEViewNet * myViewNet
View Net.
GNEDataInterval * getDataInterval() const
get current select data set ID
GNEFrameAttributeModules::GenericDataAttributes * myGenericDataAttributes
parameters editor creator
IntervalSelector * myIntervalSelector
interval selector modul
An Element which don't belongs to GNENet but has influency in the simulation.
const std::string & getID() const
get ID
FXLabel * myToTAZLabel
to TAZ Label
void setLabels(const GNETAZElement *fromTAZ, const GNETAZElement *toTAZ)
set labels
FXLabel * myFromTAZLabel
from TAZ label
Legend(GNETAZRelDataFrame *TAZRelDataFrame)
constructor
bool setTAZ(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
set clicked TAZ
GNETAZElement * myFirstTAZ
first selected TAZ Element
GNETAZRelDataFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
void buildTAZRelationData()
build TAZRelation data
~GNETAZRelDataFrame()
Destructor.
GNETAZRelDataFrame::Legend * myLegend
TAZRel legend.
GNETAZElement * getSecondTAZ() const
get first selected TAZ Element
void clearTAZSelection()
clear TAZ selection
GNETAZElement * getFirstTAZ() const
get first selected TAZ Element
GNETAZElement * mySecondTAZ
first selected TAZ Element
class used to group all variables related with objects under cursor after a click over view
GNETAZElement * getTAZElementFront() const
get front TAZElement or a pointer to nullptr
GNENet * getNet() const
get the net object
static FXColor getFXColor(const RGBColor &col)
converts FXColor to RGBColor
static const RGBColor GREEN
static const RGBColor MAGENTA