MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLWEM/WEMTools/WEMGeometry/WEMSetOp.h File Reference

Tool class for performing set operations on WEM patches. More...

Go to the source code of this file.

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.


namespace  ml::WEMSetOp
 

Tool namespace for performing set operations on WEM patches.


Functions

MLWEM_EXPORT void ml::WEMSetOp::unify (WEMTrianglePatch *inPatch1, WEMTrianglePatch *inPatch2, WEMTrianglePatch *outPatch, unsigned int outputMode, TriangulationModes triangulationMode, WEMVector< WEMCut > *cuts=NULL)
 Returns the union of the given patches.
MLWEM_EXPORT void ml::WEMSetOp::intersect (WEMTrianglePatch *inPatch1, WEMTrianglePatch *inPatch2, WEMTrianglePatch *outPatch, unsigned int outputMode, TriangulationModes triangulationMode, WEMVector< WEMCut > *cuts=NULL)
 Returns the intersection of the given patches.
MLWEM_EXPORT void ml::WEMSetOp::difference (WEMTrianglePatch *inPatch1, WEMTrianglePatch *inPatch2, WEMTrianglePatch *outPatch, unsigned int outputMode, TriangulationModes triangulationMode, WEMVector< WEMCut > *cuts=NULL)
 Returns the difference of the given patches.
void ml::WEMSetOp::_boolOp (WEMTrianglePatch *inPatch1, WEMTrianglePatch *inPatch2, WEMTrianglePatch *outPatch, unsigned int boolOpMode, unsigned int outputMode, TriangulationModes triangulationMode, WEMVector< WEMCut > *cuts)
 Performs a boolean operation (union, intersection, difference) on given patches.
bool ml::WEMSetOp::_intersectBoundingBoxes (WEMTrianglePatch *triPatch1, WEMTrianglePatch *triPatch2, unsigned int outerFlag, unsigned int intersectingFlag)
 Intersects bounding boxes of given patches.
void ml::WEMSetOp::_updateClassification (WEMTrianglePatch *triPatch, WEMVector< WEMFaceCut > **faceCutTable, unsigned int outerFlag, unsigned int intersectingFlag, WEMTrianglePatch *rayPatch, WEMVector< WEMFace > *outerFaces=NULL, WEMVector< WEMFace > *innerFaces=NULL)
 Updates classification of nodes and faces based on face cuts.

Variables

const unsigned int ml::WEMSETOP_OUTPUT_FIRST = 0
 Output mode: first patch only.
const unsigned int ml::WEMSETOP_OUTPUT_SECOND = 1
 Output mode: second patch only.
const unsigned int ml::WEMSETOP_OUTPUT_BOTH = 2
 Output mode: both patches.
const unsigned int ml::WEMSETOP_BOOLEAN_UNION = 0
 Set operation: union.
const unsigned int ml::WEMSETOP_BOOLEAN_INTERSECTION = 1
 Set operation: intersection.
const unsigned int ml::WEMSETOP_BOOLEAN_DIFFERENCE = 2
 Set operation: difference.

Detailed Description

Tool class for performing set operations on WEM patches.

Author:
Bart De Dobbelaer
Date:
10/2008

Definition in file WEMSetOp.h.