#include "transformCoords.h"
#include "BirdTrack_impl.h"
#include "math.h"
#include "complex.h"
#include "polynomial.h"
#include "quaternion.h"
Go to the source code of this file.
Macros | |
#define | KOORD_OFFSET_X -16.0 |
#define | KOORD_OFFSET_Y 65.0 |
#define | KOORD_OFFSET_Z 0.0 |
#define | POLHEMUS_POS_X 1284.6 |
#define | POLHEMUS_POS_Y 1319.2 |
#define | POLHEMUS_POS_Z -553.0 |
Functions | |
void | calc_c () |
void | calc_eigenVec () |
void | calc_scale () |
void | calc_trans () |
void | calcC () |
void | calcN () |
void | calcS () |
void | find_max_lambda () |
void | flipLines (int a, int b) |
void | mAddLines (int to, int from, double value) |
void | setQuat (int pos, quaternion *q, double value) |
double | sqr (double a) |
void | transform_point (double xi, double yi, double zi, double *xo, double *yo, double *zo) |
Variables | |
double | c0 |
double | c1 |
double | c2 |
bool | calibrated |
double | Cm [3] |
int | countCoord |
double | Cs [3] |
int | ERR =0 |
double | fobCoordList [256][6] |
double | l |
double | N [4][4] |
double | NB [4][4] |
double | S [3][3] |
double | scale |
quaternion | solution |
double | trans [3] |
quaternion | transq |
double | worldCoordList [256][6] |
#define KOORD_OFFSET_X -16.0 |
Definition at line 33 of file transformCoords.cc.
#define KOORD_OFFSET_Y 65.0 |
Definition at line 34 of file transformCoords.cc.
#define KOORD_OFFSET_Z 0.0 |
Definition at line 35 of file transformCoords.cc.
#define POLHEMUS_POS_X 1284.6 |
Copyright (c) 2016, Bernhardt Andre, Engelmann Stephan, Giesler Björn, Heller Florian, Jäkel Rainer, Nguyen Trung, Pardowitz Michael, Weckesser Peter, Yi Xie, Zöllner Raoul All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 30 of file transformCoords.cc.
#define POLHEMUS_POS_Y 1319.2 |
Definition at line 31 of file transformCoords.cc.
#define POLHEMUS_POS_Z -553.0 |
Definition at line 32 of file transformCoords.cc.
void calc_c | ( | ) |
Definition at line 136 of file transformCoords.cc.
void calc_eigenVec | ( | ) |
Definition at line 200 of file transformCoords.cc.
void calc_scale | ( | ) |
Definition at line 297 of file transformCoords.cc.
void calc_trans | ( | ) |
Definition at line 310 of file transformCoords.cc.
void calcC | ( | ) |
Definition at line 87 of file transformCoords.cc.
void calcN | ( | ) |
Definition at line 129 of file transformCoords.cc.
void calcS | ( | ) |
Definition at line 110 of file transformCoords.cc.
void find_max_lambda | ( | ) |
Definition at line 152 of file transformCoords.cc.
void flipLines | ( | int | a, |
int | b | ||
) |
Definition at line 173 of file transformCoords.cc.
void mAddLines | ( | int | to, |
int | from, | ||
double | value | ||
) |
Definition at line 182 of file transformCoords.cc.
void setQuat | ( | int | pos, |
quaternion * | q, | ||
double | value | ||
) |
Definition at line 187 of file transformCoords.cc.
double sqr | ( | double | a | ) |
Definition at line 106 of file transformCoords.cc.
void transform_point | ( | double | xi, |
double | yi, | ||
double | zi, | ||
double * | xo, | ||
double * | yo, | ||
double * | zo | ||
) |
Definition at line 328 of file transformCoords.cc.
double c0 |
Definition at line 78 of file transformCoords.cc.
double c1 |
Definition at line 78 of file transformCoords.cc.
double c2 |
Definition at line 78 of file transformCoords.cc.
bool calibrated |
Definition at line 37 of file transformCoords.cc.
double Cm[3] |
Definition at line 76 of file transformCoords.cc.
int countCoord |
Definition at line 41 of file transformCoords.cc.
double Cs[3] |
Definition at line 77 of file transformCoords.cc.
int ERR =0 |
Definition at line 80 of file transformCoords.cc.
double fobCoordList[256][6] |
Definition at line 39 of file transformCoords.cc.
double l |
Definition at line 79 of file transformCoords.cc.
double N[4][4] |
Definition at line 75 of file transformCoords.cc.
double NB[4][4] |
Definition at line 198 of file transformCoords.cc.
double S[3][3] |
Definition at line 74 of file transformCoords.cc.
double scale |
Definition at line 83 of file transformCoords.cc.
quaternion solution |
Definition at line 82 of file transformCoords.cc.
double trans[3] |
Definition at line 84 of file transformCoords.cc.
quaternion transq |
Definition at line 85 of file transformCoords.cc.
double worldCoordList[256][6] |
Definition at line 40 of file transformCoords.cc.