Class TX3DReader

Unit

Declaration

type TX3DReader = class(TObject)

Description

Reading of VRML/X3D from stream. Common knowledge for both classic and XML reader. X3DNodes unit extends this into TX3DReaderNames.

Hierarchy

  • TObject
  • TX3DReader

Overview

Fields

Public LengthConversionFactor: Float;
Public ParentNode: TObject;

Methods

Public constructor Create(const ABaseUrl: String; const AVersion: TX3DVersion);
Public constructor CreateCopy(Source: TX3DReader);
Public procedure UnitConversion(const Category, Name: string; const ConversionFactor: Float);

Properties

Public property BaseUrl: String read FBaseUrl;
Public property Version: TX3DVersion read FVersion;

Description

Fields

Public LengthConversionFactor: Float;

This item has no description.

Public ParentNode: TObject;

Parent node, always TX3DNode, Nil if this is top-level. Fow now only used to enhance DefaultContainerFieldInContext knowledge, for XML encoding writing, though we maintain it for all encodings.

Methods

Public constructor Create(const ABaseUrl: String; const AVersion: TX3DVersion);

This item has no description.

Public constructor CreateCopy(Source: TX3DReader);

This item has no description.

Public procedure UnitConversion(const Category, Name: string; const ConversionFactor: Float);

Apply unit conversion. If this is angle conversion factor, it is stored and used internally. If this is length conversion factor, we update our LengthConversionFactor property, but it's callers responsibility to make use of it. (You want to use here TX3DRootNode.Scale.)

Properties

Public property BaseUrl: String read FBaseUrl;

Base path for resolving URLs from nodes in this namespace. See TX3DNode.BaseUrl.

Public property Version: TX3DVersion read FVersion;

VRML/X3D version number. For resolving node class names and other stuff.


Generated by PasDoc 0.16.0-snapshot.