Class TExtrusionNode

Unit

Declaration

type TExtrusionNode = class(TAbstractGeometryNode)

Description

2D cross-section shape extruded along a 3D spine.

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
Public function TexCoordField: TSFNode; override;
Public function SolidField: TSFBool; override;
Public function ConvexField: TSFBool; override;
Public function CrossSection3D(Index: integer): TVector3;
Public function SpineClosed: boolean;
Public function CrossSectionClosed: boolean;
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function AutoGenerate3DTexCoords: boolean; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: string; override;
Public procedure SetCrossSection(const Value: array of TVector2); overload;
Public procedure SetCrossSection(const Value: TVector2List); overload;
Public procedure SetOrientation(const Value: array of TVector4); overload;
Public procedure SetOrientation(const Value: TVector4List); overload;
Public procedure SetScale(const Value: array of TVector2); overload;
Public procedure SetScale(const Value: TVector2List); overload;
Public procedure SetSpine(const Value: array of TVector3); overload;
Public procedure SetSpine(const Value: TVector3List); overload;

Properties

Public property EventSet_crossSection: TMFVec2fEvent read FEventSet_crossSection;
Public property EventSet_orientation: TMFRotationEvent read FEventSet_orientation;
Public property EventSet_scale: TMFVec2fEvent read FEventSet_scale;
Public property EventSet_spine: TMFVec3fEvent read FEventSet_spine;
Public property FdBeginCap: TSFBool read FFdBeginCap;
Public property BeginCap: Boolean read GetBeginCap write SetBeginCap;
Public property FdCcw: TSFBool read FFdCcw;
Public property Ccw: Boolean read GetCcw write SetCcw;
Public property FdConvex: TSFBool read FFdConvex;
Public property Convex: Boolean read GetConvex write SetConvex;
Public property FdCreaseAngle: TSFFloat read FFdCreaseAngle;
Public property CreaseAngle: Single read GetCreaseAngle write SetCreaseAngle;
Public property FdCrossSection: TMFVec2f read FFdCrossSection;
Public property FdEndCap: TSFBool read FFdEndCap;
Public property EndCap: Boolean read GetEndCap write SetEndCap;
Public property FdOrientation: TMFRotation read FFdOrientation;
Public property FdScale: TMFVec2f read FFdScale;
Public property FdSolid: TSFBool read FFdSolid;
Public property FdSpine: TMFVec3f read FFdSpine;
Public property FdTexCoord: TSFNode read FFdTexCoord;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override;
 
Public function TexCoordField: TSFNode; override;
 
Public function SolidField: TSFBool; override;
 
Public function ConvexField: TSFBool; override;
 
Public function CrossSection3D(Index: integer): TVector3;

For given Index, return appropriate FdCrossIndex item as 3D vertex. That is, uses FdCrossIndex values as X, Z of 3D vertex and sets Y = 0 (that's how Extrusion is defined in VRML / X3D).

Public function SpineClosed: boolean;

Check is spine closed. This happens when "spine" field is non-empty and it's first and last points are equal.

Public function CrossSectionClosed: boolean;

Check is crossSection closed. This happens when "crossSection" field is non-empty and it's first and last points are equal.

Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
 
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function AutoGenerate3DTexCoords: boolean; override;
 
Public procedure CreateNode; override;
 
Public class function ClassX3DType: string; override;
 
Public procedure SetCrossSection(const Value: array of TVector2); overload;
 
Public procedure SetCrossSection(const Value: TVector2List); overload;
 
Public procedure SetOrientation(const Value: array of TVector4); overload;
 
Public procedure SetOrientation(const Value: TVector4List); overload;
 
Public procedure SetScale(const Value: array of TVector2); overload;
 
Public procedure SetScale(const Value: TVector2List); overload;
 
Public procedure SetSpine(const Value: array of TVector3); overload;
 
Public procedure SetSpine(const Value: TVector3List); overload;
 

Properties

Public property EventSet_crossSection: TMFVec2fEvent read FEventSet_crossSection;
 
Public property EventSet_orientation: TMFRotationEvent read FEventSet_orientation;
 
Public property EventSet_scale: TMFVec2fEvent read FEventSet_scale;
 
Public property EventSet_spine: TMFVec3fEvent read FEventSet_spine;
 
Public property FdBeginCap: TSFBool read FFdBeginCap;

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

Public property BeginCap: Boolean read GetBeginCap write SetBeginCap;
 
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 FdConvex: TSFBool read FFdConvex;

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

Public property Convex: Boolean read GetConvex write SetConvex;
 
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 FdCrossSection: TMFVec2f read FFdCrossSection;

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

Public property FdEndCap: TSFBool read FFdEndCap;

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

Public property EndCap: Boolean read GetEndCap write SetEndCap;
 
Public property FdOrientation: TMFRotation read FFdOrientation;

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

Public property FdScale: TMFVec2f read FFdScale;

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

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 FdSpine: TMFVec3f read FFdSpine;

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

Public property FdTexCoord: TSFNode read FFdTexCoord;

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


Generated by PasDoc 0.16.0.