cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
robFunctionSE3.h
Go to the documentation of this file.
1 /*
2  Author(s): Simon Leonard
3  Created on: Nov 11 2009
4 
5  (C) Copyright 2008-2014 Johns Hopkins University (JHU), All Rights Reserved.
6 
7 --- begin cisst license - do not edit ---
8 
9 This software is provided "as is" under an open source license, with
10 no warranty. The complete license can be found in license.txt and
11 http://www.cisst.org/cisst/license.txt.
12 
13 --- end cisst license ---
14 */
15 
16 #ifndef _robFunctionSE3_h
17 #define _robFunctionSE3_h
18 
21 
22 #include <cisstRobot/robFunction.h>
25 #include <cisstRobot/robExport.h>
26 
27 
29 
30 protected:
31 
32  vctFrame4x4<double> Rtw1; // start tranform
34  vctFixedSizeVector<double,6> v1dw1d; // start acceleration
35 
36  vctFrame4x4<double> Rtw2; // stop transform
38  vctFixedSizeVector<double,6> v2dw2d; // stop acceleration
39 
40  robFunctionRn* translation; // robFunciton for Rn (R3 for SE3 case)
41  robFunctionSO3* rotation; // robFunction for SO3 (Rotation)
42 
43 public:
44 
45  robFunctionSE3( void );
46 
59  robFunctionSE3( double t1,
60  const vctFrame4x4<double>& Rtw1,
61  const vctFixedSizeVector<double,6>& v1w1,
62  const vctFixedSizeVector<double,6>& v1dw1d,
63  double t2,
64  const vctFrame4x4<double>& Rtw2,
65  const vctFixedSizeVector<double,6>& v2w2,
66  const vctFixedSizeVector<double,6>& v2dw2d );
67 
68  virtual ~robFunctionSE3();
69 
77  void InitialState( vctFrame4x4<double>& Rtw1,
80 
81 
89  void FinalState( vctFrame4x4<double>& Rtw2,
92 
93  virtual void Evaluate( double,
97 
98  virtual void Blend( robFunction* function, double vmax, double vdmax ) = 0;
99 
100  robFunctionSE3& operator=( const robFunctionSE3& function );
101 
102 };
103 
104 #endif // _robFunctionSE3_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
vctFixedSizeVector< double, 6 > v2w2
Definition: robFunctionSE3.h:37
vctFrame4x4< double > Rtw2
Definition: robFunctionSE3.h:36
robFunctionRn * translation
Definition: robFunctionSE3.h:40
Base class for robot function.
Definition: robFunction.h:31
Definition: robFunctionSE3.h:28
robFunctionSO3 * rotation
Definition: robFunctionSE3.h:41
int CISST_EXPORT Blend(svlSampleImage *src1_img, unsigned int src1_videoch, svlSampleImage *src2_img, unsigned int src2_videoch, svlSampleImage *mask_img, unsigned int mask_videoch, svlSampleImage *dst_img, unsigned int dst_videoch)
Declaration of vctFrame4x4.
Declaration of vctFixedSizeVector.
vctFixedSizeVector< double, 6 > v1dw1d
Definition: robFunctionSE3.h:34
Definition: robFunctionRn.h:29
Definition: robFunctionSO3.h:27
vctFrame4x4< double > Rtw1
Definition: robFunctionSE3.h:32
vctFixedSizeVector< double, 6 > v1w1
Definition: robFunctionSE3.h:33
vctFixedSizeVector< double, 6 > v2dw2d
Definition: robFunctionSE3.h:38