Description | Hierarchy | Fields | Methods | Properties |
type TDataArray = class(TObserver)
TDataArray
provides an interface to a 3D array of data.
All descendants of TDataArray
that are instantiated must be registered with the system using RegisterClass in the initialization section of the unit in which they are declared.
function GetTwoDInterpolatorClass: string; |
|
procedure ResetFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
|
procedure SetFormula(const Value: string); |
|
procedure SetLimits(const Value: TColoringLimits); |
|
procedure SetLock(const Value: TDataLock); |
|
procedure SetTwoDInterpolator(const Value: TCustom2DInterpolater); |
|
procedure SetTwoDInterpolatorClass(const Value: string); |
|
procedure SetUnits(const Value: string); |
|
procedure SetVisible(const Value: boolean); |
|
procedure UpdateUseList; |
|
procedure SetClassification(const Value: string); |
|
function GetClassification: string; |
|
procedure SetParameterFormula(const Value: string); |
|
procedure SetParameterUsed(const Value: boolean); |
|
procedure GetBoolArray(var AnArray: T3DBooleanDataSet); |
|
procedure GetStringArray(var AnArray: T3DStringDataSet); |
|
procedure GetRealArray(var AnArray: T3DRealDataSet); |
|
procedure GetIntegerArray(var AnArray: T3DIntegerDataSet); |
|
function GetLayerCount: integer; |
|
function GetColumnCount: integer; |
|
function GetRowCount: integer; |
|
procedure SetComment(const Value: string); |
|
function GetMaxValue: string; |
|
function GetMinValue: string; |
|
procedure SetContourLimits(const Value: TColoringLimits); |
|
procedure ContourLimitsChanged(Sender: TObject); |
|
procedure SetContours(const Value: TContours); |
|
function GetFormula: string; |
|
function ValueOK(const Layer, Row, Col: Integer; LocalLimits: TColoringLimits): Boolean; |
|
function GetHash: longint; |
|
procedure UpdateSubscriptions(NewUseList: TStringList; OldUseList: TStringList); |
|
procedure ReadCompressedData(Stream: TStream); |
|
procedure WriteCompressedData(Stream: TStream); |
|
procedure SetUnicodeSaved(const Value: Boolean); |
|
procedure SetDisplayName(const Value: string); |
|
function GetDisplayName: string; |
|
function GetDisplayFormula: string; |
|
procedure SetContourAlg(const Value: TContourAlg); |
|
function GetMaxReal: double; |
|
function GetMinReal: double; |
|
function GetMinRealPositive: double; |
|
function GetMinInteger: integer; |
|
function GetMaxInteger: integer; |
|
function GetMinBoolean: boolean; |
|
function GetMaxBoolean: boolean; |
|
function GetMinString: string; |
|
function GetMaxString: string; |
|
procedure SetAngleType(const Value: TAngleType); |
|
procedure SetEvaluatedAt(const Value: TEvaluatedAt); virtual; |
|
procedure DefineProperties(Filer: TFiler); override; |
|
function GetCompiler: TRbwParser; |
|
procedure SetOrientation(const Value: TDataSetOrientation); virtual; |
|
procedure GetLimits(out ColLimit, RowLimit, LayerLimit: Integer); |
|
procedure ReadData(DecompressionStream: TDecompressionStream); virtual; |
|
procedure CountValues(out LayerLimit, RowLimit, ColLimit, Count: Integer); |
|
procedure StoreData(Stream: TStream); virtual; |
|
procedure RestoreArraySize; |
|
procedure ChangeAFormula(const NewFormula: string; var OldFormula: string; var UseListUpToDate: boolean; UseListFunction: TUseListFunction); |
|
function GetAnnotation(const Layer, Row, Col: integer): string; virtual; |
|
function GetBooleanData(const Layer, Row, Col: integer): boolean; virtual; |
|
function GetIntegerData(const Layer, Row, Col: integer): integer; virtual; |
|
function GetIsValue(const Layer, Row, Col: Integer): boolean; virtual; |
|
function GetOwner: TPersistent; override; |
|
function GetRealData(const Layer, Row, Col: integer): double; virtual; |
|
procedure GetRequiredDimensions(out NumberOfLayers, NumberOfRows, NumberOfColumns: integer); |
|
function GetStringData(const Layer, Row, Col: integer): string; virtual; |
|
function GetUseList: TStringList; virtual; |
|
procedure LimitsChanged(Sender: TObject); |
|
procedure SetAnnotation(const Layer, Row, Col: integer; const Value: string); virtual; |
|
procedure SetBooleanData(const Layer, Row, Col: integer; const Value: boolean); virtual; |
|
procedure SetDataType(const Value: TRbwDataType); virtual; |
|
procedure SetDimensions(const SetToZero: boolean = False); virtual; |
|
procedure SetIntegerData(const Layer, Row, Col, Value: integer); virtual; |
|
procedure SetIsValue(const Layer, Row, Col: Integer; const Value: boolean); virtual; |
|
procedure SetName(const Value: TComponentName); override; |
|
procedure SetRealData(const Layer, Row, Col: integer; const Value: double); virtual; |
|
procedure SetStringData(const Layer, Row, Col: integer; const Value: string); virtual; |
|
procedure SetUpToDate(const Value: boolean); override; |
|
procedure PostInitialize; |
|
procedure Clear; virtual; |
|
procedure RestoreData; |
|
procedure CheckRestoreData; |
|
procedure RemoveSubscription(Sender: TObject; const AName: string); |
|
procedure RestoreSubscription(Sender: TObject; const AName: string); |
|
procedure UpdateNotifiers; virtual; |
|
function IsSparseArray: boolean; virtual; |
|
procedure UpdateWithoutNotification(NewOrientation: TDataSetOrientation; NewEvaluatedAt: TEvaluatedAt; NewDataType: TRbwDataType; var NeedToInvalidate: boolean); |
|
procedure UpdateWithName(const AName: string); override; |
|
procedure RestoreUpToDateStatus; |
|
Procedure SetModelToNil; |
|
procedure RefreshUseList; |
|
function ColorGridValueOK(const Layer, Row, Col: integer): boolean; |
|
function ContourGridValueOK(const Layer, Row, Col: integer): boolean; |
|
procedure CheckIfUniform; virtual; |
|
procedure GetMinMaxStoredLimits(out LayerMin, RowMin, ColMin, LayerMax, RowMax, ColMax: integer); virtual; |
|
procedure UpdateMinMaxValues; |
|
procedure Assign(Source: TPersistent); override; |
|
procedure CacheData; |
|
function FullClassification: string; |
|
constructor Create(AnOwner: TComponent); override; |
|
destructor Destroy; override; |
|
function DisplayRealValue: boolean; virtual; |
|
procedure FullUseList(const AStringList: TStringList); |
|
procedure Initialize; virtual; |
|
procedure Invalidate; virtual; |
|
procedure UpdateDimensions(NumberOfLayers, NumberOfRows, NumberOfColumns: integer; ForceResize: boolean = False); |
|
function UsedByModel: boolean; |
|
procedure RefreshFormula; virtual; |
|
procedure ComputeHash; |
|
function IdenticalDataArrayContents(ADataArray: TDataArray): boolean; |
|
procedure AssignProperties(Source: TDataArray); virtual; |
FAnnotation: T3DStringDataSet; |
|
See Annotation. |
FCheckMax: boolean; |
|
See CheckMax. |
FCheckMin: boolean; |
|
See CheckMin. |
FColumnCount: integer; |
|
See ColumnCount. |
FDataArray: pointer; |
|
Depending on DataType, See RealData, IntegerData, BooleanData, and StringData, |
FDataType: TRbwDataType; |
|
See DataType. |
FEvaluatedAt: TEvaluatedAt; |
|
See EvaluatedAt. |
FFormula: string; |
|
|
FLayerCount: integer; |
|
See LayerCount. |
FLimits: TColoringLimits; |
|
See Limits. |
FLock: TDataLock; |
|
See Lock. |
FMax: double; |
|
See Max. |
FMin: double; |
|
See Min. |
FOrientation: TDataSetOrientation; |
|
See Orientation. |
FRowCount: integer; |
|
See RowCount. |
FTwoDInterpolator: TCustom2DInterpolater; |
|
See TwoDInterpolator. |
FUnits: string; |
|
See Units. |
FUseList: TStringList; |
|
See UseList. |
FUseListUpToDate: boolean; |
|
|
FVisible: boolean; |
|
See Visible. |
FOnDataSetUsed: TObjectUsedEvent; |
|
See OnDataSetUsed. |
FTimeList: TCustomTimeList; |
|
See TCustomTimeList. |
FClassification: string; |
|
See Classification. |
FOnPostInitialize: TNotifyEvent; |
|
See OnPostInitialize. |
FOnDestroy: TNotifyEvent; |
|
See OnDestroy. |
FParameterUsed: boolean; |
|
See ParameterUsed. |
FParameterFormula: string; |
|
See ParameterFormula. |
FUniformStringValue: string; |
|
See UniformStringValue. |
FUniformIntegerValue: integer; |
|
See UniformIntegerValue. |
FUniformAnnotation: string; |
|
See UniformAnnotation. |
FUniformBooleanValue: boolean; |
|
See UniformBooleanValue. |
FUniformRealValue: double; |
|
See UniformRealValue. |
FCachedLayerCount: Integer; |
|
When the |
FCachedRowCount: Integer; |
|
When the |
FCachedColumnCount: Integer; |
|
When the |
FComment: string; |
|
see Comment. |
FAssociatedDataSets: string; |
|
see AssociatedDataSets. |
FMaxValue: string; |
|
See MaxValue. |
FMinValue: string; |
|
See MinValue. |
FMinReal: double; |
|
FMaxReal: double; |
|
FMinRealPositive: double; |
|
FMinInteger: Integer; |
|
FMaxInteger: Integer; |
|
FMinBoolean: Boolean; |
|
FMaxBoolean: Boolean; |
|
FMinString: string; |
|
FMaxString: string; |
|
FContourLimits: TColoringLimits; |
|
FContours: TContours; |
|
FFormulaObject: TFormulaObject; |
|
FHash: longint; |
|
FReadDataFromFile: Boolean; |
|
FUpdatingProgress: Boolean; |
|
FUseLgrEdgeCells: TLgrCellTreatment; |
|
FUnicodeSaved: Boolean; |
|
FDisplayName: string; |
|
FContourAlg: TContourAlg; |
|
FMinMaxUpToDate: Boolean; |
|
FAngleType: TAngleType; |
|
FDimensionsChanged: boolean; |
|
See DimensionsChanged. |
FIsUniform: TIsUniform; |
|
See IsUniform. |
FModel: TBaseModel; |
|
|
FCleared: boolean; |
|
|
FDataCached: boolean; |
|
|
FTempFileName: string; |
|
|
function GetTwoDInterpolatorClass: string; |
|
procedure ResetFormula(const Compiler: TRbwParser; const ErrorMessage: string); |
|
|
procedure SetFormula(const Value: string); |
|
See Formula. |
procedure SetLimits(const Value: TColoringLimits); |
|
See Limits. |
procedure SetLock(const Value: TDataLock); |
|
See Lock. |
procedure SetTwoDInterpolator(const Value: TCustom2DInterpolater); |
|
See TwoDInterpolator. |
procedure SetTwoDInterpolatorClass(const Value: string); |
|
procedure SetUnits(const Value: string); |
|
See Units. |
procedure SetVisible(const Value: boolean); |
|
See Visible. |
procedure UpdateUseList; |
|
|
procedure SetClassification(const Value: string); |
|
See Classification. |
function GetClassification: string; |
|
See Classification. |
procedure SetParameterFormula(const Value: string); |
|
See ParameterFormula. |
procedure SetParameterUsed(const Value: boolean); |
|
See ParameterUsed. |
procedure GetBoolArray(var AnArray: T3DBooleanDataSet); |
|
|
procedure GetStringArray(var AnArray: T3DStringDataSet); |
|
|
procedure GetRealArray(var AnArray: T3DRealDataSet); |
|
|
procedure GetIntegerArray(var AnArray: T3DIntegerDataSet); |
|
|
function GetLayerCount: integer; |
|
See LayerCount. |
function GetColumnCount: integer; |
|
See ColumnCount. |
function GetRowCount: integer; |
|
See RowCount. |
procedure SetComment(const Value: string); |
|
See Comment. |
function GetMaxValue: string; |
|
See MaxValue. |
function GetMinValue: string; |
|
See MinValue. |
procedure SetContourLimits(const Value: TColoringLimits); |
|
procedure ContourLimitsChanged(Sender: TObject); |
|
procedure SetContours(const Value: TContours); |
|
function GetFormula: string; |
|
function ValueOK(const Layer, Row, Col: Integer; LocalLimits: TColoringLimits): Boolean; |
|
function GetHash: longint; |
|
procedure UpdateSubscriptions(NewUseList: TStringList; OldUseList: TStringList); |
|
procedure ReadCompressedData(Stream: TStream); |
|
procedure WriteCompressedData(Stream: TStream); |
|
procedure SetUnicodeSaved(const Value: Boolean); |
|
procedure SetDisplayName(const Value: string); |
|
function GetDisplayName: string; |
|
function GetDisplayFormula: string; |
|
procedure SetContourAlg(const Value: TContourAlg); |
|
function GetMaxReal: double; |
|
function GetMinReal: double; |
|
function GetMinRealPositive: double; |
|
function GetMinInteger: integer; |
|
function GetMaxInteger: integer; |
|
function GetMinBoolean: boolean; |
|
function GetMaxBoolean: boolean; |
|
function GetMinString: string; |
|
function GetMaxString: string; |
|
procedure SetAngleType(const Value: TAngleType); |
|
procedure SetEvaluatedAt(const Value: TEvaluatedAt); virtual; |
|
See EvaluatedAt. |
procedure DefineProperties(Filer: TFiler); override; |
|
function GetCompiler: TRbwParser; |
|
procedure SetOrientation(const Value: TDataSetOrientation); virtual; |
|
See Orientation. |
procedure GetLimits(out ColLimit, RowLimit, LayerLimit: Integer); |
|
|
procedure ReadData(DecompressionStream: TDecompressionStream); virtual; |
|
See also
|
procedure CountValues(out LayerLimit, RowLimit, ColLimit, Count: Integer); |
|
|
procedure StoreData(Stream: TStream); virtual; |
|
See also
|
procedure RestoreArraySize; |
|
|
procedure ChangeAFormula(const NewFormula: string; var OldFormula: string; var UseListUpToDate: boolean; UseListFunction: TUseListFunction); |
|
|
function GetAnnotation(const Layer, Row, Col: integer): string; virtual; |
|
See Annotation. |
function GetBooleanData(const Layer, Row, Col: integer): boolean; virtual; |
|
See BooleanData. |
function GetIntegerData(const Layer, Row, Col: integer): integer; virtual; |
|
See IntegerData. |
function GetIsValue(const Layer, Row, Col: Integer): boolean; virtual; |
|
See IsValue. |
function GetOwner: TPersistent; override; |
|
|
function GetRealData(const Layer, Row, Col: integer): double; virtual; |
|
See RealData. |
procedure GetRequiredDimensions(out NumberOfLayers, NumberOfRows, NumberOfColumns: integer); |
|
|
function GetStringData(const Layer, Row, Col: integer): string; virtual; |
|
See StringData. |
function GetUseList: TStringList; virtual; |
|
See UseList. |
procedure LimitsChanged(Sender: TObject); |
|
|
procedure SetAnnotation(const Layer, Row, Col: integer; const Value: string); virtual; |
|
See Annotation. |
procedure SetBooleanData(const Layer, Row, Col: integer; const Value: boolean); virtual; |
|
See BooleanData. |
procedure SetDataType(const Value: TRbwDataType); virtual; |
|
See DataType. |
procedure SetIntegerData(const Layer, Row, Col, Value: integer); virtual; |
|
See IntegerData. |
procedure SetIsValue(const Layer, Row, Col: Integer; const Value: boolean); virtual; |
|
See IsValue. |
procedure SetName(const Value: TComponentName); override; |
|
|
procedure SetRealData(const Layer, Row, Col: integer; const Value: double); virtual; |
|
See RealData. |
procedure SetStringData(const Layer, Row, Col: integer; const Value: string); virtual; |
|
See StringData. |
procedure PostInitialize; |
|
If a |
procedure Clear; virtual; |
|
|
procedure RestoreData; |
|
|
procedure CheckRestoreData; |
|
When appropriate, |
procedure RemoveSubscription(Sender: TObject; const AName: string); |
|
|
procedure RestoreSubscription(Sender: TObject; const AName: string); |
|
procedure UpdateNotifiers; virtual; |
|
function IsSparseArray: boolean; virtual; |
|
procedure UpdateWithoutNotification(NewOrientation: TDataSetOrientation; NewEvaluatedAt: TEvaluatedAt; NewDataType: TRbwDataType; var NeedToInvalidate: boolean); |
|
procedure UpdateWithName(const AName: string); override; |
|
procedure RestoreUpToDateStatus; |
|
Procedure SetModelToNil; |
|
procedure RefreshUseList; |
|
function ColorGridValueOK(const Layer, Row, Col: integer): boolean; |
|
function ContourGridValueOK(const Layer, Row, Col: integer): boolean; |
|
procedure CheckIfUniform; virtual; |
|
procedure GetMinMaxStoredLimits(out LayerMin, RowMin, ColMin, LayerMax, RowMax, ColMax: integer); virtual; |
|
procedure UpdateMinMaxValues; |
|
procedure Assign(Source: TPersistent); override; |
|
|
procedure CacheData; |
|
|
function FullClassification: string; |
|
|
constructor Create(AnOwner: TComponent); override; |
|
|
destructor Destroy; override; |
|
|
function DisplayRealValue: boolean; virtual; |
|
|
procedure FullUseList(const AStringList: TStringList); |
|
|
procedure Initialize; virtual; |
|
See also
|
procedure Invalidate; virtual; |
|
|
procedure UpdateDimensions(NumberOfLayers, NumberOfRows, NumberOfColumns: integer; ForceResize: boolean = False); |
|
|
function UsedByModel: boolean; |
|
|
procedure RefreshFormula; virtual; |
|
procedure ComputeHash; |
|
function IdenticalDataArrayContents(ADataArray: TDataArray): boolean; |
|
procedure AssignProperties(Source: TDataArray); virtual; |
|
property DimensionsChanged: boolean read FDimensionsChanged; |
|
|
property UnicodeSaved: Boolean read FUnicodeSaved write SetUnicodeSaved; |
|
property Annotation[constLayer,Row,Col:integer]: string read
GetAnnotation write SetAnnotation; |
|
When a value is assigned to a location in a |
property BooleanData[constLayer,Row,Col:integer]: boolean read
GetBooleanData write SetBooleanData; |
|
|
property ColumnCount: integer read GetColumnCount; |
|
|
property Formula: string read GetFormula write SetFormula; |
|
|
property DisplayFormula: string read GetDisplayFormula write SetFormula; |
|
property ParameterFormula: string read FParameterFormula
write SetParameterFormula; |
|
|
property ParameterUsed: boolean read FParameterUsed write SetParameterUsed; |
|
|
property IntegerData[constLayer,Row,Col:integer]: integer read
GetIntegerData write SetIntegerData; |
|
|
property IsValue[constLayer,Row,Col:Integer]: boolean read
GetIsValue write SetIsValue; |
|
|
property IsUniform: TIsUniform read FIsUniform; |
|
|
property UniformRealValue: double read FUniformRealValue; |
|
If the |
property UniformIntegerValue: integer read FUniformIntegerValue; |
|
If the |
property UniformBooleanValue: boolean read FUniformBooleanValue; |
|
If the |
property UniformStringValue: string read FUniformStringValue; |
|
If the |
property UniformAnnotation: string read FUniformAnnotation; |
|
If the |
property LayerCount: integer read GetLayerCount; |
|
|
property RealData[constLayer,Row,Col:integer]: double read GetRealData
write SetRealData; |
|
|
property RowCount: integer read GetRowCount; |
|
|
property StringData[constLayer,Row,Col:integer]: string read
GetStringData write SetStringData; |
|
|
property UseList: TStringList read GetUseList; |
|
|
property OnDataSetUsed: TObjectUsedEvent read FOnDataSetUsed write
FOnDataSetUsed; |
|
See UsedByModel. |
property ATimeList: TCustomTimeList read FTimeList write FTimeList; |
|
|
property OnPostInitialize: TNotifyEvent read FOnPostInitialize
write FOnPostInitialize; |
|
If a See also
|
property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy; |
|
|
property AssociatedDataSets: string read FAssociatedDataSets
write FAssociatedDataSets; |
|
|
property MaxValue: string read GetMaxValue; |
|
|
property MinValue: string read GetMinValue; |
|
|
property MinReal: double read GetMinReal; |
|
property MaxReal: double read GetMaxReal; |
|
property MinRealPositive: double read GetMinRealPositive; |
|
property MinInteger: integer read GetMinInteger; |
|
property MaxInteger: integer read GetMaxInteger; |
|
property MinBoolean: boolean read GetMinBoolean; |
|
property MaxBoolean: boolean read GetMaxBoolean; |
|
property MinString: string read GetMinString; |
|
property MaxString: string read GetMaxString; |
|
property Contours: TContours read FContours write SetContours; |
|
|
property Hash: longint read GetHash; |
|
property Model: TBaseModel read FModel; |
|
property UseLgrEdgeCells: TLgrCellTreatment read FUseLgrEdgeCells write FUseLgrEdgeCells; |
|
property DisplayName: string read GetDisplayName write SetDisplayName; |
|
property ContourAlg: TContourAlg read FContourAlg write SetContourAlg; |
|
property Classification: string read GetClassification
write SetClassification; |
|
|
property CheckMax: boolean read FCheckMax write FCheckMax; |
|
If |
property CheckMin: boolean read FCheckMin write FCheckMin; |
|
If |
property Comment: string read FComment write SetComment; |
|
|
property DataType: TRbwDataType read FDataType write SetDataType; |
|
|
property EvaluatedAt: TEvaluatedAt read FEvaluatedAt write SetEvaluatedAt; |
|
|
property Limits: TColoringLimits read FLimits write SetLimits; |
|
|
property ContourLimits: TColoringLimits read FContourLimits write SetContourLimits; |
|
|
property Lock: TDataLock read FLock write SetLock; |
|
Members of |
property Max: double read FMax write FMax; |
|
See CheckMax. |
property Min: double read FMin write FMin; |
|
See CheckMin. |
property Orientation: TDataSetOrientation read FOrientation
write SetOrientation; |
|
|
property TwoInterpolatorClass: string read GetTwoDInterpolatorClass
write SetTwoDInterpolatorClass stored False; |
|
|
property TwoDInterpolatorClass: string read GetTwoDInterpolatorClass
write SetTwoDInterpolatorClass; |
|
Important: when reading a |
property TwoDInterpolator: TCustom2DInterpolater read FTwoDInterpolator
write SetTwoDInterpolator; |
|
|
property Units: string read FUnits write SetUnits; |
|
|
property Visible: boolean read FVisible write SetVisible stored False; |
|
|
property AngleType: TAngleType read FAngleType write SetAngleType; |
|