#include "transform_coords.h"
#include "bird_track_impl.h"
#include "math.h"
#include "complex.h"
#include "polynomial.h"
#include "quaternion.h"
Go to the source code of this file.
Defines | |
#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 transform_coords.cc.
#define KOORD_OFFSET_Y 65.0 |
Definition at line 34 of file transform_coords.cc.
#define KOORD_OFFSET_Z 0.0 |
Definition at line 35 of file transform_coords.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:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
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 transform_coords.cc.
#define POLHEMUS_POS_Y 1319.2 |
Definition at line 31 of file transform_coords.cc.
#define POLHEMUS_POS_Z -553.0 |
Definition at line 32 of file transform_coords.cc.
void calc_c | ( | ) |
Definition at line 136 of file transform_coords.cc.
void calc_eigenVec | ( | ) |
Definition at line 200 of file transform_coords.cc.
void calc_scale | ( | ) |
Definition at line 297 of file transform_coords.cc.
void calc_trans | ( | ) |
Definition at line 310 of file transform_coords.cc.
void calcC | ( | ) |
Definition at line 87 of file transform_coords.cc.
void calcN | ( | ) |
Definition at line 129 of file transform_coords.cc.
void calcS | ( | ) |
Definition at line 110 of file transform_coords.cc.
void find_max_lambda | ( | ) |
Definition at line 152 of file transform_coords.cc.
void flipLines | ( | int | a, |
int | b | ||
) |
Definition at line 173 of file transform_coords.cc.
void mAddLines | ( | int | to, |
int | from, | ||
double | value | ||
) |
Definition at line 182 of file transform_coords.cc.
void setQuat | ( | int | pos, |
quaternion * | q, | ||
double | value | ||
) |
Definition at line 187 of file transform_coords.cc.
double sqr | ( | double | a | ) |
Definition at line 106 of file transform_coords.cc.
void transform_point | ( | double | xi, |
double | yi, | ||
double | zi, | ||
double * | xo, | ||
double * | yo, | ||
double * | zo | ||
) |
Definition at line 328 of file transform_coords.cc.
double c0 |
Definition at line 78 of file transform_coords.cc.
double c1 |
Definition at line 78 of file transform_coords.cc.
double c2 |
Definition at line 78 of file transform_coords.cc.
bool calibrated |
Definition at line 37 of file transform_coords.cc.
double Cm[3] |
Definition at line 76 of file transform_coords.cc.
int countCoord |
Definition at line 41 of file transform_coords.cc.
double Cs[3] |
Definition at line 77 of file transform_coords.cc.
int ERR = 0 |
Definition at line 80 of file transform_coords.cc.
double fobCoordList[256][6] |
Definition at line 39 of file transform_coords.cc.
double l |
Definition at line 79 of file transform_coords.cc.
double N[4][4] |
Definition at line 75 of file transform_coords.cc.
double NB[4][4] |
Definition at line 198 of file transform_coords.cc.
double S[3][3] |
Definition at line 74 of file transform_coords.cc.
double scale |
Definition at line 83 of file transform_coords.cc.
Definition at line 82 of file transform_coords.cc.
double trans[3] |
Definition at line 84 of file transform_coords.cc.
Definition at line 85 of file transform_coords.cc.
double worldCoordList[256][6] |
Definition at line 40 of file transform_coords.cc.