VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgAttachableCuboidModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgAttachableCuboidModel.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtOsgAttachableCuboidModel_H_
14 #define DtOsgAttachableCuboidModel_H_
15 
16 #include <vrvOsg/vrvOsg.h>
18 #include <vrvCore/DtUniqueID.h>
19 
20 #include <matrix/vlVector.h>
21 
22 #include <osg/MatrixTransform>
23 
24 namespace osg
25 {
26  class Group;
27 }
28 
29 namespace makVrv
30 {
31  class DtDe;
32  class DtOsgSceneConnector;
33 
38  {
39  public:
41 
42  virtual ~DtOsgAttachableCuboidModel();
43 
44  //@name Distributed Interface
46 
48  virtual void setDimensions(double x, double y, double z);
49 
51  virtual void setColor(float r,float g,float b,float a);
52 
54  virtual void setVisible(bool visible);
55 
57  virtual void setPosition( int vtx, const DtVector& position );
58 
60  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
61 
63  virtual void setLightingEnabled( bool enabled );
64 
68  virtual void setIsSupportModel(bool isSupport);
69 
71 
72  //@name Local Interface
74 
76  virtual void addToScene(const DtUniqueID& sceneObjectID, int modelSet,
77  int visualizerType);
78 
80  virtual void removeFromScene();
81 
83 
84  protected:
86 
87  };
88 }
89 
90 #endif
91 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)