Rosetta
Macros | Functions
gpu_xforms.hh File Reference
#include <apps/pilot/will/gpu/gpu_mat_vec.hh>
#include <apps/pilot/will/gpu/gpu_bb_struct.hh>

Macros

#define C1_SG   vec( 0.70523987, 1.66565453, 0.00000000)
 
#define C2_M   vec( 0.21907954, 2.08854116, 0.00000000)
 
#define C3_MY   vec( 0.00000000, 1.00000000, 0.00000000)
 
#define C21_rot001_COS   0.389893133f
 
#define C21_rot001_SIN   0.920860111f
 
#define C21_movx   1.80880300
 
#define C32_rot001_COS   0.104323588f
 
#define C32_rot001_SIN   0.994543407f
 
#define C32_movx   2.10000000
 
#define D1_CG   vec( 0.59156419, 1.39717224, 0.00000000)
 
#define D2_OD1   vec( 0.61116150, 1.05856277, 0.00000000)
 
#define D2_OD2   vec( 0.60388100,-1.04595257, 0.00000000)
 
#define D21_rot001_COS   0.389893133f
 
#define D21_rot001_SIN   0.920860111f
 
#define D21_movx   1.51724700
 
#define D2_M1   vec(-0.43883850, 2.87721612, 0.00000000)
 
#define D3_M1Y   vec( 0.00000000, 1.00000000, 0.00000000)
 
#define D32M1_rot001_COS   -0.500000000f
 
#define D32M1_rot001_SIN   0.866025404f
 
#define D32M1_movx   2.71116150
 
#define D32M1_movy   -1.05856277
 
#define D2_M2   vec( 2.71116150, 1.05856277, 0.00000000)
 
#define D3_M2Y   vec( 0.00000000, 1.00000000, 0.00000000)
 
#define D32M2_rot001_COS   1.000000000f
 
#define D32M2_rot001_SIN   0.000000000f
 
#define D32M2_movx   2.71116150
 
#define D32M2_movy   -1.05856277
 
#define E1_CG   vec( 0.59156419, 1.39717224, 0.00000000)
 
#define E2_CD   vec( 0.56433087, 1.40081729, 0.00000000)
 
#define E3_OE1   vec( 0.61000000, 1.05655099, 0.00000000)
 
#define E3_OE2   vec( 0.60427100,-1.04662807, 0.00000000)
 
#define E21_rot001_COS   0.389893133f
 
#define E21_rot001_SIN   0.920860111f
 
#define E21_movx   1.51724700
 
#define E32_rot001_COS   0.373675107f
 
#define E32_rot001_SIN   0.927559656f
 
#define E32_movx   1.51021800
 
#define E3_M1   vec(-0.44000000, 2.87520434, 0.00000000)
 
#define E4_M1Y   vec( 0.00000000, 1.00000000, 0.00000000)
 
#define E43M1_rot001_COS   -0.500000000f
 
#define E43M1_rot001_SIN   0.866025404f
 
#define E43M1_movx   2.71000000
 
#define E43M1_movy   -1.05655099
 
#define E3_M2   vec( 2.71000000, 1.05655099, 0.00000000)
 
#define E4_M2Y   vec( 0.00000000, 1.00000000, 0.00000000)
 
#define E43M2_rot001_COS   1.000000000f
 
#define E43M2_rot001_SIN   0.000000000f
 
#define E43M2_movx   2.71000000
 
#define E43M2_movy   -1.05655099
 
#define H1_CG   vec( 0.59156419, 1.39717224, 0.00000000)
 
#define H2_ND1   vec( 0.74365372, 1.16150173, 0.00000000)
 
#define H2_CD2   vec( 0.89178042,-1.01837843, 0.00000000)
 
#define H2_CE1   vec( 2.02989367, 0.85638485, 0.00000000)
 
#define H2_NE2   vec( 2.14584073,-0.45888741, 0.00000000)
 
#define H21_rot001_COS   0.389893133f
 
#define H21_rot001_SIN   0.920860111f
 
#define H21_movx   1.51724700
 
#define H2_MD   vec(-0.01328216, 3.12034018, 0.00000000)
 
#define H3_MDY   vec( 0.00000000, 1.00000000, 0.00000000)
 
#define H32MD_rot001_COS   -0.360445659f
 
#define H32MD_rot001_SIN   0.932780214f
 
#define H32MD_movx   2.91537908
 
#define H32MD_movy   -1.11232374
 
#define H2_ME   vec( 3.95036652,-1.53298549, 0.00000000)
 
#define H3_MEY   vec( 0.00000000, 1.00000000, 0.00000000)
 
#define H32ME_rot001_COS   0.859297995f
 
#define H32ME_rot001_SIN   -0.511475273f
 
#define H32ME_movx   4.17862620
 
#define H32ME_movy   0.70322344
 
#define CbCaN_to_CaNC   xform(cols(vec(0.3501035951978161,-0.4997217002034455,-0.7922787987667861),vec(-0.9367109867133854,-0.1867751807347212,-0.2961208524098708),vec(0.0,0.8458092303866696,-0.5334854691486076)),vec(0.5356012134327274,-0.7642380196155788,-1.2117975450838043))
 

Functions

struct XFORM const bb2bb (struct VEC const n1, struct VEC const ca1, struct VEC const c1, struct VEC const n2, struct VEC const ca2, struct VEC const c2)
 
struct XFORM const his_bb2m (float const chi1, float const chi2, float const chi3, bool DorE)
 
struct XFORM const hisd_bb2m (float const chi1, float const chi2, float const chi3)
 
struct XFORM const hise_bb2m (float const chi1, float const chi2, float const chi3)
 
struct XFORM const hisd_m2bb (float const chi1, float const chi2, float const chi3)
 
struct XFORM const hise_m2bb (float const chi1, float const chi2, float const chi3)
 
struct XFORM const asp_bb2m (float const chi1, float const chi2, float const chi3, bool DorE)
 
struct XFORM const aspd_bb2m (float const chi1, float const chi2, float const chi3)
 
struct XFORM const aspe_bb2m (float const chi1, float const chi2, float const chi3)
 
struct XFORM const aspd_m2bb (float const chi1, float const chi2, float const chi3)
 
struct XFORM const aspe_m2bb (float const chi1, float const chi2, float const chi3)
 
struct XFORM const glu_bb2m (float const chi1, float const chi2, float const chi3, float const chi4, bool DorE)
 
struct XFORM const glud_bb2m (float const chi1, float const chi2, float const chi3, float const chi4)
 
struct XFORM const glue_bb2m (float const chi1, float const chi2, float const chi3, float const chi4)
 
struct XFORM const glud_m2bb (float const chi1, float const chi2, float const chi3, float const chi4)
 
struct XFORM const glue_m2bb (float const chi1, float const chi2, float const chi3, float const chi4)
 
struct XFORM const cys_bb2m (float const chi1, float const chi2, float const chi3)
 
struct XFORM const cys_m2bb (float const chi1, float const chi2, float const chi3)
 

Macro Definition Documentation

◆ C1_SG

#define C1_SG   vec( 0.70523987, 1.66565453, 0.00000000)

◆ C21_movx

#define C21_movx   1.80880300

◆ C21_rot001_COS

#define C21_rot001_COS   0.389893133f

◆ C21_rot001_SIN

#define C21_rot001_SIN   0.920860111f

◆ C2_M

#define C2_M   vec( 0.21907954, 2.08854116, 0.00000000)

◆ C32_movx

#define C32_movx   2.10000000

◆ C32_rot001_COS

#define C32_rot001_COS   0.104323588f

◆ C32_rot001_SIN

#define C32_rot001_SIN   0.994543407f

◆ C3_MY

#define C3_MY   vec( 0.00000000, 1.00000000, 0.00000000)

◆ CbCaN_to_CaNC

#define CbCaN_to_CaNC   xform(cols(vec(0.3501035951978161,-0.4997217002034455,-0.7922787987667861),vec(-0.9367109867133854,-0.1867751807347212,-0.2961208524098708),vec(0.0,0.8458092303866696,-0.5334854691486076)),vec(0.5356012134327274,-0.7642380196155788,-1.2117975450838043))

