cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
osaGLUTManipulator.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 2009-2011 Johns Hopkins University (JHU), All Rights Reserved.
7 
8 --- begin cisst license - do not edit ---
9 
10 This software is provided "as is" under an open source license, with
11 no warranty. The complete license can be found in license.txt and
12 http://www.cisst.org/cisst/license.txt.
13 
14 --- end cisst license ---
15 */
16 
17 #ifndef _osaGLUTManipulator_h
18 #define _osaGLUTManipulator_h
19 
22 
24 
25 class osaMeshTriangular;
26 
28 {
29  protected:
30 
33 
34  osaMeshTriangular* base;
35  std::vector< osaMeshTriangular* > meshes;
36 
37  public:
38 
40 
50  osaGLUTManipulator( const std::vector<std::string>& geomfiles,
51  const vctFrame4x4<double>& Rtw0,
52  const std::string& robotfn,
53  const vctDoubleVec& qinit,
54  const std::string& basefile,
55  bool rotateX90 = false );
56 
58 
68  osaGLUTManipulator( const std::vector<std::string>& geomfiles,
69  const vctFrm3& Rtw0,
70  const std::string& robotfn,
71  const vctDoubleVec& qinit,
72  const std::string& basefile,
73  bool rotateX90 = false );
74 
76 
77  void Initialize(const std::vector<std::string>& geomfiles,
78  const std::string& basefile, bool rotateX90);
79 
81 
86  virtual bool GetPositions(vctDoubleVec& q) const;
87 
89 
94  virtual bool SetPositions(const vctDoubleVec& q);
95 
96 };
97 
98 #endif
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: robManipulator.h:34
Typedef for dynamic vectors.
vctDoubleVec q
Store the current joints values.
Definition: osaGLUTManipulator.h:32
Definition: osaGLUTManipulator.h:27
osaMeshTriangular * base
Definition: osaGLUTManipulator.h:34
std::vector< osaMeshTriangular * > meshes
Definition: osaGLUTManipulator.h:35