Class TPerspectiveTransform

Unit

Declaration

type TPerspectiveTransform = class(TObject)

Description

Computes a perspective transform (3D) of coordinates

Hierarchy

Overview

Methods

Public constructor Create(const quad: array of TPointF; x1,y1,x2,y2: single); overload;
Public constructor Create(const srcQuad,destQuad: array of TPointF); overload;
Public constructor Create; overload;
Public constructor Create(x1,y1,x2,y2: single; const quad: array of TPointF); overload;
Public function Apply(pt: TPointF): TPointF;
Public function Duplicate: TPerspectiveTransform;
Public function Invert: boolean;
Public function MapQuadToQuad(const srcQuad,destQuad: array of TPointF): boolean;
Public function MapQuadToRect(const quad: array of TPointF; x1,y1,x2,y2: single): boolean;
Public function MapQuadToSquare(const quad: array of TPointF): boolean;
Public function MapRectToQuad(x1,y1,x2,y2: single; const quad: array of TPointF): boolean;
Public function MapSquareToQuad(const quad: array of TPointF): boolean;
Public function ScanNext: TPointF;
Public procedure AssignIdentity;
Public procedure MultiplyBy(a: TPerspectiveTransform);
Public procedure PremultiplyBy(b: TPerspectiveTransform);
Public procedure ScanMoveTo(x,y:single);
Public procedure ScanSkip(ACount: integer);
Public procedure Translate(dx,dy: single);

Properties

Public property IncludeOppositePlane: boolean read FIncludeOppositePlane write FIncludeOppositePlane;
Public property OutsideValue: TPointF read FOutsideValue write FOutsideValue;

Description

Methods

Public constructor Create(const quad: array of TPointF; x1,y1,x2,y2: single); overload;

This item has no description.

Public constructor Create(const srcQuad,destQuad: array of TPointF); overload;

This item has no description.

Public constructor Create; overload;

This item has no description.

Public constructor Create(x1,y1,x2,y2: single; const quad: array of TPointF); overload;

This item has no description.

Public function Apply(pt: TPointF): TPointF;

This item has no description.

Public function Duplicate: TPerspectiveTransform;

This item has no description.

Public function Invert: boolean;

This item has no description.

Public function MapQuadToQuad(const srcQuad,destQuad: array of TPointF): boolean;

This item has no description.

Public function MapQuadToRect(const quad: array of TPointF; x1,y1,x2,y2: single): boolean;

This item has no description.

Public function MapQuadToSquare(const quad: array of TPointF): boolean;

This item has no description.

Public function MapRectToQuad(x1,y1,x2,y2: single; const quad: array of TPointF): boolean;

This item has no description.

Public function MapSquareToQuad(const quad: array of TPointF): boolean;

This item has no description.

Public function ScanNext: TPointF;

This item has no description.

Public procedure AssignIdentity;

This item has no description.

Public procedure MultiplyBy(a: TPerspectiveTransform);

This item has no description.

Public procedure PremultiplyBy(b: TPerspectiveTransform);

This item has no description.

Public procedure ScanMoveTo(x,y:single);

This item has no description.

Public procedure ScanSkip(ACount: integer);

This item has no description.

Public procedure Translate(dx,dy: single);

This item has no description.

Properties

Public property IncludeOppositePlane: boolean read FIncludeOppositePlane write FIncludeOppositePlane;

This item has no description.

Public property OutsideValue: TPointF read FOutsideValue write FOutsideValue;

This item has no description.