|
Aimsun Next Scripting
22
|
Public Types | |
| enum | SpotType { eNone , eCircle , eStar , eText , eIcon , eAttribute , eDiagram , eDirectionRectangle , eDirectionArrow } |
| enum | DiagramType { eDiagramCircles = 0 , eDiagramPie , eDiagramHistogram , eDiagramStackedHistogram , eDiagramStar } |
Public Member Functions | |
| GKViewModeStyleRange () | |
| ~GKViewModeStyleRange () | |
| void | setViewModeStyle (GKViewModeStyle *style) |
| GKViewModeStyle * | getViewModeStyle () const |
| void | setRangeValues (double from, double to) |
| double | getStartingValue () const |
| double | getEndingValue () const |
| float | getPenSize () const |
| float | getPenSize (GKObject *obj, const GKModelConnection *modelConn, const GKContext &context) const |
| float | getMaxPenSize () const |
| void | setPenSize (float value) |
| void | setPenSize (float minSize, float maxSize) |
| float | getPenSize (GKObject *obj, const GKViewModeStyleRangeDiagramColumn &diagramCol, const GKModelConnection *modelConn, const GKContext &context) const |
Public Attributes | |
| QString | label |
| double | from |
| double | to |
| QColor | color |
| float | alpha |
| GK::SizeUnits | penSizeUnits |
| Qt::BrushStyle | brushStyle |
| Qt::PenStyle | penStyle |
| SpotType | spot |
| bool | useSpotColor |
| GKColumn * | attr |
| QString | strLabel |
| bool | showColumnUnits |
| bool | showColumnName |
| Qt::Alignment | alignment |
| QVector< GKViewModeStyleRangeDiagramColumn > | attrList |
| DiagramType | diagramType |
It modifies only one visualization attribute.
| GKViewModeStyleRange::GKViewModeStyleRange | ( | ) |
| GKViewModeStyleRange::~GKViewModeStyleRange | ( | ) |
| double GKViewModeStyleRange::getEndingValue | ( | ) | const |
Returns the ending value for this range
| float GKViewModeStyleRange::getMaxPenSize | ( | ) | const |
Maximum pen size for proportional mode.
| float GKViewModeStyleRange::getPenSize | ( | ) | const |
Pen size.
| float GKViewModeStyleRange::getPenSize | ( | GKObject * | obj, |
| const GKModelConnection * | modelConn, | ||
| const GKContext & | context | ||
| ) | const |
| float GKViewModeStyleRange::getPenSize | ( | GKObject * | obj, |
| const GKViewModeStyleRangeDiagramColumn & | diagramCol, | ||
| const GKModelConnection * | modelConn, | ||
| const GKContext & | context | ||
| ) | const |
get Pen size using the column held by diagramCol instead of the "attribute"
| double GKViewModeStyleRange::getStartingValue | ( | ) | const |
Returns the starting value for this range
| GKViewModeStyle * GKViewModeStyleRange::getViewModeStyle | ( | ) | const |
Returns the style where it belongs to.
| void GKViewModeStyleRange::setPenSize | ( | float | minSize, |
| float | maxSize | ||
| ) |
Set the pen size for proportional mode.
| void GKViewModeStyleRange::setPenSize | ( | float | value | ) |
Set the pen size.
| void GKViewModeStyleRange::setRangeValues | ( | double | from, |
| double | to | ||
| ) |
Sets the start and end values for this range
| void GKViewModeStyleRange::setViewModeStyle | ( | GKViewModeStyle * | style | ) |
Sets the view style.
| Qt::Alignment GKViewModeStyleRange::alignment |
Label alignment.
| float GKViewModeStyleRange::alpha |
alpha color representation factor
| GKColumn* GKViewModeStyleRange::attr |
Attribute used to build the range.
| QVector<GKViewModeStyleRangeDiagramColumn> GKViewModeStyleRange::attrList |
Shown attributes (in case of a diagram)
| Qt::BrushStyle GKViewModeStyleRange::brushStyle |
Painting brush style.
| QColor GKViewModeStyleRange::color |
Color representation.
| DiagramType GKViewModeStyleRange::diagramType |
| double GKViewModeStyleRange::from |
range boundary lower value
| QString GKViewModeStyleRange::label |
label having context information about range
| GK::SizeUnits GKViewModeStyleRange::penSizeUnits |
Pen size units (pixels or m)
| Qt::PenStyle GKViewModeStyleRange::penStyle |
Painting pen style.
| bool GKViewModeStyleRange::showColumnName |
Show the column name.
| bool GKViewModeStyleRange::showColumnUnits |
Show the column units.
| SpotType GKViewModeStyleRange::spot |
| QString GKViewModeStyleRange::strLabel |
Shown label when a text configuration is set.
| double GKViewModeStyleRange::to |
range boundary top value
| bool GKViewModeStyleRange::useSpotColor |
holds if the specified color must be used or not.
1.9.4