◆ D1_CG

#define D1_CG   vec( 0.59156419, 1.39717224, 0.00000000)

◆ D21_movx

#define D21_movx   1.51724700

◆ D21_rot001_COS

#define D21_rot001_COS   0.389893133f

◆ D21_rot001_SIN

#define D21_rot001_SIN   0.920860111f

◆ D2_M1

#define D2_M1   vec(-0.43883850, 2.87721612, 0.00000000)

◆ D2_M2

#define D2_M2   vec( 2.71116150, 1.05856277, 0.00000000)

◆ D2_OD1

#define D2_OD1   vec( 0.61116150, 1.05856277, 0.00000000)

◆ D2_OD2

#define D2_OD2   vec( 0.60388100,-1.04595257, 0.00000000)

◆ D32M1_movx

#define D32M1_movx   2.71116150

◆ D32M1_movy

#define D32M1_movy   -1.05856277

◆ D32M1_rot001_COS

#define D32M1_rot001_COS   -0.500000000f

◆ D32M1_rot001_SIN

#define D32M1_rot001_SIN   0.866025404f

◆ D32M2_movx

#define D32M2_movx   2.71116150

◆ D32M2_movy

#define D32M2_movy   -1.05856277

◆ D32M2_rot001_COS

#define D32M2_rot001_COS   1.000000000f

◆ D32M2_rot001_SIN

#define D32M2_rot001_SIN   0.000000000f

◆ D3_M1Y

#define D3_M1Y   vec( 0.00000000, 1.00000000, 0.00000000)

◆ D3_M2Y

#define D3_M2Y   vec( 0.00000000, 1.00000000, 0.00000000)

◆ E1_CG

#define E1_CG   vec( 0.59156419, 1.39717224, 0.00000000)

◆ E21_movx

#define E21_movx   1.51724700

◆ E21_rot001_COS

#define E21_rot001_COS   0.389893133f

◆ E21_rot001_SIN

#define E21_rot001_SIN   0.920860111f

◆ E2_CD

#define E2_CD   vec( 0.56433087, 1.40081729, 0.00000000)

◆ E32_movx

#define E32_movx   1.51021800

◆ E32_rot001_COS

#define E32_rot001_COS   0.373675107f

◆ E32_rot001_SIN

#define E32_rot001_SIN   0.927559656f

◆ E3_M1

#define E3_M1   vec(-0.44000000, 2.87520434, 0.00000000)

◆ E3_M2

#define E3_M2   vec( 2.71000000, 1.05655099, 0.00000000)

◆ E3_OE1

#define E3_OE1   vec( 0.61000000, 1.05655099, 0.00000000)

◆ E3_OE2

#define E3_OE2   vec( 0.60427100,-1.04662807, 0.00000000)

◆ E43M1_movx

#define E43M1_movx   2.71000000

◆ E43M1_movy

#define E43M1_movy   -1.05655099

◆ E43M1_rot001_COS

#define E43M1_rot001_COS   -0.500000000f

◆ E43M1_rot001_SIN

#define E43M1_rot001_SIN   0.866025404f

◆ E43M2_movx

#define E43M2_movx   2.71000000

◆ E43M2_movy

#define E43M2_movy   -1.05655099

◆ E43M2_rot001_COS

#define E43M2_rot001_COS   1.000000000f

◆ E43M2_rot001_SIN

#define E43M2_rot001_SIN   0.000000000f

◆ E4_M1Y

#define E4_M1Y   vec( 0.00000000, 1.00000000, 0.00000000)

◆ E4_M2Y

#define E4_M2Y   vec( 0.00000000, 1.00000000, 0.00000000)

◆ H1_CG

#define H1_CG   vec( 0.59156419, 1.39717224, 0.00000000)

◆ H21_movx

#define H21_movx   1.51724700

◆ H21_rot001_COS

#define H21_rot001_COS   0.389893133f

