cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
11 This software is provided "as is" under an open source license, with
12 no warranty. The complete license can be found in license.txt and
13 http://www.cisst.org/cisst/license.txt.
14 
15 --- end cisst license ---
16 */
17 
18 #ifndef _robSLERP_h
19 #define _robSLERP_h
20 
22 #include <cisstRobot/robExport.h>
23 
26 
27 private:
28  double wmax;
30 
31  void ComputeParameters( double wmax );
32 
33  public:
34 
36  const vctMatrixRotation3<double>& Rw2,
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
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
virtual void Blend(robFunction *function, double wmax, double wdmax)=0
Define a spherical linear interpolation function.
Definition: robSLERP.h:25
Base class for robot function.
Definition: robFunction.h:31
virtual void Evaluate(double, vctQuaternionRotation3< double > &, vctFixedSizeVector< double, 3 > &, vctFixedSizeVector< double, 3 > &)
Definition: robFunctionSO3.h:63
Definition: robFunctionSO3.h:27