| 
    Aimsun Next Scripting
    24.0
    
   | 
 
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 | 
| double | getPenSize () const | 
| double | getPenSize (GKObject *obj, const GKModelConnection *modelConn, const GKContext &context) const | 
| double | getMaxPenSize () const | 
| void | setPenSize (double value) | 
| void | setPenSize (double minSize, double maxSize) | 
| double | getPenSize (GKObject *obj, const GKViewModeStyleRangeDiagramColumn &diagramCol, const GKModelConnection *modelConn, const GKContext &context) const | 
Public Attributes | |
| QString | label | 
| double | from | 
| double | to | 
| QColor | color | 
| double | 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
| double GKViewModeStyleRange::getMaxPenSize | ( | ) | const | 
Maximum pen size for proportional mode.
| double GKViewModeStyleRange::getPenSize | ( | ) | const | 
Pen size.
| double GKViewModeStyleRange::getPenSize | ( | GKObject * | obj, | 
| const GKModelConnection * | modelConn, | ||
| const GKContext & | context | ||
| ) | const | 
| double 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 | ( | double | minSize, | 
| double | maxSize | ||
| ) | 
Set the pen size for proportional mode.
| void GKViewModeStyleRange::setPenSize | ( | double | 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.
| double 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