roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::ProjectiveTransformation Class Reference

General projective transformation (2D homography). More...

#include <smooth_transformation.h>

Public Member Functions

 ProjectiveTransformation (float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)
 
 ProjectiveTransformation (IdentityTransformation t)
 
 ProjectiveTransformation (Translation t)
 
 ProjectiveTransformation (Scaling t)
 
 ProjectiveTransformation (Rotation t)
 
 ProjectiveTransformation (AffineTransformation t)
 
FpPoint apply (FpPoint p) const
 
float m11 () const
 
float m12 () const
 
float m13 () const
 
float m21 () const
 
float m22 () const
 
float m23 () const
 
float m31 () const
 
float m32 () const
 
float m33 () const
 
ProjectiveTransformation then (IdentityTransformation t) const
 
ProjectiveTransformation then (Translation t) const
 
ProjectiveTransformation then (Scaling t) const
 
ProjectiveTransformation then (Rotation t) const
 
ProjectiveTransformation then (AffineTransformation t) const
 
ProjectiveTransformation then (ProjectiveTransformation t) const
 
ProjectiveTransformation inversion () const
 
Box transformExtents (Box extents) const
 

Detailed Description

General projective transformation (2D homography).

Definition at line 282 of file smooth_transformation.h.

Constructor & Destructor Documentation

◆ ProjectiveTransformation() [1/6]

roo_display::ProjectiveTransformation::ProjectiveTransformation ( float  m11,
float  m12,
float  m13,
float  m21,
float  m22,
float  m23,
float  m31,
float  m32,
float  m33 
)
inline

Definition at line 284 of file smooth_transformation.h.

◆ ProjectiveTransformation() [2/6]

roo_display::ProjectiveTransformation::ProjectiveTransformation ( IdentityTransformation  t)
inline

Definition at line 297 of file smooth_transformation.h.

◆ ProjectiveTransformation() [3/6]

roo_display::ProjectiveTransformation::ProjectiveTransformation ( Translation  t)
inline

Definition at line 308 of file smooth_transformation.h.

◆ ProjectiveTransformation() [4/6]

roo_display::ProjectiveTransformation::ProjectiveTransformation ( Scaling  t)
inline

Definition at line 319 of file smooth_transformation.h.

◆ ProjectiveTransformation() [5/6]

roo_display::ProjectiveTransformation::ProjectiveTransformation ( Rotation  t)
inline

Definition at line 330 of file smooth_transformation.h.

◆ ProjectiveTransformation() [6/6]

roo_display::ProjectiveTransformation::ProjectiveTransformation ( AffineTransformation  t)
inline

Definition at line 341 of file smooth_transformation.h.

Member Function Documentation

◆ apply()

FpPoint roo_display::ProjectiveTransformation::apply ( FpPoint  p) const
inline

Definition at line 352 of file smooth_transformation.h.

◆ inversion()

ProjectiveTransformation roo_display::ProjectiveTransformation::inversion ( ) const

Definition at line 267 of file smooth_transformation.cpp.

◆ m11()

float roo_display::ProjectiveTransformation::m11 ( ) const
inline

Definition at line 358 of file smooth_transformation.h.

◆ m12()

float roo_display::ProjectiveTransformation::m12 ( ) const
inline

Definition at line 359 of file smooth_transformation.h.

◆ m13()

float roo_display::ProjectiveTransformation::m13 ( ) const
inline

Definition at line 360 of file smooth_transformation.h.

◆ m21()

float roo_display::ProjectiveTransformation::m21 ( ) const
inline

Definition at line 361 of file smooth_transformation.h.

◆ m22()

float roo_display::ProjectiveTransformation::m22 ( ) const
inline

Definition at line 362 of file smooth_transformation.h.

◆ m23()

float roo_display::ProjectiveTransformation::m23 ( ) const
inline

Definition at line 363 of file smooth_transformation.h.

◆ m31()

float roo_display::ProjectiveTransformation::m31 ( ) const
inline

Definition at line 364 of file smooth_transformation.h.

◆ m32()

float roo_display::ProjectiveTransformation::m32 ( ) const
inline

Definition at line 365 of file smooth_transformation.h.

◆ m33()

float roo_display::ProjectiveTransformation::m33 ( ) const
inline

Definition at line 366 of file smooth_transformation.h.

◆ then() [1/6]

ProjectiveTransformation roo_display::ProjectiveTransformation::then ( AffineTransformation  t) const

Definition at line 248 of file smooth_transformation.cpp.

References then().

◆ then() [2/6]

◆ then() [3/6]

ProjectiveTransformation roo_display::ProjectiveTransformation::then ( ProjectiveTransformation  t) const

Definition at line 253 of file smooth_transformation.cpp.

◆ then() [4/6]

ProjectiveTransformation roo_display::ProjectiveTransformation::then ( Rotation  t) const

Definition at line 244 of file smooth_transformation.cpp.

References then().

◆ then() [5/6]

ProjectiveTransformation roo_display::ProjectiveTransformation::then ( Scaling  t) const

Definition at line 240 of file smooth_transformation.cpp.

References then().

◆ then() [6/6]

ProjectiveTransformation roo_display::ProjectiveTransformation::then ( Translation  t) const

Definition at line 236 of file smooth_transformation.cpp.

References then().

◆ transformExtents()

Box roo_display::ProjectiveTransformation::transformExtents ( Box  extents) const

Definition at line 285 of file smooth_transformation.cpp.


The documentation for this class was generated from the following files: