VR-Vantage API Documentation
DtExampleObject.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2008 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 // /******************************************************************************
6 // ** $RCSfile: DtExampleObject.h,v $ $Revision: 1.4 $ $State: Exp $
7 // ******************************************************************************/
8 
9 #ifndef DtExampleObject_H_
10 #define DtExampleObject_H_
11 
12 #include <vrvCore/DtDe.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <osg/PositionAttitudeTransform>
16 
17 #include <string>
18 
19 namespace makVrv
20 {
22  {
23 
24  public:
25 
28 
29  virtual ~DtExampleObject();
30 
31  void loadModel(const std::string& filename);
32 
33  void setRotationAngle(double rotationAngleInDegrees);
34 
35  protected:
36 
38  osg::ref_ptr<osg::PositionAttitudeTransform> myPat;
39 
40  };
41 
42 }
43 
44 #endif


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)