VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
transitionPointFinder.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include "matrix/vlVector.h"
10 
12 
18 {
19 public:
20 
21  DtTransitionPointFinder(const DtVector& localDestination, const DtVector& start);
22 
23  static DtOnGraphVertexVisitedResult transitionPointCallback(
24  const DtVector& localPoint, void* userData);
25  virtual DtOnGraphVertexVisitedResult processTransitionPoint(const DtVector& localPoint);
26 
27  static DtOnPathToGraphVertexComputedResult transitionPathCallback(
28  const DtVector& localPoint, double pathCost, void* userData);
29 
30  virtual DtOnPathToGraphVertexComputedResult processTransitionPath(const DtVector& localPoint, double pathCost);
31 
32  DtVector myDestination;
33  DtVector myStartPosition;
34 
35  double myBestCost;
39 
40  DtVector myClosestPoint;
42 };
DtVector myStartPosition
Definition: transitionPointFinder.h:33
DtVector myBestTransitionPoint
Definition: transitionPointFinder.h:36
DtVector myDestination
Definition: transitionPointFinder.h:32
double myBestPathCost
Definition: transitionPointFinder.h:38
double myBestDistance
Definition: transitionPointFinder.h:37
Used to find the best transition point to use when leaving NavData. If myBestTransitionPoint is not D...
Definition: transitionPointFinder.h:17
#define DT_DLL_vrfNavigation
This file is used to determine how to build.
Definition: vrfNavigationDefines.h:26
DtVector myClosestPoint
Definition: transitionPointFinder.h:40
double myClosestDistance
Definition: transitionPointFinder.h:41
double myBestCost
Definition: transitionPointFinder.h:35

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)