VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
coverPointNavInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include "matrix/vlVector.h"
14 
15 class DtNavArea;
16 class DtString;
17 struct DtInputNavTag;
18 
24 {
25 private:
32 
33 public:
34  static DtVrfObjectNavInterface* create(DtLocalObject* vrfObject);
35 
36 protected:
40  virtual bool init();
41 
42 public:
43 
44  virtual ~DtCoverPointNavInterface();
45 
48  virtual void postObjectInit();
49 
50  virtual void tick();
51 
52  virtual DtNavArea* navArea();
53 
54 protected:
55 
57  virtual void changingNavArea(DtNavArea* newNavArea);
58 
59  virtual void processVerticesChanged();
60 
64  bool createCoverPoint();
65 
67  bool coverPointCreationComplete();
68 
70  void removeCoverPoint();
71 
74  bool adjustToNearestVertexLinkPoint(const DtString&, const double, const double, const DtVector&, DtVector&) const;
75 
76 protected:
83 
84  boost::signals2::scoped_connection mySetLocationConnection;
85 };
unsigned myCoverPointIndex
Definition: coverPointNavInterface.h:82
A nav interface is a software component of an object that maintains the object's presence in the navi...
Definition: vrfObjectNavInterface.h:39
boost::signals2::scoped_connection mySetLocationConnection
Definition: coverPointNavInterface.h:84
Definition: navGeneration.h:56
This is the DtVrfObjectNavInterface subclass for objects which insert themselves as nav edges into th...
Definition: coverPointNavInterface.h:23
bool myCreationInProgress
Definition: coverPointNavInterface.h:81
DtNavArea * myNavArea
Definition: coverPointNavInterface.h:77
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This class contains all the data and logic for navigation within a specific area. Nav Data may be loa...
Definition: navArea.h:206
virtual bool init()
Virtual init, called from the create() method.
DtNavArea * myNewNavArea
Definition: coverPointNavInterface.h:78
bool myChangingNavArea
Definition: coverPointNavInterface.h:80
virtual void postObjectInit()
Perform additional initialization after the object has been initialized. Default behavior is to do no...
Definition: vrfObjectNavInterface.h:67
DtVrfObjectNavInterface & operator=(const DtVrfObjectNavInterface &orig)
Not Implemented.
virtual void changingNavArea(DtNavArea *newNavArea)
Called when about to change to a new navArea.
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
bool myUpdatePointsRequired
Definition: coverPointNavInterface.h:79

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)