Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 9b52ecd2 authored by Kenneth Vanhoey's avatar Kenneth Vanhoey
Browse files

matrix operations in quadricRGBfunctions verified

parent 57e258ac
...@@ -51,16 +51,15 @@ QuadricRGBfunctions<REAL>::QuadricRGBfunctions(const QuadricRGBfunctions& q) { ...@@ -51,16 +51,15 @@ QuadricRGBfunctions<REAL>::QuadricRGBfunctions(const QuadricRGBfunctions& q) {
template <typename REAL> template <typename REAL>
QuadricRGBfunctions<REAL>::QuadricRGBfunctions(const RGBFUNCTIONS& cf, const REAL gamma, const REAL alpha) { QuadricRGBfunctions<REAL>::QuadricRGBfunctions(const RGBFUNCTIONS& cf, const REAL gamma, const REAL alpha) {
MATRIX66 R1,R2_A,R2_b,R2_c; MATRIX66 R1,R2_b,R2_c;
buildRotateMatrix(R1,gamma); // Rotation 1 buildRotateMatrix(R1,gamma); // Rotation 1
buildIntegralMatrix_A(R2_A,alpha); // Parameterized integral matrix A buildIntegralMatrix_A(A,alpha); // Parameterized integral matrix A
buildIntegralMatrix_b(R2_b,alpha); // Parameterized integral matrix b buildIntegralMatrix_b(R2_b,alpha); // Parameterized integral matrix b
buildIntegralMatrix_c(R2_c,alpha); // Parameterized integral matrix c buildIntegralMatrix_c(R2_c,alpha); // Parameterized integral matrix c
// Quadric (A,b,c) => L*A*Lt - 2*b*Lt + c = ERROR // Quadric (A,b,c) => L*A*Lt - 2*b*Lt + c = ERROR
A = R2_A ; // Matrix A : integral
for (unsigned col = RED; col < BLUE+1; ++col) { for (unsigned col = RED; col < BLUE+1; ++col) {
Geom::Vector<6,REAL> function; // get function coefficients Geom::Vector<6,REAL> function; // get function coefficients
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment