cisst-saw
Loading...
Searching...
No Matches
robCubicSO3.h
Go to the documentation of this file.
1/*
2
3 Author(s): Simon Leonard
4 Created on: Nov 11 2009
5
6 (C) Copyright 2008 Johns Hopkins University (JHU), All Rights
7 Reserved.
8
9--- begin cisst license - do not edit ---
10
11This software is provided "as is" under an open source license, with
12no warranty. The complete license can be found in license.txt and
13http://www.cisst.org/cisst/license.txt.
14
15--- end cisst license ---
16*/
17
18#ifndef _robCubicSO3_h
19#define _robCubicSO3_h
20
23
26
28
29 private:
30
31 double wmax;
32 vctQuaternionRotation3<double> qwmid; // midpoint orientation
33
35 SLERP( const vctQuaternionRotation3<double> &q1,
37 double t );
38
39
40 public:
41
43
49 double wmax,
50 double t1 = 0.0 );
51
55 double wmax,
56 double t1 = 0.0 );
57
59 void Evaluate( double t,
63
64 void Blend( robFunction* function, double wmax, double wdmax );
65
67
68};
69
70#endif
void Blend(robFunction *function, double wmax, double wdmax)
robCubicSO3(const vctQuaternionRotation3< double > &qw0, const vctQuaternionRotation3< double > &qwmid, const vctQuaternionRotation3< double > &qw2, double wmax, double t1=0.0)
void Evaluate(double t, vctQuaternionRotation3< double > &q, vctFixedSizeVector< double, 3 > &w, vctFixedSizeVector< double, 3 > &wd)
Evaluate the function.
robCubicSO3(const vctMatrixRotation3< double > &Rw0, const vctMatrixRotation3< double > &Rw1, const vctMatrixRotation3< double > &Rw2, double wmax, double t1=0.0)
Interpolate between 3 orientation using Cubic's algorithm.
void IntermediateState(vctQuaternionRotation3< double > &q)
robFunction(void)
double t1
Definition robFunction.h:35
robFunctionSO3(void)
vctQuaternionRotation3< double > qw2
Definition robFunctionSO3.h:35
Implementation of a fixed-size vector using template metaprogramming.
Definition vctFixedSizeVector.h:54
Define a rotation matrix for a space of dimension 3.
Definition vctMatrixRotation3.h:51
Define a rotation quaternion for a space of dimension 3.
Definition vctQuaternionRotation3.h:50
#define CISST_EXPORT
Definition cmnExportMacros.h:50
Declaration of vctMatrixRotation3.
Declaration of vctQuaternionRotation3.