VR-Forces 5.0.1 Developer's Guide
 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 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <matrix/vlVector.h>
16 
17 namespace osg
18 {
19  class Group;
20 }
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtOsgSceneConnector;
26 
31  {
32  public:
34 
36 
37  //@name Distributed Interface
39 
41  virtual void setDimensions(double x, double y, double z);
42 
44  virtual void setColor(float r,float g,float b,float a);
45 
47  virtual void setVisible(bool visible);
48 
50  virtual void setPosition( int vtx, const DtVector& position );
51 
53  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
54 
56  virtual void setLightingEnabled( bool enabled );
57 
61  virtual void setIsSupportModel(bool isSupport);
62 
64 
65  //@name Local Interface
67 
69  virtual void addToScene(const DtUniqueID& sceneObjectID, int modelSet,
70  int visualizerType);
71 
73  virtual void removeFromScene();
75 
76  protected:
78 
79  };
80 }
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:29
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:70
Distributed model for drawing cylinders with attached endpoints.
Definition: DtArticulatingCylinderModel.h:17
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgArticulatingCylinderModel.h:77

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)