 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
28 static void ReleaseUniqueInstance();
32 return static_cast<unsigned>(
38 return GetUniqueInstance()->
getNormal(normIndex);
41 return GetUniqueInstance()->
getNormal(normIndex);
43 static inline const std::vector<CCVector3>&
GetNormals() {
52 return m_theNormalVectors[normIndex];
55 return m_theNormalVectors[normIndex];
57 inline const std::vector<CCVector3>&
getNormals()
const {
58 return m_theNormalVectors;
60 inline std::vector<CCVector3>&
getNormals() {
return m_theNormalVectors; }
66 return GetNormIndex(N.
u);
102 static bool ComputeCloudNormals(
107 Orientation preferredOrientation = UNDEFINED,
139 Orientation preferredOrientation);
147 static void ConvertNormalToStrikeAndDip(
const CCVector3& N,
159 static void ConvertNormalToDipAndDipDir(
const CCVector3& N,
180 static QString ConvertStrikeAndDipToString(
double& strike_deg,
199 static void ConvertNormalToHSV(
const CCVector3& N,
218 bool enableNormalHSVColorsArray();
221 const ecvColor::Rgb& getNormalHSVColor(
unsigned index)
const;
225 return m_theNormalHSVColors;
229 static bool ComputeNormalWithLS(
237 static bool ComputeNormalWithTri(
245 static bool ComputeNormalWithQuadric(
269 static bool ComputeNormsAtLevelWithQuadric(
271 void** additionalParameters,
274 static bool ComputeNormsAtLevelWithLS(
276 void** additionalParameters,
279 static bool ComputeNormsAtLevelWithTri(
281 void** additionalParameters,
CV_LOCAL_MODEL_TYPES
Definition: CVConst.h:121
static std::vector< CCVector3 > & GetNormalsPtr()
Definition: ecvNormalVectors.h:46
static const CCVector3 & GetNormal(unsigned normIndex)
Static access to ccNormalVectors::getNormal.
Definition: ecvNormalVectors.h:37
const std::vector< ecvColor::Rgb > & getNormalHSVColorArray() const
Returns the HSV color array.
Definition: ecvNormalVectors.h:224
Compressed normal vectors handler.
Definition: ecvNormalVectors.h:20
Definition: GenericProgressCallback.h:20
Octree cell descriptor.
Definition: DgmOctree.h:354
CCVector3 & getNormal(unsigned normIndex)
Definition: ecvNormalVectors.h:54
Array of compressed 3D normals (single index)
Definition: ecvAdvancedTypes.h:21
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
static const std::vector< CCVector3 > & GetNormals()
Definition: ecvNormalVectors.h:43
3D Vector (templated version)
Definition: CVGeom.h:223
unsigned int CompressedNormType
Compressed normals type.
Definition: ecvBasicTypes.h:16
static CompressedNormType GetNormIndex(const CCVector3 &N)
Returns the compressed index corresponding to a normal vector (shortcut)
Definition: ecvNormalVectors.h:65
The octree structure used throughout the library.
Definition: DgmOctree.h:39
int points
Definition: FileIOFactory.cpp:144
Orientation
'Default' orientations
Definition: ecvNormalVectors.h:70
A generic 3D point cloud with index-based and presistent access to points.
Definition: GenericIndexedCloudPersist.h:18
const std::vector< CCVector3 > & getNormals() const
Definition: ecvNormalVectors.h:57
std::vector< CCVector3 > & getNormals()
Definition: ecvNormalVectors.h:60
RGB color structure.
Definition: ecvColorTypes.h:49
static CCVector3 & GetNormalPtr(unsigned normIndex)
Definition: ecvNormalVectors.h:40
const CCVector3 & getNormal(unsigned normIndex) const
Returns the precomputed normal corresponding to a given compressed index.
Definition: ecvNormalVectors.h:51
std::vector< ecvColor::Rgb > m_theNormalHSVColors
'HSV' colors corresponding to each compressed normal index
Definition: ecvNormalVectors.h:266
#define CV_DB_LIB_API
Definition: CV_db.h:15
Definition: GenericProgressCallback.h:78
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
Type u[3]
Definition: CVGeom.h:139
std::vector< CCVector3 > m_theNormalVectors
Compressed normal vectors.
Definition: ecvNormalVectors.h:260
static unsigned GetNumberOfVectors()
Returns the number of compressed normal vectors.
Definition: ecvNormalVectors.h:31