![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|


Go to the source code of this file.
Enumerations | |
| enum | CC_VIEW_ORIENTATION { CC_TOP_VIEW , CC_BOTTOM_VIEW , CC_FRONT_VIEW , CC_BACK_VIEW , CC_LEFT_VIEW , CC_RIGHT_VIEW , CC_ISO_VIEW_1 , CC_ISO_VIEW_2 } |
| View orientation. More... | |
| enum | CHAMFER_DISTANCE_TYPE { CHAMFER_111 = 0 , CHAMFER_345 = 1 } |
| Chamfer distances types. More... | |
| enum | CV_LOCAL_MODEL_TYPES { NO_MODEL = 0 , LS = 1 , TRI = 2 , QUADRIC = 3 } |
Variables | |
| constexpr double | M_PI = 3.14159265358979323846 |
| Pi. More... | |
| constexpr double | M_PI_2 = 1.57079632679489661923 |
| Pi/2. More... | |
| constexpr double | SQRT_3 = 1.7320508075688772935274463415059 |
| Square root of 3. More... | |
| constexpr double | ZERO_TOLERANCE |
| Numerical threshold for considering a value as "zero". More... | |
| constexpr float | ZERO_TOLERANCE_F = std::numeric_limits<float>::epsilon() |
| constexpr double | ZERO_TOLERANCE_D = static_cast<double>(ZERO_TOLERANCE_F) |
| constexpr double | ZERO_SQUARED_TOLERANCE_D = ZERO_TOLERANCE_D * ZERO_TOLERANCE_D |
| constexpr ScalarType | ZERO_TOLERANCE_SCALAR |
| constexpr ScalarType | ZERO_TOLERANCE_POINT_COORDINATE |
| constexpr PointCoordinateType | PC_ONE = static_cast<PointCoordinateType>(1.0) |
| '1' as a PointCoordinateType value More... | |
| constexpr PointCoordinateType | PC_NAN |
| 'NaN' as a PointCoordinateType value More... | |
| constexpr ScalarType | NAN_VALUE = std::numeric_limits<ScalarType>::quiet_NaN() |
| NaN as a ScalarType value. More... | |
| constexpr float | MIN_POINT_SIZE_F = 1.0f |
| constexpr float | MAX_POINT_SIZE_F = 16.0f |
| constexpr float | MIN_LINE_WIDTH_F = 1.0f |
| constexpr float | MAX_LINE_WIDTH_F = 16.0f |
| static constexpr float | CC_GL_MAX_ZOOM_RATIO = 1.0e6f |
| static constexpr float | CC_GL_MIN_ZOOM_RATIO = 1.0e-6f |
| constexpr double | EPSILON_VALUE = 1.0e-5 |
| constexpr unsigned char | POINT_VISIBLE |
| constexpr unsigned char | POINT_HIDDEN |
| constexpr unsigned char | POINT_OUT_OF_RANGE |
| constexpr unsigned char | POINT_OUT_OF_FOV |
| constexpr unsigned | CV_LOCAL_MODEL_MIN_SIZE [] |
| Min number of points to compute local models (see CV_LOCAL_MODEL_TYPES) More... | |
| enum CC_VIEW_ORIENTATION |
| enum CV_LOCAL_MODEL_TYPES |
|
staticconstexpr |
Definition at line 84 of file CVConst.h.
Referenced by ecvDisplayTools::SetZoom().
|
staticconstexpr |
Definition at line 85 of file CVConst.h.
Referenced by ecvDisplayTools::SetZoom().
|
constexpr |
Min number of points to compute local models (see CV_LOCAL_MODEL_TYPES)
Definition at line 129 of file CVConst.h.
Referenced by cloudViewer::DistanceComputationTools::computeCellHausdorffDistanceWithLocalModel(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), cloudViewer::Neighbourhood::computeQuadric(), define_CCConst(), ccQuadric::Fit(), ccComparisonDlg::locaModelChanged(), and cloudViewer::Neighbourhood::triangulateOnPlane().
|
constexpr |
Definition at line 87 of file CVConst.h.
Referenced by PCLDisplayTools::checkEntityNeedUpdate(), ecvColor::RgbTpl< Type >::FromEigen(), ccPointCloud::hidePointsByScalarValue(), and cloudViewer::ManualSegmentationTools::segment().
|
constexpr |
Pi.
Definition at line 19 of file CVConst.h.
Referenced by DL_Dxf::addAttribute(), DL_Dxf::addEllipse(), DL_Dxf::addMText(), cloudViewer::visualization::ViewControlWithCustomAnimation::AddSpinKeyFrames(), DL_Dxf::addText(), G3Point::G3PointAction::angles(), DistanceMapGenerationDlg::angularUnitChanged(), BOOST_AUTO_TEST_CASE(), ccBox::buildUp(), ccCone::buildUp(), ccDisc::buildUp(), ccDish::buildUp(), ccSphere::buildUp(), ccTorus::buildUp(), cloudViewer::visualization::rendering::RotationInteractorLogic::CalcPanVectorWorld(), cloudViewer::visualization::rendering::MatrixInteractorLogic::CalcRotateRadians(), cloudViewer::visualization::rendering::MatrixInteractorLogic::CalcRotateZRadians(), colmap::CalculateTriangulationAngle(), colmap::CalculateTriangulationAngles(), cloudViewer::visualization::ViewControl::CameraLocalRotate(), ccMouseCircle::ccMouseCircle(), Circle::Circle(), ccPolyline::Circle(), cloudViewer::GeometricalAnalysisTools::ComputeApproxPointsDensityInACellAtLevel(), cloudViewer::GeometricalAnalysisTools::ComputeCharactersitic(), cloudViewer::utility::ComputeSPFHFeature(), DistanceMapGenerationTool::ComputeSurfacesAndVolumes(), ConvertAngleFromRad(), ConvertAngleToRad(), DistanceMapGenerationTool::ConvertCloudToConical(), DistanceMapGenerationTool::ConvertCloudToCylindrical(), DistanceMapGenerationTool::ConvertConicalMapToMesh(), cloudViewer::visualization::ViewControl::ConvertFromPinholeCameraParameters(), DistanceMapGenerationTool::ConvertMapToCloud(), ccNormalVectors::ConvertNormalToDipAndDipDir(), DistanceMapGenerationTool::ConvertProfileToMesh(), cloudViewer::visualization::ViewControl::ConvertToPinholeCameraParameters(), CosSinTable< Count >::CosSinTable(), ccMesh::CreateCone(), ccMesh::CreateCylinder(), DistanceMapGenerationTool::CreateMap(), ccMesh::CreateMobius(), cloudViewer::t::geometry::RaycastingScene::CreateRaysPinhole(), ccMesh::CreateSphere(), ccMesh::CreateTorus(), define_ccTorus(), cloudViewer::DegreesToRadians(), ccGriddedTools::DetectParameters(), QCPItemCurve::draw(), QCPSelectionDecoratorBracket::drawDecoration(), DrawUnitTorus(), ccCompass::estimateStructureNormals(), DistanceMapGenerationDlg::exportProfilesAsDXF(), ccContourExtractor::ExtractConcaveHull2D(), BallPivoting::FindCandidateVertex(), ccPlane::flip(), Gamma_cc(), ccRasterizeTool::generateHillshade(), PclUtils::PCLVis::getCamera(), ccCameraSensor::IntrinsicParameters::GetKinectDefaults(), DL_Dxf::handleHatchData(), GrainsAsEllipsoids::initSphereVertices(), cloudViewer::t::geometry::kernel::pointcloud::IsBoundaryPoints(), AsciiFilter::loadCloudFromFormatedAsciiStream(), logWishSF(), main(), cloudViewer::ml::impl::MapCylinderToCube(), QVTKWidgetCustom::mouseMoveEvent(), ccClipBox::move3D(), optRotY(), cloudViewer::visualization::gl_util::Perspective(), prior(), ccGBLSensor::projectPoint(), DistanceMapGenerationTool::ProjectPointOnCone(), cloudViewer::RadiansToDegrees(), cloudViewer::visualization::rendering::CameraSphereInteractorLogic::Rotate(), SampleSphere(), DxfProfilesExporter::SaveHorizontalProfiles(), cloudViewer::NormalDistribution::setParameters(), ccGBLSensor::setPitchRange(), cloudViewer::visualization::ViewControl::SetProjectionParameters(), ccPointCloud::setRGBColorByBanding(), PdmsTools::PdmsObjects::CTorus::setValue(), PdmsTools::PdmsObjects::RTorus::setValue(), ccGBLSensor::setYawRange(), e57::SphericalBounds::SphericalBounds(), cloudViewer::visualization::rendering::CameraSphereInteractorLogic::StartMouseDrag(), PdmsTools::PdmsObjects::SCylinder::surface(), PdmsTools::PdmsObjects::CTorus::surface(), PdmsTools::PdmsObjects::RTorus::surface(), PdmsTools::PdmsObjects::Dish::surface(), PdmsTools::PdmsObjects::Cone::surface(), ccPointCloud::unroll(), ccLineation::updateMetadata(), ccThickness::updateMetadata(), cloudViewer::t::pipelines::kernel::UpdateSPFHFeature(), colmap::retrieval::VoteAndVerify(), DL_Dxf::writeAttribute(), DL_Dxf::writeDimLinear(), DL_Dxf::writeHatchEdge(), DL_Dxf::writeMText(), DL_Dxf::writeText(), and cloudViewer::visualization::rendering::CameraInteractorLogic::Zoom().
|
constexpr |
|
constexpr |
Definition at line 81 of file CVConst.h.
Referenced by ccPropertiesTreeDelegate::createEditor(), and ecvDisplayTools::SetLineWidth().
|
constexpr |
Definition at line 79 of file CVConst.h.
Referenced by ccPropertiesTreeDelegate::createEditor(), ccPointCloud::drawMeOnly(), and ecvDisplayTools::SetPointSize().
|
constexpr |
Definition at line 80 of file CVConst.h.
Referenced by ccPropertiesTreeDelegate::createEditor(), and ecvDisplayTools::SetLineWidth().
|
constexpr |
Definition at line 78 of file CVConst.h.
Referenced by ccPropertiesTreeDelegate::createEditor(), and ecvDisplayTools::SetPointSize().
|
constexpr |
NaN as a ScalarType value.
Definition at line 76 of file CVConst.h.
Referenced by ccPointCloud::append(), ccScalarFieldArithmeticsDlg::Apply(), masc::Classifier::classify(), qCanupoProcess::Classify(), qM3C2Process::Compute(), qVoxFallProcess::Compute(), cloudViewer::GeometricalAnalysisTools::ComputeApproxPointsDensityInACellAtLevel(), cloudViewer::ScalarFieldTools::computeCellGaussianFilter(), cloudViewer::DistanceComputationTools::computeCellHausdorffDistance(), cloudViewer::DistanceComputationTools::computeCellHausdorffDistanceWithLocalModel(), cloudViewer::DistanceComputationTools::computeCloud2CloudDistances(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneDistance(), cloudViewer::DistanceComputationTools::computeCloud2PlaneDistanceRMS(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneMaxDistance(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneRobustMax(), cloudViewer::DistanceComputationTools::computeCloud2PolylineEquation(), ComputeCorePointDescriptor(), ComputeCorePointNormal(), qM3C2Normals::ComputeCorePointsNormals(), cloudViewer::Neighbourhood::computeCurvature(), DelaunayLocalModel::computeDistanceFromModelToPoint(), cloudViewer::GeometricalAnalysisTools::ComputeGeomCharacteristicAtLevel(), cloudViewer::StatisticalTestingTools::computeLocalChi2DistAtLevel(), ComputeM3C2DistForPoint(), ComputeMathOpWithNearestNeighbor(), cloudViewer::ScalarFieldTools::computeMeanGradientOnPatch(), cloudViewer::ScalarFieldTools::computeMeanScalarValue(), cloudViewer::ScalarFieldTools::computeMeanSquareScalarValue(), cloudViewer::Neighbourhood::computeMomentOrder1(), ConfusionMatrix::computeOverallAccuracy(), cloudViewer::DistanceComputationTools::computePoint2MeshDistancesWithOctree(), ConfusionMatrix::computePrecisionRecallF1Score(), DistanceMapGenerationTool::ComputeRadialDist(), cloudViewer::Neighbourhood::computeRoughness(), cloudViewer::ScalarFieldTools::computeScalarFieldExtremas(), qM3C2Tools::ComputeStatistics(), ccCameraSensor::computeUncertainty(), masc::ContextBasedFeature::computeValue(), DistanceMapGenerationTool::ConvertMapToCloud(), ccRasterGrid::convertToCloud(), ccCropTool::Crop(), define_CCConst(), cloudViewer::DistanceComputationTools::diff(), masc::Classifier::evaluate(), cloudViewer::FastMarchingForPropagation::extractPropagatedPoints(), TreeIso::Final_seg_pcd(), cloudViewer::MeshSamplingTools::flagMeshVerticesByType(), cloudViewer::AutoSegmentationTools::frontPropagationBasedSegmentation(), ccRasterizeTool::generateHillshade(), TreeIso::Init_seg_pcd(), TreeIso::Intermediate_seg_pcd(), ccPointCloudInterpolator::InterpolateScalarFieldsFrom(), Interquartile(), AsciiFilter::loadCloudFromFormatedAsciiStream(), Median(), cloudViewer::ScalarFieldTools::multiplyScalarFields(), cloudViewer::ScalarField::NaN(), masc::Feature::PerformMathOp(), ScalarFieldRatioWrapper::pointValue(), masc::ContextBasedFeature::prepare(), masc::Feature::PrepareSF(), CommandSubsample::process(), ResolveNormalsWithMST(), cloudViewer::ScalarFieldTools::SetScalarValueToNaN(), and ccEntityAction::sfSetAsCoord().
|
constexpr |
'NaN' as a PointCoordinateType value
Definition at line 71 of file CVConst.h.
Referenced by cloudViewer::Neighbourhood::computeLargestRadius(), define_CCConst(), and GetCellBBoxVisitor::GetCellBBoxVisitor().
|
constexpr |
'1' as a PointCoordinateType value
To avoid compiler warnings about 'possible loss of data'
Definition at line 67 of file CVConst.h.
Referenced by ccPointPairRegistrationDlg::addAlignedPoint(), qCanupo2DViewDialog::addOrSelectPoint(), ccPointPairRegistrationDlg::addReferencePoint(), PCVContext::associateToEntity(), NurbsCurveFitting::compute(), ccGriddedTools::ComputeBestSensor(), cloudViewer::DistanceComputationTools::computeCloud2PlaneDistanceRMS(), cloudViewer::DistanceComputationTools::computeCloud2PlaneEquation(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneMaxDistance(), cloudViewer::DistanceComputationTools::ComputeCloud2PlaneRobustMax(), DistanceMapGenerationTool::ProfileMetaData::computeCloudToSurfaceOriginTrans(), ccCameraSensor::computeFrustumCorners(), cloudViewer::DistanceComputationTools::computePoint2PlaneDistance(), cloudViewer::DistanceComputationTools::ComputeSquareDistToSegment(), masc::NeighborhoodFeature::computeValue(), DistanceMapGenerationTool::ConvertCloudToConical(), DistanceMapGenerationTool::ConvertCloudToCylindrical(), ccPointPairRegistrationDlg::convertToSphereCenter(), define_CCConst(), cloudViewer::GeometricalAnalysisTools::DetectCircle(), ccPolyline::drawMeOnly(), ccPointPair::drawMeOnly(), ccTrace::fitPlane(), ccCameraSensor::fromImageCoordToGlobalCoord(), GetConeProfile(), ccLibAlgorithms::GetDefaultCloudKernelSize(), ccFacet::getNormalVectorMesh(), ccPlanarEntityInterface::glDrawNormal(), ccCompass::importFoliations(), ccCompassImport::importFoliations(), CommandMatchBestFitPlane::process(), ccGBLSensor::projectNormals(), cloudViewer::ICPRegistrationTools::Register(), cloudViewer::RegistrationTools::RegistrationProcedure(), ccPolyline::smoothChaikin(), qAnimationDlg::smoothTrajectory(), DistanceMapGenerationDlg::toggleOverlayGrid(), ccNormalVectors::UpdateNormalOrientations(), and ccPlaneEditDlg::updatePlane().
|
constexpr |
Point visibility state: hidden (e.g. behind other points)
Definition at line 94 of file CVConst.h.
Referenced by ccGBLSensor::checkVisibility(), ccMesh::createNewMeshFromSelection(), define_CCConst(), ccClipBox::flagPointsInside(), ccPointCloud::hidePointsByScalarValue(), ccGenericPointCloud::invertVisibilityArray(), ccGraphicalSegmentationTool::segment(), and StereogramDialog::updateFacetsFilter().
|
constexpr |
Point visibility state: out of field of view
Definition at line 98 of file CVConst.h.
Referenced by ccGBLSensor::checkVisibility(), and define_CCConst().
|
constexpr |
Point visibility state: out of range
Definition at line 96 of file CVConst.h.
Referenced by ccGBLSensor::checkVisibility(), and define_CCConst().
|
constexpr |
Point visibility state: visible
Definition at line 92 of file CVConst.h.
Referenced by cc2smReader::cc2smReader(), ccSensor::checkVisibility(), ccGBLSensor::checkVisibility(), cloudViewer::DistanceComputationTools::computeCellHausdorffDistance(), cloudViewer::DistanceComputationTools::computeCellHausdorffDistanceWithLocalModel(), ccPointCloud::createNewCloudFromVisibilitySelection(), ccPolyline::createNewPolylinesFromSelection(), ccSubMesh::createNewSubMeshFromSelection(), define_CCConst(), ccSNECloud::drawMeOnly(), ccClipBox::flagPointsInside(), cc2smReader::getColors(), cc2smReader::getFloatScalarField(), cc2smReader::getNormals(), cc2smReader::getOneOf(), cc2smReader::getPclCloud2(), cc2smReader::getPclMesh(), cc2smReader::getPclTextureMesh(), ccGenericPointCloud::getTheVisiblePoints(), cc2smReader::getVtkPolyDataFromMeshCloud(), cc2smReader::getVtkPolyDataWithTextures(), cc2smReader::getvtkScalars(), cc2smReader::getXYZ2(), ccGenericPointCloud::invertVisibilityArray(), ccGenericPointCloud::pointPicking(), ccOctree::pointPicking(), ccPointCloud::removeVisiblePoints(), ccGenericPointCloud::resetVisibilityArray(), ccGraphicalSegmentationTool::segment(), cloudViewer::GenericCloud::testVisibility(), ccPointCloud::testVisibility(), VtkUtils::TableModel::updateData(), and StereogramDialog::updateFacetsFilter().
|
constexpr |
Square root of 3.
Definition at line 29 of file CVConst.h.
Referenced by define_CCConst(), cloudViewer::DgmOctree::findNeighborsInASphereStartingFromCell(), cloudViewer::DgmOctree::getPointsInCylindricalNeighbourhood(), cloudViewer::DgmOctree::getPointsInCylindricalNeighbourhoodProgressive(), cloudViewer::DgmOctree::getPointsInSphericalNeighbourhood(), ccOctree::pointPicking(), cloudViewer::DgmOctree::NearestNeighboursSphericalSearchStruct::prepare(), and cloudViewer::DgmOctree::rayCast().
|
constexpr |
ZERO_SQUARED_TOLERANCE_D is used to set or compare a (square) value to "close to zero".
Definition at line 53 of file CVConst.h.
Referenced by cloudViewer::GreaterThanSquareEpsilon(), and cloudViewer::LessThanSquareEpsilon().
|
constexpr |
Numerical threshold for considering a value as "zero".
Definition at line 37 of file CVConst.h.
Referenced by PCVContext::associateToEntity().
|
constexpr |
ZERO_TOLERANCE_D is used to set or compare a double variable to "close to zero". It is defined as std::numeric_limits<float>::epsilon() because using std::numeric_limits<double>::epsilon() results in numbers that are too small for our purposes.
Definition at line 49 of file CVConst.h.
Referenced by ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), cloudViewer::WeibullDistribution::ComputeG(), ecvDisplayTools::ComputeProjectionMatrix(), define_CCConst(), ccMesh::getColorFromMaterial(), cloudViewer::GreaterThanEpsilon(), ecvGlobalShiftManager::Handle(), cloudViewer::LessThanEpsilon(), cloudViewer::GeometricalAnalysisTools::RefineSphereLS(), and cloudViewer::RegistrationTools::RegistrationProcedure().
ZERO_TOLERANCE_F is used to set or compare a float variable to "close to zero".
Definition at line 43 of file CVConst.h.
Referenced by define_CCConst(), cloudViewer::GreaterThanEpsilon(), cloudViewer::LessThanEpsilon(), ccMesh::pushSubdivide(), and TagDuplicatedVertices().
|
constexpr |
ZERO_TOLERANCE_POINT_COORDINATE is used to set or compare a PointCoordinateType variable to "close to zero".
Definition at line 62 of file CVConst.h.
Referenced by define_CCConst().
|
constexpr |
ZERO_TOLERANCE_SCALAR is used to set or compare a ScalarType variable to "close to zero".
Definition at line 57 of file CVConst.h.
Referenced by define_CCConst(), ccScalarField::normalize(), ccScalarField::Range::updateRange(), and ccScalarField::updateSaturationBounds().