INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydroogmap::MapRayTracer< MapType, MapCellTracer > Class Template Reference

Adapts the RayTracer gear for dealing with 'GenericMap's. The template parameter CellTracer gets called once per cell that we trace through. Note that we guarantee that CellTracer doesn't get called for a cell outside the map. For an example CellTracer, see OgLosTracer. More...

#include <mapraytracer.h>

List of all members.

Public Member Functions

bool traceCells (const GridIndices &start, const GridIndices &destination)
bool traceCoords (const WorldCoords &start, const WorldCoords &destination)
 Similar to traceCells, but specify endpoints in world coords.

Detailed Description

template<typename MapType, class MapCellTracer>
class hydroogmap::MapRayTracer< MapType, MapCellTracer >

Adapts the RayTracer gear for dealing with 'GenericMap's. The template parameter CellTracer gets called once per cell that we trace through. Note that we guarantee that CellTracer doesn't get called for a cell outside the map. For an example CellTracer, see OgLosTracer.

Alex Brooks


Member Function Documentation

template<typename MapType, class MapCellTracer>
bool hydroogmap::MapRayTracer< MapType, MapCellTracer >::traceCells ( const GridIndices start,
const GridIndices destination 
) [inline]

Trace from start(x0,y0) to destination(x1,y1). Returns: true: we traced to the end false: we stopped tracing early

Referenced by hydroogmap::OgLosTracer::isClearCells().


The documentation for this class was generated from the following file:
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5