Class TfrmExportShapefile

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TfrmExportShapefile = class(TfrmCustomGoPhast)

Description

no description available, TfrmCustomGoPhast description follows

TfrmCustomGoPhast is the ancestor of all TForms in GoPhast.

TfrmCustomGoPhast handles setting the color and font. TfrmCustomGoPhast also tries to keep from appearing at a location where it can't be seen. )

Hierarchy

Overview

Fields

Implicit tvExportItems: TTreeView;
Implicit rdgTime: TRbwDataGrid4;
Implicit seTimeCount: TJvSpinEdit;
Implicit jfeElements: TJvFilenameEdit;
Implicit jfeNodes: TJvFilenameEdit;
Implicit jfeHorizontalFlowBarrier: TJvFilenameEdit;
Implicit btnCancel: TBitBtn;
Implicit btnOK: TBitBtn;
Implicit btnHelp: TBitBtn;
Implicit lblExportItems: TLabel;
Implicit lblTime: TLabel;
Implicit lblTimeCount: TLabel;
Implicit lblElements: TLabel;
Implicit lblNodes: TLabel;
Implicit lblHorizontalFlowBarrier: TLabel;
Implicit ilCheckImages: TImageList;
Implicit rgExportObjectType: TRadioGroup;
Implicit rgHfbDimensions: TRadioGroup;
Implicit comboModel: TComboBox;
Implicit pnlBottom: TPanel;
Implicit pnlTop: TPanel;
Private FEdgeEdits: TList;
Private FShapeFileName: string;
Private FLocalGrid: TCustomModelGrid;
Private FLayerLimit: Integer;
Private FFields: TStringList;
Private FNames: TStringList;
Private FShapeDataBase: TXBase;
Private FShapeType: Integer;
Private FShapeFileWriter: TShapefileGeometryWriter;
Private FGettingData: Boolean;
Private FLocalMesh: TSutraMesh3D;

Methods

Implicit procedure FormCreate(Sender: TObject); override;
Implicit procedure FormDestroy(Sender: TObject); override;
Implicit procedure tvExportItemsMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Implicit procedure seTimeCountChange(Sender: TObject);
Implicit procedure rdgTimeSetEditText(Sender: TObject; ACol, ARow: Integer; const Value: string);
Implicit procedure btnOKClick(Sender: TObject);
Private procedure GetDataSets;
Private procedure GetBoundaryConditions;
Private procedure UpdateParentNodeStates;
Private procedure UpdateEnabledControls;
Private procedure GetData;
Private procedure InitializeNodeStates;
Private procedure InitializeFileNames;
Private procedure ReadSelectedTimes;
Private procedure SetData;
Private procedure ExportNodeShapes(DataSets, TimeLists: TList);
Private procedure ExportElementShapes(DataSets, TimeLists: TList);
Private procedure ExportHfbShapes(Edits: TList);
Private procedure Assign2DShapeGeometry(Shape: TShapeObject; ColIndex, RowIndex: Integer; EvaluatedAt: TEvaluatedAt);
Private function GetShapeType: Integer;
Private procedure GetFieldNames(Names, Fields: TStringList; LayerLimit: Integer; TimeLists, DataSets: TList; EvaluatedAt: TEvaluatedAt);
Private procedure InitializeControls;
Private procedure Assign2DID_Fields(ID, ColIndex, RowIndex: Integer; ShapeDataBase: TXBase; EvaluatedAt: TEvaluatedAt);
Private procedure Assign2DDataSetValuesToDataBase(DataSets: TList; DataSetIndex: Integer; Names: TStringList; LayerLimit, ColIndex, RowIndex: integer; ShapeDataBase: TXBase);
Private procedure Export2DNodeShapes(DataSets: TList);
Private procedure Export3DNodeShapes(DataSets: TList);
Private procedure Assign3DShapeGeometry(Shape: TShapeObject; ColIndex, RowIndex, LayerIndex: Integer; EvaluatedAt: TEvaluatedAt);
Private procedure Assign3DID_Fields(ID, ColIndex, RowIndex, LayerIndex: Integer; ShapeDataBase: TXBase; EvaluatedAt: TEvaluatedAt);
Private procedure Assign3DDataSetValuesToDataBase(DataSets: TList; DataSetIndex: Integer; Names: TStringList; ColIndex, RowIndex, LayerIndex: integer; ShapeDataBase: TXBase);
Private procedure Export2DElementShapes(DataSets: TList);
Private procedure Export3DElementShapes(DataSets: TList);
Private procedure GetModels;

Description

Fields

