#include <MDomainOfAction.hpp>
Collaboration diagram for MDomainOfAction:

Purpose: Domain Of Action determines where a front method may operate
and maintains cell computations(like distances,...)
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
| MDomainOfAction (AnImage *im, int maskFlag=1) | |
| cell states in 2D space | |
| MDomainOfAction (int w, int h, double v0, int x0, int y0, double v1, int x1, int y1) | |
| MDomainOfAction (int w, int h, int n0, double v0, int *xMask0, int *yMask0, int n1, double v1, int *xMask1, int *yMask1) | |
| MDomainOfAction (int w, int h, int n, int *frontNumber, double *v, int *xMask, int *yMask) | |
| virtual | ~MDomainOfAction () |
| int | getAllUsedPoints () |
| int | getWidth () |
| int | getHeight () |
| StatePsi | getLabel (int x, int y) |
| return cell state | |
| void | setLabel (int x, int y, StatePsi alabel) |
| set cell state | |
| MPsi2DValue * | getPsi (int x, int y) |
| void | setPsi (int x, int y, MPsi2DValue *apsi) |
| double | getValue (int x, int y) |
| return cell value | |
| void | setValue (int x, int y, double d) |
| set cell value | |
| int | getFront (int x, int y) |
| return front number | |
| void | setFront (int x, int y, int front) |
| set front number | |
| virtual void | report (FILE *file) |
Private Attributes | |
| int | maskFlag |
| int | nTotalActive |
| int | width |
| int | height |
| MPsi2DValue ** | psi |
| StatePsi * | plabel |
| cells in 2D space | |
| StatePsi ** | label |
![]() |
