![]() |
Polygon Crucher SDK - Documentation
Documentation
|
CFaceTagger is the base class that allows to gather face together using C3DFaceList::TagFaces. More...
CFaceTagger is the base class that allows to gather face together using C3DFaceList::TagFaces.
Derive this class to have your own control on the way face are gathered together.
#include <FaceList.h>
Public Member Functions | |
virtual bool | InitProcess (CGeomInfo *info) |
Default implementation return true. | |
virtual void | EndProcess (unsigned int createdGroup) |
Default implementation does nothing. | |
virtual void | BeginNewGroup (unsigned int groupnbr, unsigned int firstface) |
BeginNewGroup is called when a new group is to be created. | |
virtual void | ProcessGroup (const int *faces, unsigned int size)=0 |
ProcessGroup validates a group of face that belong to the same group. | |
BelongToGroup check if some faces belong to the #face group | |
You decide if a face belong to a group or not using your own criteria and goal
| |
virtual bool | BelongToGroup (unsigned int face, C3DEdge &edge, int *faces, unsigned int size) |
Called when exploreByEdge= true in C3DFaceList::TagFaces. faces is an array of size face indexes connected by an edge to face. Return true by default. | |
virtual bool | BelongToGroup (unsigned int face, unsigned int point, int *faces, unsigned int size) |
Called when exploreByEdge= false. faces is an array of size face indexes connected to faces points. C3DFaceList::TagFaces. Return true by default. | |
BeginNewGroup is called when a new group is to be created.
Groupnbr is the number of the group, firstface is the first face of the group default implementation does nothing
ProcessGroup validates a group of face that belong to the same group.
This group contains size elements