Gorilla.Grid
Unit Gorilla.Grid.pasClasses
- TGorillaGridLine = class ( TCollectionItem )
- TGorillaGridLines = class ( TOwnedCollection )
- TGorillaGridLineMesh = class ( TGorillaMesh )
- TGorillaGrid = class ( TGorillaModel )
- TGorillaGrid3D = class ( TGorillaControl )
Constants
- const GORILLA_GRID_GRANULARITY : Integer = $3E8;
- const GORILLA_GRID_GRANULARITY_INV : Double = 0.001;
TGorillaGridLine
Ancestors
Members
Fields
- protected FName :
string
- protected FLineColor :
TAlphaColor
- protected FFrequency :
Single
- protected FMarks :
Single
- protected FShowXAxisMarks :
Boolean
- protected FShowYAxisMarks :
Boolean
- protected FMesh :
TGorillaGridLineMesh
Methods
- public constructor Create ( ACollection : TCollection ) ;
- public destructor Destroy ( ) ;
- protected function GetDisplayName ( ) : string ; override;
- protected procedure SetDisplayName ( const AValue : string ) ; override;
- protected function GetLineColor ( ) : TAlphaColor ;
- protected procedure SetLineColor ( const AValue : TAlphaColor ) ;
- protected procedure SetFrequency ( const AValue : Single ) ;
- protected procedure SetMarks ( const AValue : Single ) ;
- protected procedure SetShowXAxisMarks ( const AValue : Boolean ) ;
- protected procedure SetShowYAxisMarks ( const AValue : Boolean ) ;
- protected function GetGrid ( ) : TGorillaGrid ;
- public procedure Assign ( Source : TPersistent ) ; override;
- public procedure Setup ( ALineColor : TAlphaColor; AFrequency : Single; AMarks : Single ) ;
- public function GetMeshOwner ( ) : TGorillaMesh ;
- public procedure UpdateMesh ( ) ;
Properties
TGorillaGridLines
Ancestors
Members
Properties
TGorillaGridLineMesh
Ancestors
Members
Fields
- protected FLine :
TGorillaGridLine
- protected FLineMaterial :
TGorillaLambertMaterialSource
- protected FMarks :
TList<Gorilla.Layers.TGorillaTextLayer3D>
Methods
- public constructor Create ( AOwner : TComponent ) ;
- public destructor Destroy ( ) ;
- protected procedure Render ( ) ; override;
- protected procedure RebuildMesh ( ) ;
- protected procedure ClearMarks ( ) ;
- protected procedure RebuildMarks ( ) ;
- protected procedure CreateStaticBuffer ( ) ;
- protected procedure Resize3D ( ) ; override;
- public procedure EndUpdate ( ) ; override;
Properties
TGorillaGrid
Ancestors
Members
Fields
- protected FLines :
TGorillaGridLines
- protected FDefaultLines :
Integer
- protected FLineColor :
TAlphaColor
- protected FFrequency :
Single
- protected FMarks :
Single
Methods
- public constructor Create ( AOwner : TComponent ) ;
- public destructor Destroy ( ) ;
- protected procedure SetLines ( const AValue : TGorillaGridLines ) ;
- protected procedure SetDefaultLines ( const AValue : Integer ) ;
- protected procedure SetLineColor ( const Value : TAlphaColor ) ;
- protected function GetLineColor ( ) : TAlphaColor ;
- protected procedure SetFrequency ( const Value : Single ) ;
- protected procedure SetMarks ( const Value : Single ) ;
- protected procedure SetDepth ( const Value : Single ) ; override;
- protected procedure Render ( ) ; override;
- protected procedure Resize3D ( ) ; override;
- protected procedure Loaded ( ) ; override;
- protected procedure DoSetupDefaultLines ( ) ; virtual;
- public procedure AfterConstruction ( ) ; override;
- public procedure EndUpdate ( ) ; override;
- public procedure ClearLines ( ) ;
- public procedure UpdateLines ( ) ;
Properties
- published Lines : TGorillaGridLines
- published DefaultLines : Integer
Get or set the number of default lines to be created when no lines are available.
read FDefaultLines
write SetDefaultLines - published Marks : Single
- published Frequency : Single
Get or set the default frequency settings. This is used when adding a new line setting. It doesn't change currently available settings.
read FFrequency
write SetFrequency - published LineColor : TAlphaColor
Get or set the default line color settings. This is used when adding a new line setting. It doesn't change currently available settings.
read GetLineColor
write SetLineColor - published Cursor : TCursor
- published DragMode : TDragMode
- published Position : TPosition3D
- published Scale : TPosition3D
- published RotationAngle : TPosition3D
- published Locked : Boolean
- published Width : Single
- published Height : Single
- published Depth : Single
- published Opacity : Single
- published Projection : TProjection
- published HitTest : Boolean
- published VisibleContextMenu : Boolean
- published TwoSide : Boolean
- published Visible : Boolean
- published ZWrite : Boolean