41 #ifndef ___C_IMAGE_SEARCH_DATA_H__
42 #define ___C_IMAGE_SEARCH_DATA_H__
60 namespace nConvertToFib{
64 namespace nStructureData{
119 cImageSearchData(
const unsigned long ulInWidth,
const unsigned long ulInHeight );
140 unsigned long getWidth()
const;
146 unsigned long getHeight()
const;
171 bool isFound(
const unsigned long lX,
const unsigned long lY )
const;
189 bool isOverlapped(
const unsigned long lX,
const unsigned long lY )
const;
198 set<cVectorPosition> getFoundPoints()
const;
206 set<cVectorPosition> getNotFoundPoints()
const;
214 set<cVectorPosition> getOverlappedPoints()
const;
222 set<cVectorPosition> getNotOverlappedPoints()
const;
232 set<cVectorPosition> getNeighbours(
const cVectorPosition& position )
const;
242 set<cVectorPosition> getFoundNeighbours(
const cVectorPosition& position )
const;
252 set<cVectorPosition> getNotFoundNeighbours(
const cVectorPosition& position )
const;
262 set<cVectorPosition> getOverlappedNeighbours(
const cVectorPosition& position )
const;
272 set<cVectorPosition> getNotOverlappedNeighbours(
const cVectorPosition& position )
const;
287 const bool bFound=
true );
302 bool registerFound(
const set<cVectorPosition> & setFoundPoints,
303 const bool bFound=
true );
321 const bool bFound=
true );
336 const bool bOverlapped=
true );
351 bool registerOverlapped(
const set<cVectorPosition> & setOverlappedPoints,
352 const bool bOverlapped=
true );
369 bool registerOverlapped(
const cImageStructure * pImageStrOverlappedPoints,
370 const bool bOverlapped=
true );
378 void foundToOverlapped();
391 #endif //___C_IMAGE_SEARCH_DATA_H__