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 procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public class function URNMatching(const URN: string): boolean; 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 Proxy(var State: TX3DGraphTraverseState; const OverTriangulate: boolean): TAbstractGeometryNode; override;
Public function ProxyUsesOverTriangulate: boolean; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function VerticesCount(State: TX3DGraphTraverseState; OverTriangulate: boolean; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; OverTriangulate: boolean; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode);
Public procedure SetHeight(const Value: array of Single);
Public procedure SetHeight(const Value: TSingleList);

Properties

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

Description

Methods

Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public class function URNMatching(const URN: string): boolean; 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 Proxy(var State: TX3DGraphTraverseState; const OverTriangulate: boolean): TAbstractGeometryNode; override;
 
Public function ProxyUsesOverTriangulate: boolean; override;
 
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function VerticesCount(State: TX3DGraphTraverseState; OverTriangulate: boolean; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; OverTriangulate: boolean; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode);
 
Public procedure SetHeight(const Value: array of Single);
 
Public procedure SetHeight(const Value: TSingleList);
 

Properties

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

Generated by PasDoc 0.15.0.