Class TOrthoViewpointNode

Unit

Declaration

type TOrthoViewpointNode = class(TAbstractViewpointNode)

Description

Viewpoint that provides an orthographic view of the scene.

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 173).

Hierarchy

Overview

Methods

Public class function ProjectionType: TProjectionType; override;
Public function ProjectionMatrix: TMatrix4; override;
Public class function InternalFieldOfView( const AFieldOfView: TFloatRectangle; const ViewportWidth, ViewportHeight: Single): TFloatRectangle;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;
Public procedure SetFieldOfView(const Value: array of Single); overload;
Public procedure SetFieldOfView(const Value: TSingleList); overload;

Properties

Public property FieldOfView [const Index: Integer]: Single read GetFieldOfView write SetFieldOfView;
Public property FieldOfViewMinX: Single index 0 read GetFieldOfView write SetFieldOfViewDelphiCompat;
Public property FieldOfViewMinY: Single index 1 read GetFieldOfView write SetFieldOfViewDelphiCompat;
Public property FieldOfViewMaxX: Single index 2 read GetFieldOfView write SetFieldOfViewDelphiCompat;
Public property FieldOfViewMaxY: Single index 3 read GetFieldOfView write SetFieldOfViewDelphiCompat;
Public property FdFieldOfView: TMFFloat read FFdFieldOfView;
Public property FdPosition: TSFVec3f read FFdPosition;

Description

Methods

Public class function ProjectionType: TProjectionType; override;

This item has no description.

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 214).

Public function ProjectionMatrix: TMatrix4; override;

This item has no description. Showing description inherited from TAbstractViewpointNode.ProjectionMatrix.

Matrices for projecting texture from this viewpoint, for ProjectedTextureCoordinate. Override ProjectionMatrix for subclasses (ModelviewMatrix is already correctly defined here).

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 215).

Public class function InternalFieldOfView( const AFieldOfView: TFloatRectangle; const ViewportWidth, ViewportHeight: Single): TFloatRectangle;

Calculate final field of view value, taking into account aspect ratio. The idea is that OrthoViewpoint.fieldOfView specifies the minimal extents. Depending on your window aspect ratio, you may need to make one extent (vertical or horizontal) larger to adjust.

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 221).

Public procedure CreateNode; override;

Create node fields and events.

Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_orthoviewpoint.inc (line 28).

Public class function ClassX3DType: String; override;

This item has no description. Showing description inherited from TX3DNode.ClassX3DType.

Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value.

Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there.

You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance.

Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_orthoviewpoint.inc (line 29).

Public procedure SetFieldOfView(const Value: array of Single); overload;

This item has no description.

Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_orthoviewpoint.inc (line 35).

Public procedure SetFieldOfView(const Value: TSingleList); overload;

This item has no description.

Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_orthoviewpoint.inc (line 37).

Properties

Public property FieldOfView [const Index: Integer]: Single read GetFieldOfView write SetFieldOfView;

Field of view determines how much you see in the camera. Use this e.g. to zoom in/out.

This property has comfortable getter and setter, you can also get and set the indexes in 0..3 range, where

  • 0 index is "min x" (default value -1)

  • 1 index is "min y" (default value -1)

  • 2 index is "max x" (default value 1)

  • 3 index is "max y" (default value 1)

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 199).

Public property FieldOfViewMinX: Single index 0 read GetFieldOfView write SetFieldOfViewDelphiCompat;

Field of view - minimum X. -1 by default.

See also
FieldOfView
Field of view determines how much you see in the camera.

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 202).

Public property FieldOfViewMinY: Single index 1 read GetFieldOfView write SetFieldOfViewDelphiCompat;

Field of view - minimum Y. -1 by default.

See also
FieldOfView
Field of view determines how much you see in the camera.

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 205).

Public property FieldOfViewMaxX: Single index 2 read GetFieldOfView write SetFieldOfViewDelphiCompat;

Field of view - maximum X. 1 by default.

See also
FieldOfView
Field of view determines how much you see in the camera.

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 208).

Public property FieldOfViewMaxY: Single index 3 read GetFieldOfView write SetFieldOfViewDelphiCompat;

Field of view - maximum Y. 1 by default.

See also
FieldOfView
Field of view determines how much you see in the camera.

Source: src/scene/x3d/x3dnodes_standard_navigation.inc (line 211).

Public property FdFieldOfView: TMFFloat read FFdFieldOfView;

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

Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_orthoviewpoint.inc (line 33).

Public property FdPosition: TSFVec3f read FFdPosition;

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

Source: src/scene/x3d/auto_generated_node_helpers/x3dnodes_orthoviewpoint.inc (line 41).


Generated by PasDoc 0.17.0.snapshot.