Implicit tvExportItems: TTreeView;
 
Implicit rdgTime: TRbwDataGrid4;
 
Implicit seTimeCount: TJvSpinEdit;
 
Implicit jfeElements: TJvFilenameEdit;
 
Implicit jfeNodes: TJvFilenameEdit;
 
Implicit jfeHorizontalFlowBarrier: TJvFilenameEdit;
 
Implicit btnCancel: TBitBtn;
 
Implicit btnOK: TBitBtn;
 
Implicit btnHelp: TBitBtn;
 
Implicit lblExportItems: TLabel;
 
Implicit lblTime: TLabel;
 
Implicit lblTimeCount: TLabel;
 
Implicit lblElements: TLabel;
 
Implicit lblNodes: TLabel;
 
Implicit lblHorizontalFlowBarrier: TLabel;
 
Implicit ilCheckImages: TImageList;
 
Implicit rgExportObjectType: TRadioGroup;
 
Implicit rgHfbDimensions: TRadioGroup;
 
Implicit comboModel: TComboBox;
 
Implicit pnlBottom: TPanel;
 
Implicit pnlTop: TPanel;
 
Private FEdgeEdits: TList;
 
Private FShapeFileName: string;
 
Private FLocalGrid: TCustomModelGrid;
 
Private FLayerLimit: Integer;
 
Private FFields: TStringList;
 
Private FNames: TStringList;
 
Private FShapeDataBase: TXBase;
 
Private FShapeType: Integer;
 
Private FShapeFileWriter: TShapefileGeometryWriter;
 
Private FGettingData: Boolean;
 
Private FLocalMesh: TSutraMesh3D;
 

Methods

Implicit procedure FormCreate(Sender: TObject); override;
 
Implicit procedure FormDestroy(Sender: TObject); override;
 
Implicit procedure tvExportItemsMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
 
Implicit procedure seTimeCountChange(Sender: TObject);
 
Implicit procedure rdgTimeSetEditText(Sender: TObject; ACol, ARow: Integer; const Value: string);
 
Implicit procedure btnOKClick(Sender: TObject);
 
Private procedure GetDataSets;
 
Private procedure GetBoundaryConditions;
 
Private procedure UpdateParentNodeStates;
 
Private procedure UpdateEnabledControls;
 
Private procedure GetData;
 
Private procedure InitializeNodeStates;
 
Private procedure InitializeFileNames;
 
Private procedure ReadSelectedTimes;
 
Private procedure SetData;
 
Private procedure ExportNodeShapes(DataSets, TimeLists: TList);
 
Private procedure ExportElementShapes(DataSets, TimeLists: TList);
 
Private procedure ExportHfbShapes(Edits: TList);
 
Private procedure Assign2DShapeGeometry(Shape: TShapeObject; ColIndex, RowIndex: Integer; EvaluatedAt: TEvaluatedAt);
 
Private function GetShapeType: Integer;
 
Private procedure GetFieldNames(Names, Fields: TStringList; LayerLimit: Integer; TimeLists, DataSets: TList; EvaluatedAt: TEvaluatedAt);

A side effect of GetFieldNames is to add the data sets in the TCustomTimeLists in "TimeLists" to "DataSets".

Private procedure InitializeControls;
 
Private procedure Assign2DID_Fields(ID, ColIndex, RowIndex: Integer; ShapeDataBase: TXBase; EvaluatedAt: TEvaluatedAt);
 
Private procedure Assign2DDataSetValuesToDataBase(DataSets: TList; DataSetIndex: Integer; Names: TStringList; LayerLimit, ColIndex, RowIndex: integer; ShapeDataBase: TXBase);
 
Private procedure Export2DNodeShapes(DataSets: TList);
 
Private procedure Export3DNodeShapes(DataSets: TList);
 
Private procedure Assign3DShapeGeometry(Shape: TShapeObject; ColIndex, RowIndex, LayerIndex: Integer; EvaluatedAt: TEvaluatedAt);
 
Private procedure Assign3DID_Fields(ID, ColIndex, RowIndex, LayerIndex: Integer; ShapeDataBase: TXBase; EvaluatedAt: TEvaluatedAt);
 
Private procedure Assign3DDataSetValuesToDataBase(DataSets: TList; DataSetIndex: Integer; Names: TStringList; ColIndex, RowIndex, LayerIndex: integer; ShapeDataBase: TXBase);
 
Private procedure Export2DElementShapes(DataSets: TList);
 
Private procedure Export3DElementShapes(DataSets: TList);
 
Private procedure GetModels;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:41:35