OpenTD.PostProcessing.Dataset Class Reference
Last update: 16.07.2025Client-side representation of a dataset (solution results) in a TD instance. More...

Public Types | |
| enum | DataSourceTypes { RAD , SF , TEXT , HR , TEXTTRANSIENT , COMPARER , HEAT_FLOW , HEAT_FLOW_MAP_PP } |
| enum | PlotMliNodes { SUBSTRATE_ONLY , OUTERMOST_NODES , MLI_TOP_SUBSTRATE_BOT , SUBSTRATE_TOP_MLI_BOT , MLI_ONLY_ELSE_GREY } |
Public Member Functions | |
| Dataset () | |
| bool | TrySetCurrentTimeIndex (double time, double percentTolerance=1.0) |
| Use this to indirectly set CurrentTimeIndex by specifying a time in the current WorkingUnits. Returns true if able to find a time in Times within the percent tolerance specified (defaults to 1%). | |
| override void | Update () |
| Updates the TD entity with the latest client data. | |
| override void | UpdateFromTD () |
| Updates the client-side instance with the latest data from the TD entity. | |
| override void | CreateIn (ThermalDesktop td) |
| Creates the TD entity in the specified TD instance. | |
| void | SetCurrent () |
| void | ShowContourPlot () |
| override string | ToString () |
| virtual void | Rename (string to) |
| Use this method to rename the client-side object and the TD item it is linked to. | |
| void | SetFrom (OpenTDObject x) |
| void | UpdateIn (ThermalDesktop td) |
| Updates the TD entity corresponding to this object in the specified TD instance, if possible. | |
Protected Member Functions | |
| override void | ProxyRename (string from, string to) |
| virtual string | ModifyName (string name) |
Protected Attributes | |
| ITdCommander | TdProxy |
Properties | |
| string | Comment [get, set] |
| DataSourceTypes | SourceType [get, set] |
| Read only. The type of dataset. For example, SF for Sinda results. | |
| DimensionalList< Time > | Times [get, set] |
| Read only. Time values associated with each timestep/record in the dataset, in the current WorkingUnits. | |
| int | CurrentTimeIndex [get, set] |
| Set this to choose what timestep/record will be displayed when post-processed. | |
| PlotMliNodes | PlotMLINodes [get, set] |
| int | SmartColorBarCycle [get, set] |
| int | UseOrbit [get, set] |
| string | OrbitName [get, set] |
| Dimensional< Time > | OffsetTime [get, set] |
| ExpressionData | OffsetTimeExp [get, set] |
| AdditionalDatasetInfoHolder | AdditionalInfo [get, set] |
| Type-specific information about the dataset. | |
| string | Pathname [get] |
| string | Name [get] |
| This object is uniquely-identified by this name. | |
| string | _n [get, set] |
| Do not use. | |
Detailed Description
Client-side representation of a dataset (solution results) in a TD instance.
Member Enumeration Documentation
◆ DataSourceTypes
◆ PlotMliNodes
Constructor & Destructor Documentation
◆ Dataset()
|
inline |
Member Function Documentation
◆ CreateIn()
|
inline |
Creates the TD entity in the specified TD instance.
Implements OpenTD.IReassignable.
◆ ModifyName()
|
inlineprotectedvirtualinherited |
Reimplemented in OpenTD.SubmodelData.
◆ ProxyRename()
|
inlineprotected |
◆ Rename()
|
inlinevirtualinherited |
Use this method to rename the client-side object and the TD item it is linked to.
◆ SetCurrent()
|
inline |
◆ SetFrom()
|
inlineinherited |
◆ ShowContourPlot()
|
inline |
◆ ToString()
|
inline |
◆ TrySetCurrentTimeIndex()
|
inline |
Use this to indirectly set CurrentTimeIndex by specifying a time in the current WorkingUnits. Returns true if able to find a time in Times within the percent tolerance specified (defaults to 1%).
- Parameters
-
time percentTolerance
- Returns
◆ Update()
|
inline |
Updates the TD entity with the latest client data.
Implements OpenTD.IUpdatable.
◆ UpdateFromTD()
|
inline |
Updates the client-side instance with the latest data from the TD entity.
Implements OpenTD.IUpdatable.
◆ UpdateIn()
|
inlineinherited |
Updates the TD entity corresponding to this object in the specified TD instance, if possible.
Implements OpenTD.IReassignable.
Member Data Documentation
◆ TdProxy
|
protectedinherited |
Property Documentation
◆ _n
|
getsetinherited |
Do not use.
◆ AdditionalInfo
|
getset |
Type-specific information about the dataset.
◆ Comment
|
getset |
◆ CurrentTimeIndex
|
getset |
Set this to choose what timestep/record will be displayed when post-processed.
◆ Name
|
getinherited |
This object is uniquely-identified by this name.
◆ OffsetTime
|
getset |
◆ OffsetTimeExp
|
getset |
◆ OrbitName
|
getset |
◆ Pathname
|
get |
◆ PlotMLINodes
|
getset |
◆ SmartColorBarCycle
|
getset |
◆ SourceType
|
getset |
Read only. The type of dataset. For example, SF for Sinda results.
◆ Times
|
getset |
Read only. Time values associated with each timestep/record in the dataset, in the current WorkingUnits.
◆ UseOrbit
|
getset |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/PostProcessing/Dataset.cs