Unit 'GR32_Transforms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#pl_graphics32]

TRadialDistortionTransformation

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: GR32_Transforms.pas line 286

type TRadialDistortionTransformation = class(TTransformation)

protected

  FCoefficient1: TFloat;

  

  FCoefficient2: TFloat;

  

  FScale: TFloat;

  

  FFocalPoint: TFloatPoint;

  

  r_0: Single;

  

  r_tgt_max: Single;

  

  r_tgt_min: Single;

  

  FMapElements: Integer;

  

  Map: array of TFloat;

  

  function LookUpReverseMap();

  

  procedure SetCoefficient1();

  

  procedure SetCoefficient2();

  

  procedure SetScale();

  

  procedure SetMapElements();

  

  procedure PrepareReverseMap;

  

  procedure PrepareTransform; override;

  

  procedure ReverseTransformFloat(); override;

  

  procedure TransformFloat(); override;

  

public

  constructor Create; override;

  

  function HasTransformedBounds; override;

  

published

  property Coefficient1: TFloat; [rw]

  

  property Coefficient2: TFloat; [rw]

  

  property Scale: TFloat; [rw]

  

  property MapElements: Integer; [rw]

  

end;

Inheritance

TRadialDistortionTransformation

  

|

TTransformation

  

|

TNotifiablePersistent

  

|

TPlainInterfacedPersistent

  

|

TObject,IInterface



CT Web help

CodeTyphon Studio