Class TLineSetNode

Unit

Declaration

type TLineSetNode = class(TAbstractGeometryNode)

Description

Lines.

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Protected function InternalCoordRangesCounts(out RangeCount: TInt32List; out SRanges, SRangeName: string; out RangeMinimumCount: Cardinal): boolean; override;
Public destructor Destroy; override;
Public function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override;
Public function CoordField: TSFNode; override;
Public function ColorField: TSFNode; override;
Public function InternalFogCoord: TMFFloat; override;
Public function AttribField: TMFNode; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function Lit(State: TX3DGraphTraverseState): boolean; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;
Public procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode);
Public procedure SetVertexCount(const Value: array of Int32); overload;
Public procedure SetVertexCount(const Value: TInt32List); overload;

Properties

Public property FdAttrib: TMFNode read FFdAttrib;
Public property FdColor: TSFNode read FFdColor;
Public property Color: TAbstractColorNode read GetColor write SetColor;
Public property FdCoord: TSFNode read FFdCoord;
Public property Coord: TAbstractCoordinateNode read GetCoord write SetCoord;
Public property FdFogCoord: TSFNode read FFdFogCoord;
Public property FogCoord: TFogCoordinateNode read GetFogCoord write SetFogCoord;
Public property FdVertexCount: TMFInt32 read FFdVertexCount;
Public property FdMode: TSFStringEnum read FFdMode;
Public property Mode: TLineMode read GetMode write SetMode;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Protected function InternalCoordRangesCounts(out RangeCount: TInt32List; out SRanges, SRangeName: string; out RangeMinimumCount: Cardinal): boolean; override;
 
Public destructor Destroy; override;
 
Public function InternalCoord(State: TX3DGraphTraverseState; out ACoord: TMFVec3f): boolean; override;
 
Public function CoordField: TSFNode; override;
 
Public function ColorField: TSFNode; override;
 
Public function InternalFogCoord: TMFFloat; override;
 
Public function AttribField: TMFNode; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function Lit(State: TX3DGraphTraverseState): boolean; override;
 
Public procedure CreateNode; override;

Create node fields and events.

Public class function ClassX3DType: String; override;
 
Public procedure SetAttrib(const Value: array of TAbstractVertexAttributeNode);
 
Public procedure SetVertexCount(const Value: array of Int32); overload;

Array of counts that split the line vertexes. Exact interpretation depends on the Mode value:

lmStrip

Render a number of line strips. Each count on this array is the count of vertexes in a line strip. Each line strip is a polyline, i.e. a sequence of lines from the first vertex (in given line strip) to the last vertex (again, in given line strip).

lmLoop

Render a number of line loops. Each count on this array is the number of vertexes in a line loop. Each line loop is a closed polyline, i.e. a sequence of lines from the first vertex (in given line loop) to the last vertex (again, in given line loop). Moreover, within each line loop, there's a closing line from last vertex to the first.

lmPair

Render a number of line segments. Counts of this array are ignored, so there's not much point in calling SetVertexCount. In this mode, every 2 vertexes define a line segment.

Public procedure SetVertexCount(const Value: TInt32List); overload;

Array of counts that split the line vertexes. Exact interpretation depends on the Mode value:

lmStrip

Render a number of line strips. Each count on this array is the count of vertexes in a line strip. Each line strip is a polyline, i.e. a sequence of lines from the first vertex (in given line strip) to the last vertex (again, in given line strip).

lmLoop

Render a number of line loops. Each count on this array is the number of vertexes in a line loop. Each line loop is a closed polyline, i.e. a sequence of lines from the first vertex (in given line loop) to the last vertex (again, in given line loop). Moreover, within each line loop, there's a closing line from last vertex to the first.

lmPair

Render a number of line segments. Counts of this array are ignored, so there's not much point in calling SetVertexCount. In this mode, every 2 vertexes define a line segment.

Properties

Public property FdAttrib: TMFNode read FFdAttrib;

Internal wrapper for property Attrib. This wrapper API may change, we advise to access simpler Attrib instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property FdColor: TSFNode read FFdColor;

Internal wrapper for property Color. This wrapper API may change, we advise to access simpler Color instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Color: TAbstractColorNode read GetColor write SetColor;
 
Public property FdCoord: TSFNode read FFdCoord;

Internal wrapper for property Coord. This wrapper API may change, we advise to access simpler Coord instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Coord: TAbstractCoordinateNode read GetCoord write SetCoord;
 
Public property FdFogCoord: TSFNode read FFdFogCoord;

Internal wrapper for property FogCoord. This wrapper API may change, we advise to access simpler FogCoord instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property FogCoord: TFogCoordinateNode read GetFogCoord write SetFogCoord;
 
Public property FdVertexCount: TMFInt32 read FFdVertexCount;

Internal wrapper for property VertexCount. This wrapper API may change, we advise to access simpler VertexCount instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property FdMode: TSFStringEnum read FFdMode;

Internal wrapper for property Mode. This wrapper API may change, we advise to access simpler Mode instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Mode: TLineMode read GetMode write SetMode;

How to interpret the vertexes: as a set of strips (connected line segments), loops (connected line segments with additional segment to form a loop), or just pairs of vertexes (each pair defines a line segment). See possible TLineMode values for details.


Generated by PasDoc 0.16.0.