◆ H21_rot001_SIN

#define H21_rot001_SIN   0.920860111f

◆ H2_CD2

#define H2_CD2   vec( 0.89178042,-1.01837843, 0.00000000)

◆ H2_CE1

#define H2_CE1   vec( 2.02989367, 0.85638485, 0.00000000)

◆ H2_MD

#define H2_MD   vec(-0.01328216, 3.12034018, 0.00000000)

◆ H2_ME

#define H2_ME   vec( 3.95036652,-1.53298549, 0.00000000)

◆ H2_ND1

#define H2_ND1   vec( 0.74365372, 1.16150173, 0.00000000)

◆ H2_NE2

#define H2_NE2   vec( 2.14584073,-0.45888741, 0.00000000)

◆ H32MD_movx

#define H32MD_movx   2.91537908

◆ H32MD_movy

#define H32MD_movy   -1.11232374

◆ H32MD_rot001_COS

#define H32MD_rot001_COS   -0.360445659f

◆ H32MD_rot001_SIN

#define H32MD_rot001_SIN   0.932780214f

◆ H32ME_movx

#define H32ME_movx   4.17862620

◆ H32ME_movy

#define H32ME_movy   0.70322344

◆ H32ME_rot001_COS

#define H32ME_rot001_COS   0.859297995f

◆ H32ME_rot001_SIN

#define H32ME_rot001_SIN   -0.511475273f

◆ H3_MDY

#define H3_MDY   vec( 0.00000000, 1.00000000, 0.00000000)

◆ H3_MEY

#define H3_MEY   vec( 0.00000000, 1.00000000, 0.00000000)

Function Documentation

◆ asp_bb2m()

struct XFORM const asp_bb2m ( float const  chi1,
float const  chi2,
float const  chi3,
bool  DorE 
)
inline

◆ aspd_bb2m()

struct XFORM const aspd_bb2m ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

Referenced by main().

◆ aspd_m2bb()

struct XFORM const aspd_m2bb ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

◆ aspe_bb2m()

struct XFORM const aspe_bb2m ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

Referenced by main().

◆ aspe_m2bb()

struct XFORM const aspe_m2bb ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

◆ bb2bb()

struct XFORM const bb2bb ( struct VEC const  n1,
struct VEC const  ca1,
struct VEC const  c1,
struct VEC const  n2,
struct VEC const  ca2,
struct VEC const  c2 
)
inline

◆ cys_bb2m()

struct XFORM const cys_bb2m ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

Referenced by main().

◆ cys_m2bb()

struct XFORM const cys_m2bb ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

◆ glu_bb2m()

struct XFORM const glu_bb2m ( float const  chi1,
float const  chi2,
float const  chi3,
float const  chi4,
bool  DorE 
)
inline

◆ glud_bb2m()

struct XFORM const glud_bb2m ( float const  chi1,
float const  chi2,
float const  chi3,
float const  chi4 
)
inline

Referenced by main().

◆ glud_m2bb()

struct XFORM const glud_m2bb ( float const  chi1,
float const  chi2,
float const  chi3,
float const  chi4 
)
inline

◆ glue_bb2m()

struct XFORM const glue_bb2m ( float const  chi1,
float const  chi2,
float const  chi3,
float const  chi4 
)
inline

Referenced by main().

◆ glue_m2bb()

struct XFORM const glue_m2bb ( float const  chi1,
float const  chi2,
float const  chi3,
float const  chi4 
)
inline

◆ his_bb2m()

struct XFORM const his_bb2m ( float const  chi1,
float const  chi2,
float const  chi3,
bool  DorE 
)
inline

◆ hisd_bb2m()

struct XFORM const hisd_bb2m ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

Referenced by main().

◆ hisd_m2bb()

struct XFORM const hisd_m2bb ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

Referenced by main().

◆ hise_bb2m()

struct XFORM const hise_bb2m ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

Referenced by main().

◆ hise_m2bb()

struct XFORM const hise_m2bb ( float const  chi1,
float const  chi2,
float const  chi3 
)
inline

Referenced by main().