VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
Contains DtAttachableCuboidModel declaration.
Distributed model for drawing rectangular prisms.
Definition: DtAttachableCuboidModel.h:25
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgAttachableCuboidModel.h:85
OSG implementation of distributed cuboid model.
Definition: DtOsgAttachableCuboidModel.h:36

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)