VR-Forces 4.7 Class Documentation
 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) 2017 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 <boost/signals.hpp>
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 }

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)