VR-Vantage 1.4.1 API Class Documentation
MyObject.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2012 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 
00009 
00010 #pragma once
00011 
00012 #include <vrvCore/DtDe.h>
00013 #include <vrvCore/DtUniqueID.h>
00014 
00015 #include <osg/PositionAttitudeTransform>
00016 
00017 #include <string>
00018 
00024 class MyObject
00025 {
00026 
00027 public:
00028 
00031     MyObject(makVrv::DtDe& de, makVrv::DtUniqueID id);
00032 
00034     virtual ~MyObject();
00035 
00038     void createModel();
00039 
00041     void setRotationAngle(double rotationAngleInDegrees);
00042 
00043 protected:
00044 
00045     makVrv::DtDe& myDe;
00046     osg::ref_ptr<osg::PositionAttitudeTransform> myPat;
00047 
00048 };


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