VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
featureNavigator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <features/areaFeature.h>
14 
16 
17 namespace MAKVRinTerra
18 {
21  {
22  public:
26 
29 
31  typedef boost::function<bool ()> CancelCheckFunction;
32 
34  DtFeatureNavigator(const DtAreaFeatureSet& obstacles);
35 
39  const DtAreaFeatureSet& obstacles,
40  const DtProj& proj);
41 
43  virtual void addObstacle(const DtAreaFeature& obstacle);
44  virtual void addObstacle(const DtAreaFeature& obstacle, const DtAlgorithmManager* mgr);
45 
46  virtual bool processObstacles(DtFeatureGeometry obstacleArea);
47  virtual bool processObstacles(DtFeatureGeometry obstacleArea, const DtAlgorithmManager& mgr);
48 
49  virtual DtFeatureGeometry::Path makePath(Path inputPath);
50  virtual DtFeatureGeometry::Path makePath(Path inputPath, const DtAlgorithmManager& mgr);
51 
52  virtual void setFailIfStartInObstacle(bool v);
53 
54  protected:
55  boost::scoped_ptr<DtAreaFeatureSet> myObstacles;
62  };
63 }
Represents a set of DtFeature objects or others which conform to the DtFeature concept.
Definition: featureSet.h:101
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
Feature which has been processed to be an area. They have an additional interface which models areas ...
Definition: areaFeature.h:21
std::vector< DtPoint > PointVector
Definition: featureGeometry.h:75
DtGeometryDuplicateRemover DuplicateRemover
Definition: featureNavigator.h:30
bool myFailIfStartsInObstacle
Definition: featureNavigator.h:61
DtFeatureGeometry::Path Path
Definition: featureNavigator.h:24
boost::function< bool()> CancelCheckFunction
Definition: featureNavigator.h:31
DtFeatureGeometry::Point Point
Definition: featureNavigator.h:23
Definition: featureGeometry.h:60
DtFeatureGeometry::GeometryVector GeometryVector
Definition: featureNavigator.h:28
boost::scoped_ptr< DtAreaFeatureSet > myObstacles
Definition: featureNavigator.h:55
Handle< PointType > Point
Definition: featureGeometry.h:69
Represents some coordinate system. The terms &quot;coordinate system&quot;, &quot;projection&quot;, &quot;spatial reference&quot;...
Definition: proj.h:44
boost::shared_ptr< const DtProj > CPtr
Definition: proj.h:48
Handle< PathType > Path
Definition: featureGeometry.h:70
DuplicateRemover myDuplicateRemover
Definition: featureNavigator.h:56
DtProj::CPtr myProjection
Definition: featureNavigator.h:57
DtFeatureGeometry::PointVector PointVector
Definition: featureNavigator.h:27
std::vector< DtFeatureGeometry > GeometryVector
Definition: featureGeometry.h:74
GeometryVector myAreas
Definition: featureNavigator.h:59
Represents the obstacles collected for a search and does the actual search.
Definition: featureNavigator.h:20
DtFeatureGeometry::Area Area
Definition: featureNavigator.h:25
DtFeatureGeometry myPagedInArea
Definition: featureNavigator.h:58
General interface which can be passed into an algorithm to control its behavior.
Definition: algorithmManager.h:24
Definition: geometryDuplicateRemover.h:24
Represents a feature geometry.
Definition: featureGeometry.h:39
DtFeatureGeometry myGeometry
Definition: featureNavigator.h:60

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)