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

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 | |
| DomainOfAction (AnImage *im, int amaskFlag=1) | |
| cell states in 2D space | |
| DomainOfAction (int w, int h, int x0, int y0) | |
| DomainOfAction (int w, int h, int x0, int y0, int x1, int y1) | |
| DomainOfAction (int w, int h, int n, int *xMask, int *yMask) | |
| virtual | ~DomainOfAction () |
| 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 | |
| Psi2DValue * | getPsi (int x, int y) |
| void | setPsi (int x, int y, Psi2DValue *apsi) |
| double | getValue (int x, int y) |
| return cell value | |
| void | setValue (int x, int y, double d) |
| set cell value | |
| virtual void | report (FILE *file) |
Private Attributes | |
| int | maskFlag |
| int | nTotalActive |
| int | width |
| int | height |
| Psi2DValue ** | psi |
| StatePsi * | plabel |
| cells in 2D space | |
| StatePsi ** | label |
![]() |
