VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgAttachableEllipsoidModel.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 DtOsgAttachableEllipsoidModel_H_
11 #define DtOsgAttachableEllipsoidModel_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 
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, int modelSet,
74  int visualizerType);
75 
77  virtual void removeFromScene();
78 
80 
81  protected:
83 
84  };
85 }
86 
87 #endif
88 
Contains DtAttachableEllipsoidModel declaration.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Distributed model for drawing rectangular prisms.
Definition: DtAttachableEllipsoidModel.h:19
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgAttachableEllipsoidModel.h:82
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.
Definition: DtDe.h:69
OSG implementation of distributed ellipsoid model.
Definition: DtOsgAttachableEllipsoidModel.h:33

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)