VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgArticulatingCylinderModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgArticulatingCylinderModel.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvOsg/vrvOsg.h>
16 #include <vrvCore/DtUniqueID.h>
17 
18 #include <matrix/vlVector.h>
19 
20 namespace osg
21 {
22  class Group;
23 }
24 
25 namespace makVrv
26 {
27  class DtDe;
28  class DtOsgSceneConnector;
29 
34  {
35  public:
37 
39 
40  //@name Distributed Interface
42 
44  virtual void setDimensions(double x, double y, double z);
45 
47  virtual void setColor(float r,float g,float b,float a);
48 
50  virtual void setVisible(bool visible);
51 
53  virtual void setPosition( int vtx, const DtVector& position );
54 
56  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
57 
59  virtual void setLightingEnabled( bool enabled );
60 
64  virtual void setIsSupportModel(bool isSupport);
65 
67 
68  //@name Local Interface
70 
72  virtual void addToScene(const DtUniqueID& sceneObjectID, int modelSet,
73  int visualizerType);
74 
76  virtual void removeFromScene();
78 
79  protected:
81 
82  };
83 }
Contains DtArticulatingCylinderModel declaration.
#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
OSG implementation of distributed cuboid model.
Definition: DtOsgArticulatingCylinderModel.h:32
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
Distributed model for drawing cylinders with attached endpoints.
Definition: DtArticulatingCylinderModel.h:17
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgArticulatingCylinderModel.h:80

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)