VR-Forces Developer's Guide
 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 
9 
10 #ifndef DtOsgAttachableCuboidModel_H_
11 #define DtOsgAttachableCuboidModel_H_
12 
13 #include <vrvOsg/vrvOsg.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <matrix/vlVector.h>
18 
19 #include <osg/MatrixTransform>
20 
21 namespace osg
22 {
23  class Group;
24 }
25 
26 namespace makVrv
27 {
28  class DtDe;
29  class DtOsgSceneConnector;
30 
35  {
36  public:
38 
39  virtual ~DtOsgAttachableCuboidModel();
40 
41  //@name Distributed Interface
43 
45  virtual void setDimensions(double x, double y, double z);
46 
48  virtual void setColor(float r,float g,float b,float a);
49 
51  virtual void setVisible(bool visible);
52 
54  virtual void setPosition( int vtx, const DtVector& position );
55 
57  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
58 
60  virtual void setLightingEnabled( bool enabled );
61 
65  virtual void setIsSupportModel(bool isSupport);
66 
68 
69  //@name Local Interface
71 
73  virtual void addToScene(const DtUniqueID& sceneObjectID, DtModelSetId modelSet,
74  int visualizerType);
75 
77  virtual void removeFromScene();
78 
80 
81  protected:
83 
84  };
85 }
86 
87 #endif
88 
#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:77
Contains DtAttachableCuboidModel declaration.
Distributed model for drawing rectangular prisms.
Definition: DtAttachableCuboidModel.h:22
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgAttachableCuboidModel.h:82
DtModelSetId
Definition: DtModelSetEnums.h:19
OSG implementation of distributed cuboid model.
Definition: DtOsgAttachableCuboidModel.h:33

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)