HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_ExtractTransform Namespace Reference

Classes

struct  Result
 

Enumerations

enum  Method { Method::Rigid, Method::UniformScale, Method::NonUniformScale, Method::Full }
 

Functions

GU_API void solve (const GU_Detail &gdp_a, const GA_Range &pts_a, const GU_Detail &gdp_b, const GA_Range &pts_b, Method method, bool compute_distortion, Result &result)
 

Enumeration Type Documentation

Specifies whether to only compute the best-fit rigid transform, allow for a (non-)uniform scale, or just compute the full best-fit transform.

Enumerator
Rigid 
UniformScale 
NonUniformScale 
Full 

Definition at line 24 of file GU_ExtractTransform.h.

Function Documentation

GU_API void GU_ExtractTransform::solve ( const GU_Detail gdp_a,
const GA_Range pts_a,
const GU_Detail gdp_b,
const GA_Range pts_b,
Method  method,
bool  compute_distortion,
Result &  result 
)

Computes the best-fit transform that aligns the reference geometry (A) points with the target geometry (B) points.