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; const OverTriangulate: boolean): TAbstractGeometryNode; override;
Public function ProxyUsesOverTriangulate: boolean; 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; OverTriangulate: boolean; 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);
Public procedure SetCrossSection(const Value: TVector2List);
Public procedure SetOrientation(const Value: array of TVector4);
Public procedure SetOrientation(const Value: TVector4List);
Public procedure SetScale(const Value: array of TVector2);
Public procedure SetScale(const Value: TVector2List);
Public procedure SetSpine(const Value: array of TVector3);
Public procedure SetSpine(const Value: TVector3List);

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; const OverTriangulate: boolean): TAbstractGeometryNode; override;
 
Public function ProxyUsesOverTriangulate: boolean; 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; OverTriangulate: boolean; 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);
 
Public procedure SetCrossSection(const Value: TVector2List);
 
Public procedure SetOrientation(const Value: array of TVector4);
 
Public procedure SetOrientation(const Value: TVector4List);
 
Public procedure SetScale(const Value: array of TVector2);
 
Public procedure SetScale(const Value: TVector2List);
 
Public procedure SetSpine(const Value: array of TVector3);
 
Public procedure SetSpine(const Value: TVector3List);
 

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;
 

Generated by PasDoc 0.16.0.