VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgPinnableProjectedWidgetModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
14 #include <vector>
15 
16 namespace makVrv
17 {
18  class DtOsgWidgetUpdater;
19 
20 
24  {
25  public:
26 
29 
32 
34  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
35  int visualizerType );
36 
38  virtual void removeFromScene();
39 
42  virtual void addWidget(DtWidget* aWidget);
43 
45  virtual void removeWidget(DtWidget* aWidget);
46 
48  virtual void setModelDefinition(const std::string& str);
49 
51  virtual void setPosition( int vtx, const DtVector& position );
52 
53  DtOsgWidgetUpdater& widgetUpdater();
54 
55  virtual std::vector<DtWidget*>& widgets();
56 
57  virtual void setVisible(bool visible);
58 
61  virtual void setIsSupportModel(bool isSupport);
62 
65  virtual void setPinned(bool pinned);
66  virtual bool isPinned() const;
68 
69  protected:
70 
72 
73  bool myPinned;
74 
75  };
76 }
Contains makVrv::DtOsgPinnableProjectedWidgetModel class declaration.
bool myPinned
Definition: DtOsgPinnableProjectedWidgetModel.h:73
The osg implementation of the widget layout.
Definition: DtOsgPinnableProjectedWidgetModel.h:23
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
A Model which can be added to objects for displaying overlay widgets.
Definition: DtPinnableProjectedWidgetModel.h:21
The osg widget updater updates the position of the widgets based upon the 3D location of the model...
Definition: DtOsgWidgetUpdater.h:31
DtUniqueID myParentId
Definition: DtOsgPinnableProjectedWidgetModel.h:71
The abstract base class for widgets.
Definition: DtWidget.h:23
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

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)