VR-Forces 4.1.1 Class Documentation
DtOsgSimpleModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgSimpleModel.h,v $ $Revision: 1.13 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvOsg/vrvOsg.h>
16 #include <vrvCore/DtModel.h>
17 #include <vrvCore/DtUniqueID.h>
18 #include <matrix/vlVector.h>
19 #include <matrix/vlTaitBryan.h>
20 
21 #include <osg/MatrixTransform>
22 namespace osg
23 {
24  class Group;
25 }
26 
27 namespace makVrv
28 {
29  class DtDe;
30  class DtOsgSceneConnector;
31 
38  {
39  public:
41 
42  virtual ~DtOsgSimpleModel();
43 
44  //@name Distributed Interface
46 
48  virtual void setModelDefinition(const std::string& str);
49  virtual void setVisible(bool visible);
50  virtual void setPosition( int vtx, const DtVector& position );
51  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
53 
54  //@name Local Interface
56  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
57  int visualizerType );
58 
59  // Add to scene as a prop ( no modelset / visualizer type specified )
60  virtual void addToSceneAsProp( const DtUniqueID& sceneObjectId );
61  virtual void removeFromScene();
62 
64  virtual void setSolid(bool isSolid);
66 
67  protected:
69  };
70 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)