Class TAbstractNurbsSurfaceGeometryNode

Unit

Declaration

type TAbstractNurbsSurfaceGeometryNode = class(TAbstractParametricGeometryNode)

Description

Abstract geometry type for all types of NURBS surfaces.

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public procedure CreateNode; 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 BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; OverTriangulate: boolean; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override;
Public function CoordField: TSFNode; override;
Public function SolidField: TSFBool; override;
Public function Point(const U, V: Single; const OutputNormal: PVector3 = nil): TVector3;
Public procedure SetWeight(const Value: array of Double);
Public procedure SetWeight(const Value: TDoubleList);
Public procedure SetUKnot(const Value: array of Double);
Public procedure SetUKnot(const Value: TDoubleList);
Public procedure SetVKnot(const Value: array of Double);
Public procedure SetVKnot(const Value: TDoubleList);

Properties

Public property FdControlPoint: TSFNode read FFdControlPoint;
Public property FdTexCoord: TSFNode read FFdTexCoord;
Public property FdUTessellation: TSFInt32 read FFdUTessellation;
Public property FdVTessellation: TSFInt32 read FFdVTessellation;
Public property FdWeight: TMFDouble read FFdWeight;
Public property FdSolid: TSFBool read FFdSolid;
Public property FdUClosed: TSFBool read FFdUClosed;
Public property FdUDimension: TSFInt32 read FFdUDimension;
Public property FdUKnot: TMFDouble read FFdUKnot;
Public property FdUOrder: TSFInt32 read FFdUOrder;
Public property FdVClosed: TSFBool read FFdVClosed;
Public property FdVDimension: TSFInt32 read FFdVDimension;
Public property FdVKnot: TMFDouble read FFdVKnot;
Public property FdVOrder: TSFInt32 read FFdVOrder;
Public property ControlPoint: TAbstractCoordinateNode read GetControlPoint write SetControlPoint;
Public property UTessellation: Integer read GetUTessellation write SetUTessellation;
Public property VTessellation: Integer read GetVTessellation write SetVTessellation;
Public property UClosed: Boolean read GetUClosed write SetUClosed;
Public property UDimension: Integer read GetUDimension write SetUDimension;
Public property UOrder: Integer read GetUOrder write SetUOrder;
Public property VClosed: Boolean read GetVClosed write SetVClosed;
Public property VDimension: Integer read GetVDimension write SetVDimension;
Public property VOrder: Integer read GetVOrder write SetVOrder;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public procedure CreateNode; 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 BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; OverTriangulate: boolean; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override;
 
Public function CoordField: TSFNode; override;
 
Public function SolidField: TSFBool; override;
 
Public function Point(const U, V: Single; const OutputNormal: PVector3 = nil): TVector3;

Get the position of a point on the surface.

The returned position is in the local transformation space of this shape. This method is guaranteed to work the same, regardless if this node is part of any TX3DRootNode and TCastleSceneCore or not.

Parameters
U
First parameter of the parametric surface, in [0..1] range.
V
Second parameter of the parametric surface, in [0..1] range.
OutputNormal
Optional. If non-nil, will be set to the normal, that is, normalized direction in 3D that is orthogonal to the surface at this point.
Public procedure SetWeight(const Value: array of Double);
 
Public procedure SetWeight(const Value: TDoubleList);
 
Public procedure SetUKnot(const Value: array of Double);
 
Public procedure SetUKnot(const Value: TDoubleList);
 
Public procedure SetVKnot(const Value: array of Double);
 
Public procedure SetVKnot(const Value: TDoubleList);
 

Properties

Public property FdControlPoint: TSFNode read FFdControlPoint;
 
Public property FdTexCoord: TSFNode read FFdTexCoord;
 
Public property FdUTessellation: TSFInt32 read FFdUTessellation;
 
Public property FdVTessellation: TSFInt32 read FFdVTessellation;
 
Public property FdWeight: TMFDouble read FFdWeight;
 
Public property FdSolid: TSFBool read FFdSolid;
 
Public property FdUClosed: TSFBool read FFdUClosed;
 
Public property FdUDimension: TSFInt32 read FFdUDimension;
 
Public property FdUKnot: TMFDouble read FFdUKnot;
 
Public property FdUOrder: TSFInt32 read FFdUOrder;
 
Public property FdVClosed: TSFBool read FFdVClosed;
 
Public property FdVDimension: TSFInt32 read FFdVDimension;
 
Public property FdVKnot: TMFDouble read FFdVKnot;
 
Public property FdVOrder: TSFInt32 read FFdVOrder;
 
Public property ControlPoint: TAbstractCoordinateNode read GetControlPoint write SetControlPoint;
 
Public property UTessellation: Integer read GetUTessellation write SetUTessellation;
 
Public property VTessellation: Integer read GetVTessellation write SetVTessellation;
 
Public property UClosed: Boolean read GetUClosed write SetUClosed;
 
Public property UDimension: Integer read GetUDimension write SetUDimension;
 
Public property UOrder: Integer read GetUOrder write SetUOrder;
 
Public property VClosed: Boolean read GetVClosed write SetVClosed;
 
Public property VDimension: Integer read GetVDimension write SetVDimension;
 
Public property VOrder: Integer read GetVOrder write SetVOrder;
 

Generated by PasDoc 0.16.0.