VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgProjectedWidgetModel.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>
13 #include <vector>
14 
15 namespace makVrv
16 {
17  class DtOsgWidgetUpdater;
18 
19 
23  {
24  public:
25 
28 
30  virtual ~DtOsgProjectedWidgetModel();
31 
33  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
34  int visualizerType );
35 
37  virtual void removeFromScene();
38 
41  virtual void addWidget(DtWidget* aWidget);
42 
44  virtual void removeWidget(DtWidget* aWidget);
45 
47  virtual void setModelDefinition(const std::string& str);
48 
50  virtual void setPosition( int vtx, const DtVector& position );
51 
52  DtOsgWidgetUpdater& widgetUpdater();
53  const DtOsgWidgetUpdater& widgetUpdater() const;
54 
55  virtual std::vector<DtWidget*>& widgets();
56 
57  virtual void setVisible(bool visible);
58 
61  virtual void setIsSupportModel(bool isSupport);
62 
63  protected:
64 
66 
67  };
68 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtUniqueID myParentId
Definition: DtOsgProjectedWidgetModel.h:65
The osg widget updater updates the position of the widgets based upon the 3D location of the model...
Definition: DtOsgWidgetUpdater.h:37
A Model which can be added to objects for displaying overlay widgets.
Definition: DtProjectedWidgetModel.h:21
The abstract base class for widgets.
Definition: DtWidget.h:26
The osg implementation of the widget layout.
Definition: DtOsgProjectedWidgetModel.h:22
Contains makVrv::DtWidgetLayout class.
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

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)