|
ORTS
|
A bucket provides noth,south,east, and west faces for the object it contains. More...
Namespaces | |
| namespace | SimpleTerrain |
Classes | |
| struct | LegMotionData |
| struct | null_deleter |
| struct | ArbitraryResolutionSimpleMap |
| Adapt SimpleMap to use a given Resolution Factor. More... | |
| class | SimpleGlobalPF |
| class | SimpleTerrainOverlay |
| class | SimpleTerrainWidget |
| struct | FindFailed |
| struct | ObjectTranslocator |
| make a CIRCLE Object appear to be at an arbitrary location More... | |
| struct | UnitPath |
| struct | ST_Task |
| The internal data complementing Task data: More... | |
| struct | UnitSquare |
| The definition of a square using two corners. More... | |
| struct | Sector |
| A sector is a large area, containing objects (actually tasks) whose paths in the near future will pass through the area, and hence may collide. More... | |
| class | ST_Terrain |
| A Simple implementation of the TerrainBase interface. More... | |
| class | Bucket |
| class | BucketFactory |
| struct | UnitPath_FF |
| Structure to keep data associated to a path fixme: right now this inherits from UnitPath, from SimpleTerrain, but that doesn't make much sense. More... | |
| class | Loc_less |
| Functor that allows Locations to be put into sets. More... | |
| class | Vec_2D |
| Two Dimensional Vector. More... | |
| struct | FF_Task |
| The internal data complementing Task data: More... | |
| class | ST_ForceField |
| An implementation of the TerrainBase interface using forcefields for local pathfinding. More... | |
| struct | SizeCell |
| struct | AStarCell |
| struct | HeapElement |
| struct | HeapElementCmp |
| struct | SimpleMap |
Typedefs | |
| typedef TerrainBase::Loc | Loc |
| typedef TerrainBase::Segment | Segment |
| typedef TerrainBase::Task | Task |
| typedef TerrainBase::Path | Path |
| typedef TerrainBase::Goal | Goal |
| typedef TerrainBase::MoveCmd | MoveCmd |
| typedef TerrainBase::StatusMsg | StatusMsg |
| typedef TerrainBase::TaskId | TaskId |
| typedef TerrainBase::ConsiderObjects | ConsiderObjects |
Functions | |
| static Loc | get_center_loc (const Object *obj) |
| static ScalarPoint | get_center_sp (const Object *obj) |
| static real8 | path_length (Path &path) |
| static real8 | path_length_from (Path &path, const Loc &start_loc) |
| static bool | is_younger (const TerrainBasicImp< ST_Task >::TIter &a, const TerrainBasicImp< ST_Task >::TIter &b) |
| static bool | is_shorter (const TerrainBasicImp< ST_Task >::TIter &a, const TerrainBasicImp< ST_Task >::TIter &b) |
| template<class T > | |
| static void | make_unique (Vector< T > &v) |
| static void | unique_x (Vector< Loc > &v) |
| static void | unique_y (Vector< Loc > &v) |
| static void | __assert_object_set_valid (const std::set< const Object * > &objs) |
| bool | is_obj_static (const Object *obj) |
A bucket provides noth,south,east, and west faces for the object it contains.
This is used to optimize search though the grid. So if a move to the north is being considered, having a clear path for the north face implise that one exists for the entire cirlce to move north. That way only the appropriate face needs to be checked.
Definition at line 32 of file SimpleTerrain.H.
| typedef TerrainBase::Goal SimpleTerrain::Goal |
Definition at line 28 of file SimpleTerrain.H.
| typedef TerrainBase::Loc SimpleTerrain::Loc |
Definition at line 24 of file SimpleTerrain.H.
Definition at line 29 of file SimpleTerrain.H.
| typedef TerrainBase::Path SimpleTerrain::Path |
Definition at line 27 of file SimpleTerrain.H.
Definition at line 25 of file SimpleTerrain.H.
Definition at line 30 of file SimpleTerrain.H.
| typedef TerrainBase::Task SimpleTerrain::Task |
Definition at line 26 of file SimpleTerrain.H.
Definition at line 31 of file SimpleTerrain.H.
| static void SimpleTerrain::__assert_object_set_valid | ( | const std::set< const Object * > & | objs | ) | [static] |
Definition at line 34 of file ST_ForceField.C.
References assert(), and FORALL.
Referenced by SimpleTerrain::ST_ForceField::execute_tasks(), SimpleTerrain::ST_ForceField::plan_failed_task(), SimpleTerrain::ST_ForceField::plan_pending_task(), SimpleTerrain::ST_ForceField::plan_task(), and SimpleTerrain::ST_ForceField::remove_task().
Definition at line 25 of file SimpleGlobalPF.C.
References Object::get_center(), TerrainBase::Loc::x, and TerrainBase::Loc::y.
Referenced by SimpleTerrain::ST_Terrain::PFEngine::find_path(), SimpleTerrain::SimpleGlobalPF::find_path(), SimpleTerrain::ST_Task::ST_Task(), SimpleTerrain::ST_Terrain::PFEngine::sub_path(), and SimpleTerrain::SimpleGlobalPF::sub_path().
| static ScalarPoint SimpleTerrain::get_center_sp | ( | const Object * | obj | ) | [static] |
Definition at line 42 of file SimpleTerrain.C.
References Object::get_center(), ScalarPoint::x, and ScalarPoint::y.
Referenced by SimpleTerrain::ST_Terrain::get_fine_spatial_params().
| bool SimpleTerrain::is_obj_static | ( | const Object * | obj | ) |
Definition at line 148 of file ST_ForceField.C.
References Object::get_max_speed().
Referenced by SimpleTerrain::ST_ForceField::add_obj(), SimpleTerrain::ST_ForceField::remove_obj(), and SimpleTerrain::ST_ForceField::update_obj().
| static bool SimpleTerrain::is_shorter | ( | const TerrainBasicImp< ST_Task >::TIter & | a, |
| const TerrainBasicImp< ST_Task >::TIter & | b | ||
| ) | [static] |
Definition at line 963 of file SimpleTerrain.C.
Referenced by SimpleTerrain::ST_Terrain::get_best_task().
| static bool SimpleTerrain::is_younger | ( | const TerrainBasicImp< ST_Task >::TIter & | a, |
| const TerrainBasicImp< ST_Task >::TIter & | b | ||
| ) | [static] |
Definition at line 959 of file SimpleTerrain.C.
Referenced by SimpleTerrain::ST_Terrain::get_best_task().
| static void SimpleTerrain::make_unique | ( | Vector< T > & | v | ) | [static] |
Definition at line 283 of file ST_Bucket.C.
References FORU.
Referenced by SimpleTerrain::BucketFactory::get_bucket().
Definition at line 49 of file SimpleTerrain.C.
References TerrainBase::Path::locs.
Definition at line 60 of file SimpleTerrain.C.
References TerrainBase::Loc::distance(), TerrainBase::Path::locs, and path_length().
Definition at line 291 of file ST_Bucket.C.
References FORALL_DYN.
Referenced by SimpleTerrain::BucketFactory::get_bucket().
Definition at line 305 of file ST_Bucket.C.
References FORALL_DYN.
Referenced by SimpleTerrain::BucketFactory::get_bucket().