#include <SEFactory.hpp>
Purpose: StructuredElement Factory
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
| SEFactory () | |
| virtual | ~SEFactory () |
| StructuredElement * | createModel (int indexModel, int x0=0, int y0=0, int l1=1, int l2=1) |
| virtual void | report (FILE *file) |
Static Public Methods | |
| int | numberOfContexts () |
| int | numberOfModels () |
| const char * | getContext (int i) |
| const char * | getModel (int i) |
| const int | getModelContext (int i) |
Static Public Attributes | |
| const char | context [NUMBER_SE_CONTEXT][64] |
| const char | model [NUMBER_SE_MODELS][64] |
| const int | modelContext [NUMBER_SE_MODELS] |
Protected Methods | |
| StructuredElement * | createCircle (int x0) |
| StructuredElement * | createRectangle (int l1, int l2) |
| StructuredElement * | createHLine (int x0, int y0, int l1, int l2) |
| StructuredElement * | createVLine (int x0, int y0, int l1, int l2) |
| StructuredElement * | createDubLine (int x0, int y0, int l1, int l2) |
| StructuredElement * | createDbuLine (int x0, int y0, int l1, int l2) |
|
|
Initial value:
{
"Basic",
"lines"
} |
|
|
Initial value:
{
"CircleSE",
"RectangleSE",
"HLineSE",
"VLineSE",
"DubLineSE",
"DbuLineSE"
} |
|
|
Initial value:
{
0,
0,
1,
1,
1,
1
} |
![]() |
