cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
osaOSGBH.h
Go to the documentation of this file.
1 
2 
3 #ifndef _devOSGBH_h
4 #define _devOSGBH_h
5 
8 
9 
11 
19 
20  protected:
21 
22  osg::ref_ptr<osaOSGManipulator> f1; // Finger 1
23  osg::ref_ptr<osaOSGManipulator> f2; // Finger 2
24  osg::ref_ptr<osaOSGManipulator> f3; // Finger 3
25 
26  protected:
27 
28  osaOSGBH( const vctFrame4x4<double>& Rtw0, const std::string& robotfile ):
29  osaOSGManipulator( Rtw0, robotfile ),
30  f1( NULL ),
31  f2( NULL ),
32  f3( NULL ){}
33 
34  osaOSGBH( const vctFrm3& Rtw0, const std::string& robotfile ):
35  osaOSGManipulator( Rtw0, robotfile ),
36  f1( NULL ),
37  f2( NULL ),
38  f3( NULL ){}
39 
40  public:
41 
43  osaOSGBH( const std::string& palmmodel,
44  const std::string& metacarpalmodel,
45  const std::string& proximalmodel,
46  const std::string& intermediatemodel,
47  osaOSGWorld* world,
48  const vctFrame4x4<double>& Rtw0,
49  const std::string& f1f2filename,
50  const std::string& f3filename );
51 
53  osaOSGBH( const std::string& palmmodel,
54  const std::string& metacarpalmodel,
55  const std::string& proximalmodel,
56  const std::string& intermediatemodel,
57  osaOSGWorld* world,
58  const vctFrm3& Rtw0,
59  const std::string& f1f2filename,
60  const std::string& f3filename );
61 
62  ~osaOSGBH();
63 
65  void Initialize();
66 
68 
74 
76 
82 
83 };
84 
85 #endif
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
osg::ref_ptr< osaOSGManipulator > f1
Definition: osaOSGBH.h:22
osg::ref_ptr< osaOSGManipulator > f2
Definition: osaOSGBH.h:23
osaOSGBH(const vctFrame4x4< double > &Rtw0, const std::string &robotfile)
Definition: osaOSGBH.h:28
osg::ref_ptr< osaOSGManipulator > f3
Definition: osaOSGBH.h:24
Errno
Definition: robManipulator.h:43
Definition: osaOSGWorld.h:24
Definition: osaOSGManipulator.h:26
OSG Barrett Hand.
Definition: osaOSGBH.h:18
virtual osaOSGManipulator::Errno GetPositions(vctDynamicVector< double > &q) const
Return the joints positions.
osaOSGBH(const vctFrm3 &Rtw0, const std::string &robotfile)
Definition: osaOSGBH.h:34
virtual osaOSGManipulator::Errno SetPositions(const vctDynamicVector< double > &q)
Set the joint position.