Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

MDomainOfAction Class Reference

#include <MDomainOfAction.hpp>

Collaboration diagram for MDomainOfAction:

Collaboration graph
[legend]
List of all members.

Detailed Description

Domain Of Action.

Author:
Bernard De Cuyper
Version:
0.05
Date:
15/06/2002
 
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

MPsi2DValuegetPsi (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


The documentation for this class was generated from the following files:
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com