Class TElevationGridNode

Unit

Declaration

type TElevationGridNode = class(TAbstractGeometryNode)

Description

Uniform rectangular grid of varying height above the Y=0 plane, aka "height map".

Hierarchy

Overview

Methods

Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
Public function IsNotEmpty: boolean;
Public function ColorField: TSFNode; override;
Public function InternalFogCoord: TMFFloat; override;
Public function AttribField: TMFNode; override;
Public function SolidField: TSFBool; override;
Public function FieldSetByEvent(const Event: TX3DEvent): TX3DField; override;
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function VerticesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode);
Public procedure SetHeight(const Value: array of Single); overload;
Public procedure SetHeight(const Value: TSingleList); overload;

Properties

Public property EventSet_height: TMFFloatEvent read FEventSet_height;
Public property FdAttrib: TMFNode read FFdAttrib;
Public property FdColor: TSFNode read FFdColor;
Public property Color: TAbstractColorNode read GetColor write SetColor;
Public property FdFogCoord: TSFNode read FFdFogCoord;
Public property FogCoord: TFogCoordinateNode read GetFogCoord write SetFogCoord;
Public property FdNormal: TSFNode read FFdNormal;
Public property Normal: TAbstractNormalNode read GetNormal write SetNormal;
Public property FdTexCoord: TSFNode read FFdTexCoord;
Public property TexCoord: TAbstractTextureCoordinateNode read GetTexCoord write SetTexCoord;
Public property FdCcw: TSFBool read FFdCcw;
Public property Ccw: Boolean read GetCcw write SetCcw;
Public property FdColorPerVertex: TSFBool read FFdColorPerVertex;
Public property ColorPerVertex: Boolean read GetColorPerVertex write SetColorPerVertex;
Public property FdCreaseAngle: TSFFloat read FFdCreaseAngle;
Public property CreaseAngle: Single read GetCreaseAngle write SetCreaseAngle;
Public property FdHeight: TMFFloat read FFdHeight;
Public property FdNormalPerVertex: TSFBool read FFdNormalPerVertex;
Public property NormalPerVertex: Boolean read GetNormalPerVertex write SetNormalPerVertex;
Public property FdSolid: TSFBool read FFdSolid;
Public property FdXDimension: TSFInt32 read FFdXDimension;
Public property XDimension: Integer read GetXDimension write SetXDimension;
Public property FdXSpacing: TSFFloat read FFdXSpacing;
Public property XSpacing: Single read GetXSpacing write SetXSpacing;
Public property FdZDimension: TSFInt32 read FFdZDimension;
Public property ZDimension: Integer read GetZDimension write SetZDimension;
Public property FdZSpacing: TSFFloat read FFdZSpacing;
Public property ZSpacing: Single read GetZSpacing write SetZSpacing;

Description

Methods

Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
 
Public function IsNotEmpty: boolean;

This checks whether xDimension and zDimension are >= 2, xSpacing and zSpacing are > 0 and height has at least the required number of values. If this returns False then it is understood that ElevationGrid is not rendered, doesn't have any vertices/triangles etc.

Public function ColorField: TSFNode; override;
 
Public function InternalFogCoord: TMFFloat; override;
 
Public function AttribField: TMFNode; override;
 
Public function SolidField: TSFBool; override;
 
Public function FieldSetByEvent(const Event: TX3DEvent): TX3DField; override;
 
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
 
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function VerticesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode);
 
Public procedure SetHeight(const Value: array of Single); overload;
 
Public procedure SetHeight(const Value: TSingleList); overload;
 

Properties

Public property EventSet_height: TMFFloatEvent read FEventSet_height;
 
Public property FdAttrib: TMFNode read FFdAttrib;

Internal wrapper for property Attrib. This wrapper API may change, we advise to access simpler Attrib instead.

Public property FdColor: TSFNode read FFdColor;

Internal wrapper for property Color. This wrapper API may change, we advise to access simpler Color instead.

Public property Color: TAbstractColorNode read GetColor write SetColor;
 
Public property FdFogCoord: TSFNode read FFdFogCoord;

Internal wrapper for property FogCoord. This wrapper API may change, we advise to access simpler FogCoord instead.

Public property FogCoord: TFogCoordinateNode read GetFogCoord write SetFogCoord;
 
Public property FdNormal: TSFNode read FFdNormal;

Internal wrapper for property Normal. This wrapper API may change, we advise to access simpler Normal instead.

Public property Normal: TAbstractNormalNode read GetNormal write SetNormal;
 
Public property FdTexCoord: TSFNode read FFdTexCoord;

Internal wrapper for property TexCoord. This wrapper API may change, we advise to access simpler TexCoord instead.

Public property TexCoord: TAbstractTextureCoordinateNode read GetTexCoord write SetTexCoord;
 
Public property FdCcw: TSFBool read FFdCcw;

Internal wrapper for property Ccw. This wrapper API may change, we advise to access simpler Ccw instead.

Public property Ccw: Boolean read GetCcw write SetCcw;
 
Public property FdColorPerVertex: TSFBool read FFdColorPerVertex;

Internal wrapper for property ColorPerVertex. This wrapper API may change, we advise to access simpler ColorPerVertex instead.

Public property ColorPerVertex: Boolean read GetColorPerVertex write SetColorPerVertex;
 
Public property FdCreaseAngle: TSFFloat read FFdCreaseAngle;

Internal wrapper for property CreaseAngle. This wrapper API may change, we advise to access simpler CreaseAngle instead.

Public property CreaseAngle: Single read GetCreaseAngle write SetCreaseAngle;
 
Public property FdHeight: TMFFloat read FFdHeight;

Internal wrapper for property Height. This wrapper API may change, we advise to access simpler Height instead.

Public property FdNormalPerVertex: TSFBool read FFdNormalPerVertex;

Internal wrapper for property NormalPerVertex. This wrapper API may change, we advise to access simpler NormalPerVertex instead.

Public property NormalPerVertex: Boolean read GetNormalPerVertex write SetNormalPerVertex;
 
Public property FdSolid: TSFBool read FFdSolid;

Internal wrapper for property Solid. This wrapper API may change, we advise to access simpler Solid instead.

Public property FdXDimension: TSFInt32 read FFdXDimension;

Internal wrapper for property XDimension. This wrapper API may change, we advise to access simpler XDimension instead.

Public property XDimension: Integer read GetXDimension write SetXDimension;
 
Public property FdXSpacing: TSFFloat read FFdXSpacing;

Internal wrapper for property XSpacing. This wrapper API may change, we advise to access simpler XSpacing instead.

Public property XSpacing: Single read GetXSpacing write SetXSpacing;
 
Public property FdZDimension: TSFInt32 read FFdZDimension;

Internal wrapper for property ZDimension. This wrapper API may change, we advise to access simpler ZDimension instead.

Public property ZDimension: Integer read GetZDimension write SetZDimension;
 
Public property FdZSpacing: TSFFloat read FFdZSpacing;

Internal wrapper for property ZSpacing. This wrapper API may change, we advise to access simpler ZSpacing instead.

Public property ZSpacing: Single read GetZSpacing write SetZSpacing;
 

Generated by PasDoc 0.16.0.