|
const CCVector3 & | getNormal (unsigned normIndex) const |
| Returns the precomputed normal corresponding to a given compressed index.
|
|
virtual | ~ccNormalVectors ()=default |
| Default destructor.
|
|
bool | enableNormalHSVColorsArray () |
| Allocates normal HSV colors array. More...
|
|
const ccColor::Rgb & | getNormalHSVColor (unsigned index) const |
| Returns the HSV color equivalent to a given compressed normal index.
|
|
const std::vector< ccColor::Rgb > & | getNormalHSVColorArray () const |
| Returns the HSV color array.
|
|
|
static ccNormalVectors * | GetUniqueInstance () |
| Returns unique instance.
|
|
static void | ReleaseUniqueInstance () |
| Releases unique instance. More...
|
|
static unsigned | GetNumberOfVectors () |
| Returns the number of compressed normal vectors.
|
|
static const CCVector3 & | GetNormal (unsigned normIndex) |
| Static access to ccNormalVectors::getNormal.
|
|
static CompressedNormType | GetNormIndex (const PointCoordinateType N[]) |
| Returns the compressed index corresponding to a normal vector.
|
|
static CompressedNormType | GetNormIndex (const CCVector3 &N) |
| Returns the compressed index corresponding to a normal vector (shortcut)
|
|
static bool | ComputeCloudNormals (ccGenericPointCloud *cloud, NormsIndexesTableType &theNormsCodes, CCCoreLib::LOCAL_MODEL_TYPES localModel, PointCoordinateType localRadius, Orientation preferredOrientation=UNDEFINED, CCCoreLib::GenericProgressCallback *progressCb=nullptr, CCCoreLib::DgmOctree *inputOctree=nullptr) |
| Computes normal at each point of a given cloud. More...
|
|
static bool | UpdateNormalOrientations (ccGenericPointCloud *theCloud, NormsIndexesTableType &theNormsCodes, Orientation preferredOrientation) |
| Updates normals orientation based on a preferred orientation. More...
|
|
static void | ConvertNormalToStrikeAndDip (const CCVector3 &N, PointCoordinateType &strike_deg, PointCoordinateType &dip_deg) |
| Converts a normal vector to geological 'strike & dip' parameters (N[dip]°E - [strike]°) More...
|
|
static void | ConvertNormalToDipAndDipDir (const CCVector3 &N, PointCoordinateType &dip_deg, PointCoordinateType &dipDir_deg) |
| Converts a normal vector to geological 'dip direction & dip' parameters. More...
|
|
static CCVector3 | ConvertDipAndDipDirToNormal (PointCoordinateType dip_deg, PointCoordinateType dipDir_deg, bool upward=true) |
| Converts a couple of geological 'dip direction & dip' parameters to a unit normal vector. More...
|
|
static QString | ConvertStrikeAndDipToString (double &strike_deg, double &dip_deg) |
| Converts geological 'strike & dip' parameters (N[dip]°E - [strike]°) to a string. More...
|
|
static QString | ConvertDipAndDipDirToString (PointCoordinateType dip_deg, PointCoordinateType dipDir_deg) |
| Converts geological 'dip direction & dip' parameters to a string. More...
|
|
static void | ConvertNormalToHSV (const CCVector3 &N, float &H, float &S, float &V) |
| Converts a normal vector to HSV color space. More...
|
|
static ccColor::Rgb | ConvertNormalToRGB (const CCVector3 &N) |
| Converts a normal vector to RGB color space. More...
|
|
static bool | ComputeNormalWithLS (CCCoreLib::GenericIndexedCloudPersist *pointAndNeighbors, CCVector3 &N) |
| Helper: computes the normal (with best LS fit)
|
|
static bool | ComputeNormalWithTri (CCCoreLib::GenericIndexedCloudPersist *pointAndNeighbors, CCVector3 &N) |
| Helper: computes the normal (with Delaunay 2.5D) More...
|
|
static bool | ComputeNormalWithQuadric (CCCoreLib::GenericIndexedCloudPersist *points, const CCVector3 &P, CCVector3 &N) |
| Helper: computes the normal (with Delaunay 2.5D) More...
|
|
|
static bool | ComputeNormsAtLevelWithQuadric (const CCCoreLib::DgmOctree::octreeCell &cell, void **additionalParameters, CCCoreLib::NormalizedProgress *nProgress=nullptr) |
| Cellular method for octree-based normal computation.
|
|
static bool | ComputeNormsAtLevelWithLS (const CCCoreLib::DgmOctree::octreeCell &cell, void **additionalParameters, CCCoreLib::NormalizedProgress *nProgress=nullptr) |
| Cellular method for octree-based normal computation.
|
|
static bool | ComputeNormsAtLevelWithTri (const CCCoreLib::DgmOctree::octreeCell &cell, void **additionalParameters, CCCoreLib::NormalizedProgress *nProgress=nullptr) |
| Cellular method for octree-based normal computation.
|
|
Compressed normal vectors handler.