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() override;
41 
42 public:
43 
44  virtual ~DtCoverPointNavInterface() override;
45 
48  virtual void postObjectInit() override;
49 
50  virtual void tick() override;
51 
52  virtual DtNavArea* navArea();
53 
54 protected:
55 
57  virtual void changingNavArea(DtNavArea* newNavArea) override;
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:55
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:205
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.
Definition: localObject.h:98
bool myUpdatePointsRequired
Definition: coverPointNavInterface.h:79

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)