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

General affine transformation. More...

#include <smooth_transformation.h>

Public Member Functions

 AffineTransformation (float a11, float a12, float a21, float a22, float tx, float ty)
 
 AffineTransformation (IdentityTransformation t)
 
 AffineTransformation (Translation t)
 
 AffineTransformation (Scaling t)
 
 AffineTransformation (Rotation t)
 
FpPoint apply (FpPoint p) const
 
float a11 () const
 
float a12 () const
 
float a21 () const
 
float a22 () const
 
float tx () const
 
float ty () const
 
AffineTransformation then (IdentityTransformation t) const
 
AffineTransformation then (Translation t) const
 
AffineTransformation then (Scaling t) const
 
AffineTransformation then (Rotation t) const
 
AffineTransformation then (AffineTransformation t) const
 
ProjectiveTransformation then (ProjectiveTransformation t) const
 
AffineTransformation inversion () const
 
Box transformExtents (Box extents) const
 

Detailed Description

General affine transformation.

Definition at line 220 of file smooth_transformation.h.

Constructor & Destructor Documentation

◆ AffineTransformation() [1/5]

roo_display::AffineTransformation::AffineTransformation ( float  a11,
float  a12,
float  a21,
float  a22,
float  tx,
float  ty 
)
inline

Definition at line 222 of file smooth_transformation.h.

◆ AffineTransformation() [2/5]

roo_display::AffineTransformation::AffineTransformation ( IdentityTransformation  t)
inline

Definition at line 226 of file smooth_transformation.h.

◆ AffineTransformation() [3/5]

roo_display::AffineTransformation::AffineTransformation ( Translation  t)
inline

Definition at line 229 of file smooth_transformation.h.

◆ AffineTransformation() [4/5]

roo_display::AffineTransformation::AffineTransformation ( Scaling  t)
inline

Definition at line 232 of file smooth_transformation.h.

◆ AffineTransformation() [5/5]

roo_display::AffineTransformation::AffineTransformation ( Rotation  t)
inline

Definition at line 235 of file smooth_transformation.h.

Member Function Documentation

◆ a11()

float roo_display::AffineTransformation::a11 ( ) const
inline

Definition at line 248 of file smooth_transformation.h.

◆ a12()

float roo_display::AffineTransformation::a12 ( ) const
inline

Definition at line 249 of file smooth_transformation.h.

◆ a21()

float roo_display::AffineTransformation::a21 ( ) const
inline

Definition at line 250 of file smooth_transformation.h.

◆ a22()

float roo_display::AffineTransformation::a22 ( ) const
inline

Definition at line 251 of file smooth_transformation.h.

◆ apply()

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

Definition at line 243 of file smooth_transformation.h.

◆ inversion()

AffineTransformation roo_display::AffineTransformation::inversion ( ) const
inline

Definition at line 262 of file smooth_transformation.h.

◆ then() [1/6]

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

Definition at line 223 of file smooth_transformation.cpp.

◆ then() [2/6]

AffineTransformation roo_display::AffineTransformation::then ( IdentityTransformation  t) const
inline

Definition at line 255 of file smooth_transformation.h.

◆ then() [3/6]

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

◆ then() [4/6]

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

Definition at line 214 of file smooth_transformation.cpp.

◆ then() [5/6]

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

Definition at line 209 of file smooth_transformation.cpp.

◆ then() [6/6]

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

Definition at line 204 of file smooth_transformation.cpp.

◆ transformExtents()

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

Definition at line 200 of file smooth_transformation.cpp.

◆ tx()

float roo_display::AffineTransformation::tx ( ) const
inline

Definition at line 252 of file smooth_transformation.h.

◆ ty()

float roo_display::AffineTransformation::ty ( ) const
inline

Definition at line 253 of file smooth_transformation.h.


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