cisst-saw
Loading...
Searching...
No Matches
robSLERP.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 _robSLERP_h
19#define _robSLERP_h
20
23
26
27private:
28 double wmax;
30
31 void ComputeParameters( double wmax );
32
33 public:
34
37 double wmax,
38 double t1 = 0.0 );
39
40
43 double wmax,
44 double t1 = 0.0 );
45
47 void Evaluate( double t,
51
52 void Blend( robFunction* function, double wmax, double wdmax );
53};
54
55#endif
robFunction(void)
double t1
Definition robFunction.h:35
robFunctionSO3(void)
vctQuaternionRotation3< double > qw1
Definition robFunctionSO3.h:31
vctQuaternionRotation3< double > qw2
Definition robFunctionSO3.h:35
void Evaluate(double t, vctQuaternionRotation3< double > &q, vctFixedSizeVector< double, 3 > &w, vctFixedSizeVector< double, 3 > &wd)
Evaluate the function.
robSLERP(const vctQuaternionRotation3< double > &qw1, const vctQuaternionRotation3< double > &qw2, double wmax, double t1=0.0)
robSLERP(const vctMatrixRotation3< double > &Rw1, const vctMatrixRotation3< double > &Rw2, double wmax, double t1=0.0)
void Blend(robFunction *function, double wmax, double wdmax)
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