VR-Forces 4.8 Class Documentation
 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 DtVrfObject;
16 class DtNavArea;
17 class DtString;
18 struct DtInputNavTag;
19 
20 
21 
27 {
28 private:
35 
36 public:
37  static DtVrfObjectNavInterface* create(DtSharedVrfObjectReference vrfObject);
38 
39 protected:
43  virtual bool init();
44 
45 public:
46 
47  virtual ~DtCoverPointNavInterface();
48 
51  virtual void postObjectInit();
52 
53  virtual void tick();
54 
55  virtual DtNavArea* navArea();
56 
57 protected:
58 
60  virtual void changingNavArea(DtNavArea* newNavArea);
61 
63  static void verticesChangedCallback(const DtVrfObject* obj, void* usr);
64  virtual void processVerticesChanged(const DtVrfObject* obj);
65 
69  bool createCoverPoint();
70 
72  bool coverPointCreationComplete();
73 
75  void removeCoverPoint();
76 
79  bool adjustToNearestVertexLinkPoint(const DtString&, const double, const double, const DtVector&, DtVector&) const;
80 
81 protected:
88 
89 };
unsigned myCoverPointIndex
Definition: coverPointNavInterface.h:87
Definition: vrfObjectNavInterface.h:18
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: navGeneration.h:54
This is the DtVrfObjectNavInterface subclass for objects which insert themselves as nav edges into th...
Definition: coverPointNavInterface.h:26
bool myCreationInProgress
Definition: coverPointNavInterface.h:86
DtSharedVrfObjectReference class will allocate an empty DtVrfObjectReference if one is not assigned s...
Definition: vrfObjectReference.h:102
DtNavArea * myNavArea
Definition: coverPointNavInterface.h:82
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Contains all the data and logic for navigation within a specific area.
Definition: navArea.h:179
virtual bool init()
Virtual init, called from the create() method.
DtNavArea * myNewNavArea
Definition: coverPointNavInterface.h:83
bool myChangingNavArea
Definition: coverPointNavInterface.h:85
virtual void postObjectInit()
Perform additional initialization after the object has been initialized.
Definition: vrfObjectNavInterface.h:44
DtVrfObjectNavInterface & operator=(const DtVrfObjectNavInterface &orig)
Not Implemented.
virtual void changingNavArea(DtNavArea *newNavArea)
Called when about to change to a new navArea.
bool myUpdatePointsRequired
Definition: coverPointNavInterface.h:84

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)