VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVertexUpdater.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 
12 #include <vrvCore/vrvCore.h>
14 #include <vrvCore/DtTickable.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <vrvUtil/signalslib.h>
18 
19 namespace makVrv
20 {
21  class DtDe;
22 
37  {
38  public:
39 
43  DtVertexUpdater( DtDe& de, DtUniqueID id );
44 
46  virtual ~DtVertexUpdater();
47 
53  virtual void update( DtTime tNow );
54 
58  virtual void addPoint( int index, DtSceneObject* );
59 
62  virtual void removePoint( int index );
63 
64  protected:
67  virtual void slot_pointObjectToBeDeleted( const DtUniqueID& id );
68 
69  protected:
70  std::vector<DtSceneObject*> myPoints;
71  std::vector<boost::signalslib::connection> mySceneObjectConnections;
72  };
73 }
Scene Object Updater.
Definition: DtSceneObjectUpdater.h:36
Contains the declaration for makVrv::DtSceneObjectUpdater.
Vertex Updater.
Definition: DtVertexUpdater.h:36
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::vector< boost::signalslib::connection > mySceneObjectConnections
Definition: DtVertexUpdater.h:71
std::vector< DtSceneObject * > myPoints
Definition: DtVertexUpdater.h:70
Contains the declaration for makVrv::DtTickable.
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:42
Contains makVrv::DtUniqueID type.
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
Contains DLL export macros.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)