![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <facetsClassifier.h>
Public Types | |
| typedef std::vector< ccFacet * > | FacetSet |
| Set of facets (pointers to) More... | |
Static Public Member Functions | |
| static PointCoordinateType | CommputeHDistBetweenFacets (const ccFacet *f1, const ccFacet *f2) |
| Computes minimal 'orthogonal' distance between two facets. More... | |
| static void | GenerateSubfamilyColor (ecvColor::Rgb &col, double dip, double dipDir, unsigned subFamilyIndex, unsigned subFamilyCount, ecvColor::Rgb *darkCol=0) |
| Generates a given sub-family color. More... | |
| static void | GetFamilyIndexes (ccFacet *facet, unsigned dSteps, unsigned ddSteps, double angularStep_deg, unsigned &iDip, unsigned &iDipDir) |
| static QString | GetFamilyName (double dip, double dipDir, double angularStep_deg) |
| static QString | GetSubFamilyName (int subFamilyIndex) |
| static bool | ProcessFamiliy (ccHObject *parent, FacetSet &family, unsigned familyIndex, unsigned iDip, unsigned iDipDir, double angularStep_deg, double maxDist) |
| Subdivides a set of facets with similar orientation. More... | |
| static bool | ByOrientation (ccHObject *facetGroup, double angularStep_deg, double maxDist) |
| Classifies the facets based on their orientation. More... | |
Definition at line 26 of file facetsClassifier.h.
| typedef std::vector<ccFacet*> FacetsClassifier::FacetSet |
Set of facets (pointers to)
Definition at line 29 of file facetsClassifier.h.
|
inlinestatic |
Classifies the facets based on their orientation.
Definition at line 320 of file facetsClassifier.h.
References ccHObject::addChild(), cloudViewer::utility::ceil(), error(), CV_TYPES::FACET, ccHObject::filterChildren(), GetFamilyIndexes(), ccHObject::getParent(), ProcessFamiliy(), ccHObject::removeAllChildren(), ccHObject::removeChild(), and ccHObject::removeDependencyWith().
Referenced by qFacets::classifyFacetsByAngle().
|
inlinestatic |
Computes minimal 'orthogonal' distance between two facets.
Definition at line 32 of file facetsClassifier.h.
References Vector3Tpl< Type >::dot(), fabs(), ccFacet::getCenter(), ccFacet::getNormal(), and min().
Referenced by ProcessFamiliy().
|
inlinestatic |
Generates a given sub-family color.
Definition at line 40 of file facetsClassifier.h.
References c_darkColorRatio, and ecvColor::Convert::hsl2rgb().
Referenced by qFacets::createFacets(), StereogramWidget::paintEvent(), and ProcessFamiliy().
|
inlinestatic |
Definition at line 66 of file facetsClassifier.h.
References ccNormalVectors::ConvertNormalToDipAndDipDir(), cloudViewer::utility::floor(), and ccFacet::getNormal().
Referenced by ByOrientation().
|
inlinestatic |
Definition at line 84 of file facetsClassifier.h.
Referenced by ProcessFamiliy().
|
inlinestatic |
Definition at line 92 of file facetsClassifier.h.
Referenced by ProcessFamiliy().
|
inlinestatic |
Subdivides a set of facets with similar orientation.
Definition at line 97 of file facetsClassifier.h.
References ccHObject::addChild(), CommputeHDistBetweenFacets(), count, dist(), GenerateSubfamilyColor(), ccFacet::getContour(), GetFamilyName(), ccObject::getMetaData(), ccHObject::getParent(), GetSubFamilyName(), cloudViewer::SquareMatrixTpl< Scalar >::getValue(), cloudViewer::SquareMatrixTpl< Scalar >::isValid(), s_OriFamilyKey, s_OriFamilyNameKey, s_OriSubFamilyKey, ccPolyline::setColor(), ccFacet::setColor(), ccObject::setMetaData(), cloudViewer::SquareMatrixTpl< Scalar >::setValue(), and ccPolyline::setWidth().
Referenced by ByOrientation().