BINARYTOXREGION Class Reference

#include <mi32/bintoreg.h>

Inheritance diagram for BINARYTOXREGION:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BINARYTOXREGION ()
Region GetRegion ()
 ~BINARYTOXREGION ()

Private Member Functions

void v_Clear ()
virtual ERRVALUE v_ProcessLine (LPOINT2D *points, int numpts)

Private Attributes

Region m_region

Constructor & Destructor Documentation

BINARYTOXREGION::BINARYTOXREGION  )  [inline]
 

Definition at line 206 of file bintoreg.h.

BINARYTOXREGION::~BINARYTOXREGION  )  [inline]
 

Definition at line 210 of file bintoreg.h.


Member Function Documentation

Region BINARYTOXREGION::GetRegion  )  [inline]
 

Definition at line 212 of file bintoreg.h.

void BINARYTOXREGION::v_Clear  )  [private, virtual]
 

Clear the current region.

Will be called by the Clear() method, which also gets called by the destructor.

Reimplemented from BINARYTOREGIONINTERFACE.

virtual ERRVALUE BINARYTOXREGION::v_ProcessLine LPOINT2D points,
int  numpts
[private, virtual]
 

Add or remove a line from the region.

The default implementation of this method converts the points to a POLYLINE and calls v_CheckPoint followed by v_Union of v_Subtract. Override this ONLY if you can deal with integer (raster) coordinates more effeciently than POLYLINES. (For example, to create an X Region). Note that the points array passed in is not const for a reason. The method is allowed to modify the points in the buffer before adding them to the region. Just don't free the buffer.

Reimplemented from BINARYTOREGIONINTERFACE.


Member Data Documentation

Region BINARYTOXREGION::m_region [private]
 

Definition at line 224 of file bintoreg.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:38 2004 for TNTsdk by  doxygen 1.3.8-20040913