X3D node. Every X3D node class descends from this.
|
procedure WarningOnce(var WarningDone: boolean; const Message: string); |
|
function DeepCopyCore(CopyState: TX3DNodeDeepCopyState): TX3DNode; virtual; |
|
function DeepCopyCreate(CopyState: TX3DNodeDeepCopyState): TX3DNode; virtual; |
|
procedure AddFunctionality(const F: TNodeFunctionality); |
|
function DefaultContainerFieldInContext( const Version: TX3DVersion; const ParentNode: TX3DNode): String; virtual; |
|
class function VRML1ChildrenSaveToStream: boolean; virtual; |
|
function DirectEnumerateActive( Func: TEnumerateChildrenFunction): Pointer; virtual; |
|
function DirectEnumerateActiveForTraverse( Func: TEnumerateChildrenFunction; StateStack: TX3DGraphTraverseStateStack): Pointer; virtual; |
|
function DirectEnumerateAll( Func: TEnumerateChildrenFunction): Pointer; |
|
function DirectEnumerate( Func: TEnumerateChildrenFunction; OnlyActive: boolean): Pointer; |
|
procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); virtual; |
|
procedure MiddleTraverse(StateStack: TX3DGraphTraverseStateStack); virtual; |
|
procedure AfterTraverse(StateStack: TX3DGraphTraverseStateStack); virtual; |
|
function ParseNodeBodyElement(Lexer: TX3DLexer; Reader: TX3DReaderNames; const APositionInParent: Integer): boolean; virtual; |
|
procedure ParseAfter(Reader: TX3DReaderNames); virtual; |
|
procedure CreateNode; virtual; |
|
procedure GroupBeforeTraverse(const State: TX3DGraphTraverseState; var WasPointingDeviceSensor: Boolean); virtual; |
|
function FieldsCount: Integer; |
|
procedure AddField(const Value: TX3DField); |
|
function IndexOfField(const AName: string): Integer; |
|
function EventsCount: Integer; |
|
procedure AddEvent(const Value: TX3DEvent); |
|
function IndexOfEvent(const AName: string): Integer; |
|
function Field(const AName: string; const RaiseOnError: Boolean = false): TX3DField; |
|
function FieldOrEvent(const AName: string; const RaiseOnError: Boolean = false): TX3DFieldOrEvent; |
|
function AnyEvent(const AName: string; const RaiseOnError: Boolean = false): TX3DEvent; |
|
function VRML1ChildrenCount: integer; |
|
procedure VRML1ChildAdd(const Index: Integer; const Child: TX3DNode); overload; |
|
procedure VRML1ChildAdd(const Child: TX3DNode); overload; |
|
procedure VRML1ChildRemove(const I: Integer); |
|
procedure VRML1ChildrenClear; |
|
function VRML1ChildExtract(const I: Integer): TX3DNode; |
|
function VRML1ParentsCount: integer; |
|
function ParentFieldsCount: Integer; |
|
procedure FreeRemovingFromAllParents; |
|
procedure FreeIfUnused; |
|
procedure KeepExistingBegin; |
|
procedure KeepExistingEnd; |
|
function PathFromBaseUrl(const RelativePath: string): string; |
|
procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); virtual; |
|
procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); |
|
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); virtual; |
|
destructor Destroy; override; |
|
function X3DType: string; virtual; |
|
function NodeTypeName: string; deprecated 'use X3DType'; |
|
class function ClassX3DType: string; virtual; |
|
function Traverse( NodeClass: TX3DNodeClass; TraversingFunc: TTraversingFunc): Pointer; |
|
function TraverseInternal(StateStack: TX3DGraphTraverseStateStack; NodeClass: TX3DNodeClass; TraversingFunc: TTraversingFunc; ParentInfo: PTraversingInfo): Pointer; |
|
function TraverseIntoChildren(StateStack: TX3DGraphTraverseStateStack; NodeClass: TX3DNodeClass; TraversingFunc: TTraversingFunc; ParentInfo: PTraversingInfo): Pointer; |
|
procedure EnumerateNodes( proc: TX3DNodeProc; OnlyActive: boolean); overload; |
|
procedure EnumerateNodes(nodeClass: TX3DNodeClass; proc: TX3DNodeProc; OnlyActive: boolean); overload; |
|
procedure EnumerateNodes(nodeClass: TX3DNodeClass; const SeekNodeName: string; proc: TX3DNodeProc; OnlyActive: boolean); overload; |
|
function SearchNodes(const Proc: TX3DNodeSearchProc; const OnlyActive: boolean): Pointer; |
|
function TryFindNodeByName(FindClass: TX3DNodeClass; const FindName: string; OnlyActive: boolean): TX3DNode; deprecated 'use FindNode(NodeClass: TX3DNodeClass, FindName: String, Options: TFindNodeOptions = [])'; |
|
function FindNodeByName(FindClass: TX3DNodeClass; const FindName: string; OnlyActive: boolean): TX3DNode; deprecated 'use FindNode(NodeClass: TX3DNodeClass, FindName: String, Options: TFindNodeOptions = [])'; |
|
function TryFindNode(FindClass: TX3DNodeClass; OnlyActive: boolean): TX3DNode; deprecated 'use FindNode(NodeClass: TX3DNodeClass, FindName: String, Options: TFindNodeOptions = [])'; |
|
function FindNode(FindClass: TX3DNodeClass; OnlyActive: boolean): TX3DNode; overload; deprecated 'use FindNode(NodeClass: TX3DNodeClass, FindName: String, Options: TFindNodeOptions = [])'; |
|
function FindNode(const NodeClass: TX3DNodeClass; const FindName: String; const Options: TFindNodeOptions = []): TX3DNode; overload; |
|
function FindNode(const FindName: string): TX3DNode; overload; deprecated 'use FindNode(NodeClass: TX3DNodeClass, FindName: String, Options: TFindNodeOptions = [])'; |
|
function TryFindNodeState( NodeClass: TX3DNodeClass; out Node: TX3DNode; out State: TX3DGraphTraverseState): boolean; deprecated 'use FindNode to look for nodes easier; or iterate over TCastleScene.Shapes.TraverseList if you really need to know nodes with their TX3DGraphTraverseState'; |
|
function TryFindNodeTransform( NodeClass: TX3DNodeClass; out Node: TX3DNode; out Transform: TMatrix4; out TransformScale: Single): boolean; deprecated 'use FindNode to look for nodes easier; or iterate over TCastleScene.Shapes.TraverseList if you really need to know nodes with their transformations'; |
|
function TryFindParentByName(const FindName: string): TX3DNode; |
|
function FindParentByName(const FindName: string): TX3DNode; |
|
function HasParentNode(Node: TX3DNode): boolean; |
|
function TryFindDirectParentByName(const FindName: string): TX3DNode; |
|
function IsNodePresent(Node: TX3DNode; OnlyActive: boolean): boolean; |
|
function NodesCount(NodeClass: TX3DNodeClass; CountOnlyActiveNodes: boolean): integer; |
|
procedure SaveToStream(Writer: TX3DWriter); override; |
|
class function VRML1StateNode(out StateNode: TVRML1StateNode): boolean; |
|
class function ForVRMLVersion(const Version: TX3DVersion): boolean; virtual; |
|
function EnumerateReplaceChildren( Func: TEnumerateReplaceNodesFunction): Cardinal; |
|
function RemoveChildrenWithMatchingName( const Wildcard: string; IgnoreCase: Boolean): Cardinal; |
|
function PrototypesCount: Integer; |
|
procedure AddPrototype(const Value: TX3DPrototypeBase); |
|
function RoutesCount: Integer; |
|
procedure AddRoute(const Value: TX3DRoute); overload; |
|
procedure AddRoute(const Source, Destination: TX3DFieldOrEvent); overload; |
|
procedure RemoveRoute(const Value: TX3DRoute); overload; |
|
procedure RemoveRoute(const Index: Integer); overload; |
|
function ImportsCount: Integer; |
|
procedure AddImport(const Value: TX3DImport); |
|
function ExportsCount: Integer; |
|
procedure AddExport(const Value: TX3DExport); |
|
function DeepCopy: TX3DNode; |
|
procedure AddDestructionNotification(const Event: TNodeDestructionNotification); |
|
procedure RemoveDestructionNotification(const Event: TNodeDestructionNotification); |
|
procedure PostAddInterfaceDeclaration(IDecl: TX3DInterfaceDeclaration); virtual; |
|
procedure AddCustomField(AField: TX3DField); |
|
procedure AddCustomFieldOrEvent(AFieldOrEvent: TX3DFieldOrEvent); |
|
function NiceName: string; |
|
procedure UnregisterScene; |
|
function FieldSetByEvent(const Event: TX3DEvent): TX3DField; virtual; |
|
function FieldSendingEvent(const Event: TX3DEvent): TX3DField; virtual; |
|
function Functionality( const FunctionalityClass: TNodeFunctionalityClass): TNodeFunctionality; |