VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgCylinderModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgCylinderModel.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvOsg/vrvOsg.h>
17 
18 #include <osg/MatrixTransform>
19 
20 namespace osg
21 {
22  class Group;
23 }
24 
25 namespace makVrv
26 {
27  class DtDe;
28  class DtOsgSceneConnector;
29 
33  {
34  public:
36 
37  virtual ~DtOsgCylinderModel();
38 
39  //@name Distributed Interface
41 
43  virtual void setUseTwoPositions(bool twoPoints);
44 
46  virtual void setDimensions(float length, float width, float height);
47 
49  virtual void setColor(float r,float g,float b,float a);
50 
52  virtual void setPosition( int vtx, const DtVector& position );
53 
55  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
56 
58  virtual void setLightingEnabled( bool enabled );
59 
61  virtual void setVisible(bool isVisible);
62 
66  virtual void setIsSupportModel(bool isSupport);
67 
69 
70  //@name Local Interface
72 
74  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
75  int visualizerType );
76 
78  virtual void removeFromScene();
80 
81  protected:
84  };
85 }
86 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)