56 void set(std::vector<Vector3>& pathPoints,
const Vector3& normal,
bool overwritePathPoints=
false);
73 typedef std::vector<BinnedLine> LinesVector;
78 void _transformAndProject(
Vector3& voxelPos)
const;
81 void _fillLineBins(
const std::vector<Vector3>& projectedPathPoints);
85 bool _testLinesInBin(
const Vector3& point)
const;
98 std::vector<LinesVector> _lineSegmentBin;
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
Checks whether a point is inside a planar, closed polygon in an arbitrary plane.
CSOPointInPolygonChecker(std::vector< Vector3 > &pathPoints, const Vector3 &normal, bool overwritePathPoints=false)
Sets the polygon based on a list of points and a normal.
~CSOPointInPolygonChecker()
Destructor.
CSOPointInPolygonChecker(const CSO *cso)
Sets the polygon based on a CSO.
bool isPointInsidePolygon(const Vector3 &pos) const
Checks whether a given point is inside the polygon.
void set(const CSO *cso)
Sets the polygon based on a CSO.
void set(std::vector< Vector3 > &pathPoints, const Vector3 &normal, bool overwritePathPoints=false)
Sets the polygon based on a list of points and a normal.
The CSO represents a contour segmentation object.
Class to handle Rotations (internally, the rotation is stored as a unit quaternion)