cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mtsOSGBody.h
Go to the documentation of this file.
1 /*
2 
3  Author(s): Simon Leonard
4  Created on: Dec 02 2009
5 
6  (C) Copyright 2009 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 
19 #ifndef _mtsOSGBody_h
20 #define _mtsOSGBody_h
21 
25 
27 
30 
32 
33  protected:
34 
35  class Body : public osaOSGBody{
36 
37  protected:
38 
40  virtual void UpdateTransform();
41 
42  public:
43 
47 
50 
51  Body( const std::string& model,
52  osaOSGWorld* world,
53  const vctFrame4x4<double>& Rt,
54  double scale,
55  double alpha,
56  const vctFrame4x4<double>& Rtoffset,
57  const std::string& option ) :
58  osaOSGBody( model, world, Rt, scale, alpha, Rtoffset, option ),
59  input( NULL ){}
60  };
61 
63 
64  public:
65 
66  // Main constructor
67  mtsOSGBody( const std::string& name,
68  const std::string& model,
69  osaOSGWorld* world,
70  const vctFrame4x4<double>& Rt,
71  double scale = 1.0,
72  double alpha = 1.0,
73  const vctFrame4x4<double>& Rtoffset = vctFrame4x4<double>(),
74  const std::string& option = std::string("") );
75 
77 
78 };
79 
80 #endif
mtsFunctionWrite SetPosition
Definition: mtsOSGBody.h:49
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: mtsFunctionRead.h:37
Declaration of mtsInterfaceRequired.
mtsInterfaceRequired * input
The input interface.
Definition: mtsOSGBody.h:45
Definition: osaOSGBody.h:34
Definition: mtsInterfaceRequired.h:85
Body(const std::string &model, osaOSGWorld *world, const vctFrame4x4< double > &Rt, double scale, double alpha, const vctFrame4x4< double > &Rtoffset, const std::string &option)
Definition: mtsOSGBody.h:51
Body body
Definition: mtsOSGBody.h:62
Definition: osaOSGWorld.h:24
Declaration of mtsComponent.
mtsFunctionRead GetPosition
Definition: mtsOSGBody.h:46
Definition: mtsOSGBody.h:31
Definition: mtsComponent.h:150
Definition: mtsOSGBody.h:35
Declaration of mtsInterfaceProvided.
~mtsOSGBody()
Definition: mtsOSGBody.h:76
Definition: mtsFunctionWrite.h:37
mtsInterfaceRequired * output
Definition: mtsOSGBody.h:48