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 }
 

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 uniform scale, or allow for non-uniform scales.

Enumerator
Rigid 
UniformScale 
NonUniformScale 

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.