public class ContourPlotDensity extends AbstractContourPlot<LinearDensity>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
DEFAULT_INITIAL_UPPER_TIME_BOUND, GRAPH_ADD_EVENT, GRAPH_REMOVE_EVENT| Constructor and Description |
|---|
ContourPlotDensity(String caption,
OTSSimulatorInterface simulator,
ContourDataSource<?> dataPool)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ContourDataSource.ContourDataType<LinearDensity,?> |
getContourDataType()
Returns the contour data type for use in a
ContourDataSource. |
GraphType |
getGraphType()
Return the graph type for transceiver.
|
protected double |
getValue(int item,
double cellLength,
double cellSpan)
Obtain value for cell from the data pool.
|
protected double |
scale(double si)
Scale the value from SI to the desired unit for users.
|
String |
toString() |
actionPerformed, getBlockRenderer, getDataPool, getDomainOrder, getItemCount, getRangeBinCount, getSeriesCount, getSeriesKey, getSpaceGranularity, getStatusLabel, getTimeGranularity, getX, getXValue, getY, getYValue, getZ, getZValue, increaseTime, indexOf, setInterpolation, setSpaceGranularity, setTimeGranularitygetEndLocation, getPath, getSampler, getTrajectoriessetAutoBoundDomain, setAutoBoundRange, setChart, update, updateFixedDomainRangesetLowerDomainBound, setLowerRangeBound, setUpperDomainBound, setUpperRangeBoundaddChangeListener, encodeAsPng, getCaption, getChart, getGroup, getId, getSimulator, getUpdateTime, notifyPlotChange, removeChangeListener, setGroup, setUpdateIntervalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChangeListener, getGroup, removeChangeListener, setGrouppublic ContourPlotDensity(String caption, OTSSimulatorInterface simulator, ContourDataSource<?> dataPool)
caption - String; captionsimulator - OTSSimulatorInterface; simulatordataPool - ContourDataSource<?>; data poolpublic GraphType getGraphType()
getGraphType in class AbstractPlotprotected double scale(double si)
scale in class AbstractContourPlot<LinearDensity>si - double; SI valueprotected double getValue(int item,
double cellLength,
double cellSpan)
getValue in class AbstractContourPlot<LinearDensity>item - int; item numbercellLength - double; cell lengthcellSpan - double; cell durationprotected ContourDataSource.ContourDataType<LinearDensity,?> getContourDataType()
ContourDataSource.getContourDataType in class AbstractContourPlot<LinearDensity>Copyright © 2014–2019 Delft University of Technology. All rights reserved.