#include <cell.h>
|
| Cell () |
| Default constructor: sets value_ to -1 and occupancy_ to true (clear cell, not occupied).
|
|
| Cell (double v, double o=1) |
|
virtual void | setValue (double v) |
|
virtual void | setOccupancy (double o) |
|
virtual std::string | type () |
|
virtual void | setIndex (int i) |
|
virtual void | setDefault () |
| Sets default values for the cell. Concretely, restarts value_ = -1 but occupancy_ is not modified.
|
|
virtual double | getValue () const |
|
virtual double | getOccupancy () const |
|
virtual unsigned int | getIndex () const |
|
virtual bool | isOccupied () const |
|
|
double | value_ |
| Value of the cell.
|
|
double | occupancy_ |
| Binary occupancy, true means clear, false occupied.
|
|
unsigned int | index_ |
|
|
std::ostream & | operator<< (std::ostream &os, Cell &c) |
|
- Todo:
- No checks are done (out of bounds, etc) to improve efficienty. Overload functions to add optional input checking.
Definition at line 34 of file cell.h.
unsigned int Cell::index_ |
|
protected |
within the grid. Useful when used in heaps.
Definition at line 71 of file cell.h.
The documentation for this class was generated from the following file:
- /home/jvgomez/Desktop/fastmarching/include/fast_methods/ndgridmap/cell.h