Class TGeoElevationGridNode

Unit

Declaration

type TGeoElevationGridNode = class(TAbstractGeometryNode)

Description

Elevation grid expressed in geo-centric coordinates. Rendering of this node is not implemented yet.

Hierarchy

Overview

Methods

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 SetGeoSystem(const Value: array of string); overload;
Public procedure SetGeoSystem(const Value: TCastleStringList); overload;
Public procedure SetHeight(const Value: array of Double); overload;
Public procedure SetHeight(const Value: TDoubleList); overload;

Properties

Public property EventSet_height: TMFDoubleEvent read FEventSet_height;
Public property FdColor: TSFNode read FFdColor;
Public property Color: TAbstractColorNode read GetColor write SetColor;
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 FdYScale: TSFFloat read FFdYScale;
Public property YScale: Single read GetYScale write SetYScale;
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: TSFDouble read FFdCreaseAngle;
Public property CreaseAngle: Double read GetCreaseAngle write SetCreaseAngle;
Public property FdGeoGridOrigin: TSFVec3d read FFdGeoGridOrigin;
Public property GeoGridOrigin: TVector3Double read GetGeoGridOrigin write SetGeoGridOrigin;
Public property FdGeoOrigin: TSFNode read FFdGeoOrigin;
Public property GeoOrigin: TGeoOriginNode read GetGeoOrigin write SetGeoOrigin;
Public property FdGeoSystem: TMFString read FFdGeoSystem;
Public property FdHeight: TMFDouble 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: TSFDouble read FFdXSpacing;
Public property XSpacing: Double read GetXSpacing write SetXSpacing;
Public property FdZDimension: TSFInt32 read FFdZDimension;
Public property ZDimension: Integer read GetZDimension write SetZDimension;
Public property FdZSpacing: TSFDouble read FFdZSpacing;
Public property ZSpacing: Double read GetZSpacing write SetZSpacing;

Description

Methods

Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;

This item has no description.

Public function VerticesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;

This item has no description. Showing description inherited from TAbstractGeometryNode.VerticesCount.

Calculate vertex and triangles count of this node.

They require State of this node during VRML traverse state — this is mainly for VRML 1.0 nodes, that depend on such state.

Vertices count calculates number of different vertexes in this node. That is, it doesn't eliminate doubles in cases like Coordinate node with multiple points the same. But if some face is known to use twice the same vertex index, then this counts like a single vertex. The idea is that this indicates rendering speed.

For triangles count, the returned value may be different then actual if some faces were non-convex. Things like TriangulateFace may remove degenerate triangles, so actual number of triangles may be slightly less. So don't depend on TrianglesCount as a precise measure — but it's a good fast measure of complexity of given node, how fast it will be rendered, used with collision detection etc.

Notes for descendants implementors:

For coordinate-based nodes (when InternalCoord returns True), VerticesCount is already implemented in this class. Using Coord method, no other information is needed.

For other nodes, the default implementation of both VerticesCount and TrianglesCount in this TAbstractGeometryNode class will use ProxyGeometry and ProxyState to do the work. You should override these methods if Proxy is not available (so caller will always pass ProxyGeometry = Nil) or some faster approach is possible.

Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;

This item has no description.

Public procedure CreateNode; override;

This item has no description. Showing description inherited from TAbstractGeometryNode.CreateNode.

Automatically generated node properties.

Do not edit this file manually! To add new properties: - add them to the text files in tools/internal/x3d-nodes-to-pascal/nodes-specification/ , - and regenerate include files by running x3d-nodes-to-pascal

Public class function ClassX3DType: string; override;

This item has no description. Showing description inherited from TX3DNode.ClassX3DType.

Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value.

Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there.

You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance.

Public procedure SetGeoSystem(const Value: array of string); overload;

This item has no description.

Public procedure SetGeoSystem(const Value: TCastleStringList); overload;

This item has no description.

Public procedure SetHeight(const Value: array of Double); overload;

This item has no description.

Public procedure SetHeight(const Value: TDoubleList); overload;

This item has no description.

Properties

Public property EventSet_height: TMFDoubleEvent read FEventSet_height;

This item has no description.

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;

This item has no description.

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;

This item has no description.

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;

This item has no description.

Public property FdYScale: TSFFloat read FFdYScale;

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

Public property YScale: Single read GetYScale write SetYScale;

This item has no description.

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;

This item has no description.

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;

This item has no description.

Public property FdCreaseAngle: TSFDouble read FFdCreaseAngle;

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

Public property CreaseAngle: Double read GetCreaseAngle write SetCreaseAngle;

This item has no description.

Public property FdGeoGridOrigin: TSFVec3d read FFdGeoGridOrigin;

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

Public property GeoGridOrigin: TVector3Double read GetGeoGridOrigin write SetGeoGridOrigin;

This item has no description.

Public property FdGeoOrigin: TSFNode read FFdGeoOrigin;

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

Public property GeoOrigin: TGeoOriginNode read GetGeoOrigin write SetGeoOrigin;

This item has no description.

Public property FdGeoSystem: TMFString read FFdGeoSystem;

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

Public property FdHeight: TMFDouble 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;

This item has no description.

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;

This item has no description.

Public property FdXSpacing: TSFDouble read FFdXSpacing;

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

Public property XSpacing: Double read GetXSpacing write SetXSpacing;

This item has no description.

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;

This item has no description.

Public property FdZSpacing: TSFDouble read FFdZSpacing;

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

Public property ZSpacing: Double read GetZSpacing write SetZSpacing;

This item has no description.


Generated by PasDoc 0.16.0.