![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <PointCloudTpl.h>
Public Member Functions | |
| PointCloudTpl () | |
| Default constructor. More... | |
| virtual | ~PointCloudTpl () |
| Default destructor. More... | |
| unsigned | size () const override |
| void | forEach (GenericCloud::genericPointAction action) override |
| void | getBoundingBox (CCVector3 &bbMin, CCVector3 &bbMax) override |
| void | placeIteratorAtBeginning () override |
| const CCVector3 * | getNextPoint () override |
| bool | enableScalarField () override |
| bool | isScalarFieldEnabled () const override |
| void | setPointScalarValue (unsigned pointIndex, ScalarType value) override |
| ScalarType | getPointScalarValue (unsigned pointIndex) const override |
| const CCVector3 * | getPoint (unsigned index) const override |
| CCVector3 * | getPointPtr (size_t index) |
| std::vector< CCVector3 > & | getPoints () |
| const std::vector< CCVector3 > & | getPoints () const |
| void | getPoint (unsigned index, CCVector3 &P) const override |
| void | getPoint (unsigned index, double P[3]) const override |
| const CCVector3 * | getPointPersistentPtr (unsigned index) override |
| const CCVector3 * | getPointPersistentPtr (unsigned index) const |
| virtual bool | resize (unsigned newCount) |
| Resizes the point database. More... | |
| virtual bool | reserve (unsigned newCapacity) |
| Reserves memory for the point database. More... | |
| void | reset () |
| Clears the cloud database. More... | |
| void | addPoint (const CCVector3 &P) |
| Adds a 3D point to the database. More... | |
| void | setPoint (size_t index, const CCVector3 &P) |
| void | setEigenPoint (size_t index, const Eigen::Vector3d &point) |
| void | addEigenPoint (const Eigen::Vector3d &point) |
| void | addPoint (double x, double y, double z) |
| void | addPoint (double xyz[3]) |
| void | addPoints (const std::vector< CCVector3 > &points) |
| void | addPoints (const std::vector< Eigen::Vector3d > &points) |
| Eigen::Vector3d | getEigenPoint (size_t index) const |
| std::vector< Eigen::Vector3d > | getEigenPoints () const |
| void | setEigenPoints (const std::vector< Eigen::Vector3d > &points) |
| virtual void | invalidateBoundingBox () |
| Invalidates bounding box. More... | |
| unsigned | getNumberOfScalarFields () const |
| Returns the number of associated (and active) scalar fields. More... | |
| ScalarField * | getScalarField (int index) const |
| Returns a pointer to a specific scalar field. More... | |
| const char * | getScalarFieldName (int index) const |
| Returns the name of a specific scalar field. More... | |
| int | getScalarFieldIndexByName (const char *name) const |
| Returns the index of a scalar field represented by its name. More... | |
| ScalarField * | getCurrentInScalarField () const |
| Returns the scalar field currently associated to the cloud input. More... | |
| ScalarField * | getCurrentOutScalarField () const |
| Returns the scalar field currently associated to the cloud output. More... | |
| void | setCurrentInScalarField (int index) |
| Sets the INPUT scalar field. More... | |
| int | getCurrentInScalarFieldIndex () |
| Returns current INPUT scalar field index (or -1 if none) More... | |
| void | setCurrentOutScalarField (int index) |
| Sets the OUTPUT scalar field. More... | |
| int | getCurrentOutScalarFieldIndex () |
| Returns current OUTPUT scalar field index (or -1 if none) More... | |
| void | setCurrentScalarField (int index) |
| Sets both the INPUT & OUTPUT scalar field. More... | |
| virtual int | addScalarField (const char *uniqueName) |
| Creates a new scalar field and registers it. More... | |
| bool | renameScalarField (int index, const char *newName) |
| Renames a specific scalar field. More... | |
| virtual void | deleteScalarField (int index) |
| Deletes a specific scalar field. More... | |
| virtual void | deleteAllScalarFields () |
| Deletes all scalar fields associated to this cloud. More... | |
| unsigned | capacity () const |
| Returns cloud capacity (i.e. reserved size) More... | |
Protected Member Functions | |
| virtual void | swapPoints (unsigned firstIndex, unsigned secondIndex) |
| Swaps two points (and their associated scalar values!) More... | |
| CCVector3 * | point (unsigned index) |
| Returns non const access to a given point. More... | |
| const CCVector3 * | point (unsigned index) const |
| Returns const access to a given point. More... | |
Protected Attributes | |
| std::vector< CCVector3 > | m_points |
| 3D Points database More... | |
| BoundingBox | m_bbox |
| Bounding-box. More... | |
| unsigned | m_currentPointIndex |
| 'Iterator' on the points db More... | |
| std::vector< ScalarField * > | m_scalarFields |
| Associated scalar fields. More... | |
| int | m_currentInScalarFieldIndex |
| Index of current scalar field used for input. More... | |
| int | m_currentOutScalarFieldIndex |
| Index of current scalar field used for output. More... | |
A storage-efficient point cloud structure that can also handle an unlimited number of scalar fields
|
inline |
Default constructor.
|
inlinevirtual |
Default destructor.
|
inline |
Referenced by ccMesh::addVertice(), ccMesh::CreateIcosahedron(), ccMesh::CreateOctahedron(), ccMesh::CreateTetrahedron(), poisson::ExtractMesh(), cloudViewer::pipelines::integration::UniformTSDFVolume::ExtractTriangleMesh(), cloudViewer::pipelines::integration::ScalableTSDFVolume::ExtractTriangleMesh(), cloudViewer::geometry::TetraMesh::ExtractTriangleMesh(), cloudViewer::io::ReadModelUsingAssimp(), cloudViewer::io::ReadPointCloudFromXYZ(), cloudViewer::io::ReadPointCloudFromXYZN(), cloudViewer::io::ReadPointCloudFromXYZRGB(), cloudViewer::io::ReadPointCloudInMemoryFromXYZ(), cloudViewer::io::ReadTriangleMeshFromGLTF(), cloudViewer::io::ReadTriangleMeshFromOBJ(), cloudViewer::benchmarks::TestKDTreeLine0::setup(), and ccMesh::SubdivideMidpoint().
|
inline |
Adds a 3D point to the database.
To assure the best efficiency, the database memory must have already been reserved (with PointCloud::reserve). Otherwise nothing happens.
| P | a 3D point |
Referenced by ccPolyline::add(), ccPointPairRegistrationDlg::addAlignedPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addEigenPoint(), qCanupo2DViewDialog::addOrSelectPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addPoints(), ccGraphicalSegmentationTool::addPointToPolyline(), ccPointPairRegistrationDlg::addReferencePoint(), MeshWrapper< Real >::addVertex(), AddVertex(), cloudViewer::PointProjectionTools::applyTransformation(), ccExtru::buildUp(), ccSphere::buildUp(), ccDisc::buildUp(), ccDish::buildUp(), ccTorus::buildUp(), ccQuadric::buildUp(), ccCone::buildUp(), ccPlane::buildUp(), cloudViewer::visualization::Visualizer::CaptureDepthPointCloud(), ccTracePolylineTool::ccTracePolylineTool(), ccPolyline::Circle(), cloudViewer::geometry::Qhull::ComputeConvexHull(), ccGBLSensor::computeDepthBuffer(), ccCameraSensor::computeFrustumCorners(), ccEntityAction::computeNormals(), cloudViewer::DistanceComputationTools::computePoint2MeshDistancesWithOctree(), ccTopologyRelation::constructGraphic(), contourPoly(), contourPoly2(), DistanceMapGenerationTool::ConvertConicalMapToMesh(), DistanceMapGenerationTool::ConvertMapToCloud(), DistanceMapGenerationTool::ConvertProfileToMesh(), ccRasterGrid::convertToCloud(), vtk2cc::ConvertToMultiPolylines(), ccPolyline::createNewPolylinesFromSelection(), cloudViewer::PointProjectionTools::developCloudOnCone(), cloudViewer::PointProjectionTools::developCloudOnCylinder(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccAlignDlg::estimateDelta(), ccCompass::estimateP21(), ccCompass::estimateStructureNormals(), GrainsAsEllipsoids::exportResultsAsCloud(), ccPointListPickingDlg::exportToNewCloud(), ccPointListPickingDlg::exportToNewPolyline(), ccContourExtractor::ExtractConcaveHull2D(), ccContourExtractor::ExtractFlatContour(), cloudViewer::FPCSRegistrationTools::FilterCandidates(), cloudViewer::FPCSRegistrationTools::FindCongruentBases(), ccQuadric::Fit(), ccPointCloud::From(), FromFbxMesh(), ccRasterizeTool::generateContours(), GetConeProfile(), getDensity(), getMortarMaps(), cvDistanceTool::getOutput(), cvProtractorTool::getOutput(), ccGBLSensor::getOwnBB(), ccCameraSensor::getOwnBB(), ImportSourceVertices(), STEPFilter::importStepFile(), InitializeOutputCloud(), ProfileLoader::Load(), STLFilter::loadASCIIFile(), STLFilter::loadBinaryFile(), LoadCloud(), AsciiFilter::loadCloudFromFormatedAsciiStream(), PTXFilter::loadFile(), VTKFilter::loadFile(), SinusxFilter::loadFile(), SoiFilter::loadFile(), LASFilter::loadFile(), ObjFilter::loadFile(), CSVMatrixFilter::loadFile(), SalomeHydroFilter::loadFile(), OFFFilter::loadFile(), LASFWFFilter::loadFile(), RDBFilter::loadFile(), DistanceMapGenerationDlg::loadOverlaySymbols(), LoadScan(), MergeOldTriangles(), QVTKWidgetCustom::mouseMoveEvent(), ccTracePolylineTool::onItemPicked(), MainWindow::onItemPicked(), ccGenericPrimitive::operator+=(), ccCameraSensor::orthoRectifyAsCloud(), PCLCloudToCCCloud(), masc::ContextBasedFeature::prepare(), CommandCrop2D::process(), cloudViewer::visualization::MessageProcessor::ProcessMessage(), ccMesh::pushSubdivide(), cloudViewer::ICPRegistrationTools::Register(), cloudViewer::CloudSamplingTools::resampleCellAtLevel(), qCanupo2DViewDialog::resetBoundary(), rotY(), ccPolyline::samplePoints(), cloudViewer::MeshSamplingTools::samplePointsOnMesh(), ccMesh::SelectByIndex(), ccPolyline::smoothChaikin(), DistanceMapGenerationDlg::toggleOverlayGrid(), Cloth::toMesh(), qCanupoTools::TrainClassifier(), cloudViewer::Neighbourhood::triangulateFromQuadric(), cloudViewer::Neighbourhood::triangulateOnPlane(), ccMesh::TriangulateTwoPolylines(), and vertex_cb().
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Creates a new scalar field and registers it.
Warnings:
| uniqueName | scalar field name (must be unique) |
Reimplemented in ccPointCloud.
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::enableScalarField().
|
inline |
Returns cloud capacity (i.e. reserved size)
Referenced by ccPointPairRegistrationDlg::addAlignedPoint(), ccPointPairRegistrationDlg::addReferencePoint(), AddVertex(), MeshWrapper< Real >::checkVertexCapacity(), ccRasterGrid::convertToCloud(), STEPFilter::importStepFile(), LasWaveformLoader::LasWaveformLoader(), STLFilter::loadASCIIFile(), AsciiFilter::loadCloudFromFormatedAsciiStream(), ObjFilter::loadFile(), SinusxFilter::loadFile(), LASFilter::loadFile(), SalomeHydroFilter::loadFile(), DistanceMapGenerationDlg::loadOverlaySymbols(), ccMesh::pushSubdivide(), and ccPointCloud::shrinkToFit().
|
inlinevirtual |
Deletes all scalar fields associated to this cloud.
Reimplemented in ccPointCloud.
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::reset(), and cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::~PointCloudTpl().
|
inlinevirtual |
Deletes a specific scalar field.
WARNING: this operation may modify the scalar fields order (especially if the deleted SF is not the last one). However current IN & OUT scalar fields will stay up-to-date (while their index may change).
| index | index of scalar field to be deleted |
Reimplemented in ccPointCloud.
|
inlineoverride |
Referenced by cloudViewer::DistanceComputationTools::computeCloud2MeshDistancesWithOctree(), ccGBLSensor::computeDepthBuffer(), cloudViewer::DistanceComputationTools::computePoint2MeshDistancesWithOctree(), ccAlignDlg::estimateDelta(), FastMarchingForFacetExtraction::ExtractPlanarFacets(), ccKdTreeForFacetExtraction::FuseCells(), and ccFastMarchingForNormsDirection::OrientNormals().
|
inlineoverride |
|
inlineoverride |
|
inline |
Returns the scalar field currently associated to the cloud input.
See PointCloud::setPointScalarValue.
Referenced by ccLibAlgorithms::ApplyCCLibAlgorithm(), ccComparisonDlg::computeApproxDistances(), cloudViewer::DistanceComputationTools::computeCloud2MeshDistancesWithOctree(), ccComparisonDlg::computeDistances(), ccLibAlgorithms::ComputeGeomCharacteristic(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::enableScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::isScalarFieldEnabled(), CommandExtractCCs::process(), CommandStatTest::process(), ccEntityAction::processMeshSF(), ccEntityAction::sfGaussianFilter(), and ccEntityAction::statisticalTest().
|
inline |
Returns current INPUT scalar field index (or -1 if none)
Referenced by GetScalarFieldIndex(), and ccRegistrationTools::ICP().
|
inline |
Returns the scalar field currently associated to the cloud output.
See PointCloud::getPointScalarValue.
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::enableScalarField(), FastMarchingForFacetExtraction::ExtractPlanarFacets(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::forEach(), CommandStatTest::process(), ccEntityAction::rgbGaussianFilter(), and ccEntityAction::sfGaussianFilter().
|
inline |
Returns current OUTPUT scalar field index (or -1 if none)
Referenced by CommandSFConvertToRGB::process().
|
inline |
Referenced by cloudViewer::pipelines::registration::AdvancedMatching(), BallPivoting::BallPivoting(), cloudViewer::pipelines::registration::CorrespondenceCheckerBasedOnEdgeLength::Check(), cloudViewer::pipelines::registration::CorrespondenceCheckerBasedOnDistance::Check(), cloudViewer::utility::ComputeFPFHFeature(), cloudViewer::pipelines::registration::TransformationEstimationForColoredICP::ComputeRMSE(), cloudViewer::pipelines::registration::TransformationEstimationForGeneralizedICP::ComputeRMSE(), cloudViewer::pipelines::registration::TransformationEstimationPointToPoint::ComputeRMSE(), cloudViewer::pipelines::registration::TransformationEstimationPointToPlane::ComputeRMSE(), cloudViewer::utility::ComputeSPFHFeature(), cloudViewer::pipelines::registration::TransformationEstimationForColoredICP::ComputeTransformation(), cloudViewer::pipelines::registration::TransformationEstimationForGeneralizedICP::ComputeTransformation(), cloudViewer::pipelines::registration::TransformationEstimationPointToPoint::ComputeTransformation(), cloudViewer::pipelines::registration::TransformationEstimationPointToPlane::ComputeTransformation(), cloudViewer::visualization::rendering::PointCloudBuffersBuilder::ConstructBuffers(), cloudViewer::geometry::Octree::ConvertFromPointCloud(), cloudViewer::geometry::LineSet::CreateFromPointCloudCorrespondences(), cloudViewer::geometry::VoxelGrid::CreateFromPointCloudWithinBounds(), cloudViewer::pipelines::registration::EvaluateRANSACBasedOnCorrespondence(), cloudViewer::pipelines::registration::GetInformationMatrixFromPointClouds(), cloudViewer::pipelines::registration::GetRegistrationResultAndCorrespondences(), ccMesh::getVertice(), cloudViewer::pipelines::registration::OptimizePairwiseRegistration(), ccMesh::SimplifyQuadricDecimation(), ccMesh::SimplifyVertexClustering(), ccMesh::SubdivideLoop(), ccMesh::SubdivideMidpoint(), cloudViewer::io::WritePointCloudInMemoryToXYZ(), cloudViewer::io::WritePointCloudToPLY(), cloudViewer::io::WritePointCloudToPTS(), cloudViewer::io::WritePointCloudToXYZ(), cloudViewer::io::WritePointCloudToXYZN(), and cloudViewer::io::WritePointCloudToXYZRGB().
|
inline |
|
inlineoverride |
|
inline |
Returns the number of associated (and active) scalar fields.
Referenced by ccPointCloud::append(), ccCloudLayersHelper::apply(), ccScalarFieldArithmeticsDlg::Apply(), CCCloudToDraco(), ccColorFromScalarDlg::ccColorFromScalarDlg(), ccRasterizeTool::ccRasterizeTool(), ccScalarFieldArithmeticsDlg::ccScalarFieldArithmeticsDlg(), masc::PointFeature::checkValidity(), qCanupoProcess::Classify(), ccRasterizeTool::convertGridToCloud(), ccRasterGrid::convertToCloud(), copyScalarFields(), ccPropertiesTreeDelegate::createEditor(), ccCropTool::Crop(), ccEntityAction::enhanceRGBWithIntensities(), ccPropertiesTreeDelegate::fillSFWithPointCloud(), ccRasterGrid::fillWith(), ccPointCloud::From(), ccDBRoot::gatherRecursiveInformation(), cc2smReader::getAsSM(), LasField::GetLASFields(), GetScalarFieldIndex(), ccCloudLayersHelper::getScalarFields(), BasePclModule::getSelectedAvailableScalarFields(), ccCompass::importFoliations(), ccCompass::importLineations(), ccPointCloudInterpolator::InterpolateScalarFieldsFrom(), ccEntityAction::interpolateSFs(), LasSaveDialog::LasSaveDialog(), VTKFilter::loadFile(), PlyFilter::loadFile(), PopulatePMFields(), PopulateSFCombo(), prepareCloud(), CommandSFConvertToRGB::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandICP::process(), CommandRemoveSF::removeSF(), masc::PointFeature::retrieveField(), masc::Tools::RetrieveSF(), ccColorScaleEditorDialog::saveCurrentScale(), VTKFilter::saveToFile(), LASFilter::saveToFile(), SimpleBinFilter::saveToFile(), LASFWFFilter::saveToFile(), AsciiFilter::saveToFile(), and PclUtils::PCLVis::syncAllScalarFieldsToVTK().
|
inlineoverride |
Referenced by ccPolyline::add(), ccPointPairRegistrationDlg::addAlignedPoint(), ccPointPairRegistrationDlg::addReferencePoint(), ccPointCloud::append(), ccTrace::calculateOptimumSearchRadius(), ccPointPairRegistrationDlg::callHornRegistration(), qCanupoProcess::Classify(), G3Point::G3PointAction::cleanLabels(), cloud2binary(), G3Point::G3PointAction::cluster(), qVoxFallProcess::Compute(), ccCameraSensor::computeFrustumCorners(), ccCameraSensor::computeGlobalPlaneCoefficients(), ComputeM3C2DistForPoint(), DistanceMapGenerationTool::ComputeMinAndMaxLatitude_rad(), ccMesh::computePerVertexNormals(), DistanceMapGenerationTool::ComputeRadialDist(), DistanceMapGenerationTool::ComputeSurfacesAndVolumes(), contourPoly(), contourPoly2(), ConverFromTo(), DistanceMapGenerationTool::ConvertCloudToConical(), DistanceMapGenerationTool::ConvertCloudToCylindrical(), ccRasterGrid::convertToCloud(), vtk2cc::ConvertToPolyline(), DistanceMapGenerationTool::CreateMap(), ccCropTool::Crop(), ccGriddedTools::DetectParameters(), qCSF::doAction(), qHoughNormals::doAction(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), ccTrace::drawMeOnly(), ccCameraSensor::drawMeOnly(), ccCompass::estimateP21(), ccCompass::estimateStrain(), ccCompass::estimateStructureNormals(), ccRasterizeTool::exportContourLines(), FastMarchingForFacetExtraction::ExtractPlanarFacets(), ccPointCloudLODThread::fillNode(), ccPointCloudLODThread::fillNode_flat(), cloudViewer::FPCSRegistrationTools::FindCongruentBases(), ccQuadric::Fit(), GrainsAsEllipsoids::fitEllipsoidToGrain(), colmap::mvs::GenerateCandidate(), get_subset(), cc2smReader::getAsPointNormal(), getCommonPtsIdx(), getDensity(), getMortarMaps(), cc2smReader::getOneOf(), ccCameraSensor::getOwnBB(), cc2smReader::getPclCloud2(), PointCloudWrapper< Real >::getPoint(), cc2smReader::getRawXYZ(), ccTrace::getSegmentCostGrad(), cc2smReader::getVtkPolyDataFromMeshCloud(), cc2smReader::getXYZ2(), GrainsAsEllipsoids::GrainsAsEllipsoids(), qM3C2Tools::GuessBestParams(), ccCompassImport::importFoliations(), ccCompass::importFoliations(), ccCompass::importLineations(), ccCompassImport::importLineations(), ccTrace::insertWaypoint(), G3Point::G3PointAction::CloudAdaptor::kdtree_get_pt(), ObjFilter::loadFile(), MainWindow::onItemPicked(), ccTrace::optimizeSegment(), optRotY(), ccFastMarchingForNormsDirection::OrientNormals(), DimScalarFieldWrapper::pointValue(), ccTracePolylineTool::polylineOverSampling(), masc::ContextBasedFeature::prepare(), CommandCSF::process(), ccPointListPickingDlg::processPickedPoint(), ccMesh::pushSubdivide(), RefinePointClassif(), ccPointPairRegistrationDlg::removeAlignedPoint(), ccPointPairRegistrationDlg::removeRefPoint(), ccMesh::RemoveVerticesByMask(), ResolveNormalsWithMST(), rotY(), ccGenericMesh::samplePoints(), LasSaver::saveNextPoint(), DxfFilter::saveToFile(), SimpleBinFilter::saveToFile(), LASFWFFilter::saveToFile(), G3Point::G3PointAction::segment(), ccMesh::SimplifyQuadricDecimation(), ccMesh::SubdivideLoop(), toTranslatedVector(), ccTracePolylineTool::updatePolyLineTip(), and G3Point::G3PointAction::wolman().
|
inlineoverride |
|
inlineoverride |
|
inline |
|
inlineoverride |
|
inline |
|
inline |
Referenced by BallPivoting::BallPivoting(), CurveFittingTool::CurveFitting::BsplineFitting(), cloudViewer::geometry::TetraMesh::CreateFromPointCloud(), ccMesh::CreateFromPointCloudAlphaShape(), ccMesh::Crop(), cloudViewer::visualization::SelectionPolygonVolume::CropInPolygon(), ccMesh::FilterSharpen(), ccMesh::FilterSmoothLaplacian(), ccMesh::FilterSmoothSimple(), ccMesh::FilterSmoothTaubin(), ccMesh::getVertices(), ccMesh::getVerticesPtr(), ccMesh::MergeCloseVertices(), cloudViewer::io::rpc::SetPointCloud(), and cloudViewer::io::rpc::SetTriangleMesh().
|
inline |
|
inlineoverride |
Referenced by ccTrace::buildCurvatureCost(), ccTrace::buildGradientCost(), ComputeCellGaussianFilter(), cloudViewer::DistanceComputationTools::computePoint2MeshDistancesWithOctree(), ccEntityAction::computeStatParams(), masc::ContextBasedFeature::computeValue(), ccAlignDlg::estimateDelta(), ccCompass::estimateStrain(), getMortarMaps(), ccTrace::getSegmentCostCurve(), and ccTrace::getSegmentCostGrad().
|
inline |
Returns a pointer to a specific scalar field.
| index | a scalar field index |
Referenced by PclUtils::PCLVis::addScalarFieldToVTK(), ccPointCloud::append(), ccCloudLayersHelper::apply(), ccScalarFieldArithmeticsDlg::Apply(), ccTrace::buildCurvatureCost(), ccTrace::buildGradientCost(), CCCloudToDraco(), ccRasterizeTool::ccRasterizeTool(), ccCloudLayersHelper::changeCode(), qCanupoProcess::Classify(), masc::Classifier::classify(), qM3C2Process::Compute(), DistanceMapGenerationTool::ComputeRadialDist(), ccKdTree::convertCellIndexToSF(), ccVolumeCalcTool::ConvertGridToCloud(), ccVolumeCalcTool::convertGridToCloud(), ccRasterizeTool::convertGridToCloud(), ccEntityAction::convertNormalsTo(), ccRasterGrid::convertToCloud(), copyScalarFields(), ccCropTool::Crop(), ccComparisonDlg::determineBestOctreeLevel(), qPCV::doAction(), qSRA::doProjectCloudDistsInGrid(), ccEntityAction::enhanceRGBWithIntensities(), ccCompass::estimateStructureNormals(), masc::Classifier::evaluate(), GrainsAsEllipsoids::exportResultsAsCloud(), qFacets::extractFacets(), LasSaveDialog::fieldsToSave(), LasExtraScalarFieldCard::fillField(), ccRasterGrid::fillWith(), TreeIso::Final_seg_pcd(), G3Point::G3PointAction::fit(), ccPointCloud::From(), ccRasterizeTool::generateHillshade(), cc2smReader::getAsSM(), masc::Tools::GetClassificationSF(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getCurrentInScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getCurrentOutScalarField(), cc2smReader::getFloatScalarField(), LasField::GetLASFields(), getMortarMaps(), GetScalarField(), ccTrace::getSegmentCostCurve(), ccTrace::getSegmentCostGrad(), GetSource(), cc2smReader::getvtkScalars(), LasSaveDialog::handleComboBoxChange(), ccCompassImport::importFoliations(), ccCompass::importFoliations(), ccCompass::importLineations(), ccCompassImport::importLineations(), ccEntityAction::importToSF(), TreeIso::Init_seg_pcd(), TreeIso::Intermediate_seg_pcd(), ccPointCloudInterpolator::InterpolateScalarFieldsFrom(), PlyFilter::loadFile(), LasExtraScalarField::MatchExtraBytesToScalarFields(), ccCloudLayersHelper::mouseMove(), ccCloudLayersHelper::moveItem(), ccTrace::optimizePath(), ccGenericPointCloud::pointPicking(), masc::Feature::PrepareSF(), PCVCommand::Process(), CommandSFRename::process(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::renameScalarField(), ResolveNormalsWithMST(), ccCloudLayersHelper::restoreState(), masc::PointFeature::retrieveField(), masc::Tools::RetrieveSF(), ccColorScaleEditorDialog::saveCurrentScale(), SaveScan(), ccCloudLayersHelper::saveState(), SimpleBinFilter::saveToFile(), VTKFilter::saveToFile(), LASFilter::saveToFile(), LASFWFFilter::saveToFile(), AsciiFilter::saveToFile(), LasDetails::SelectBestVersion(), ccEntityAction::sfAddIdField(), ccColorFromScalarDlg::updateChannel(), ccColorFromScalarDlg::updateSpinBoxLimits(), and G3Point::G3PointAction::wolman().
|
inline |
Returns the index of a scalar field represented by its name.
| name | a scalar field name |
Referenced by ccRasterizeTool::activeLayerChanged(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addScalarField(), ccScalarFieldArithmeticsDlg::Apply(), ccComparisonDlg::applyAndExit(), ccLibAlgorithms::ApplyCCLibAlgorithm(), ccComparisonDlg::cancelAndExit(), cc2smReader::checkIfFieldExists(), masc::Feature::CheckSFExistence(), masc::PointFeature::checkValidity(), qCanupoProcess::Classify(), masc::Classifier::classify(), qVoxFallProcess::Compute(), ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), ccLibAlgorithms::ComputeGeomCharacteristic(), DistanceMapGenerationTool::ComputeRadialDist(), ccKdTree::convertCellIndexToSF(), ccRasterizeTool::convertGridToCloud(), ccEntityAction::convertNormalsTo(), ccRasterGrid::convertToCloud(), pcl2cc::CopyScalarField(), copyScalarFields(), ccMeasurementDevice::deleteScalarFieldFromCloud(), ccComparisonDlg::determineBestOctreeLevel(), qPCV::doAction(), qSRA::doProjectCloudDistsInGrid(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::enableScalarField(), ccEntityAction::enhanceRGBWithIntensities(), ccCompass::estimateStrain(), masc::Classifier::evaluate(), qFacets::extractFacets(), LasSaveDialog::fieldsToSave(), LasExtraScalarFieldCard::fillField(), TreeIso::Final_seg_pcd(), G3Point::G3PointAction::fit(), ccPointCloud::From(), ccRasterizeTool::generateHillshade(), masc::Tools::GetClassificationSF(), ccEntityAction::GetFirstAvailableSFName(), cc2smReader::getFloatScalarField(), G3Point::G3PointAction::GetG3PointAction(), getMortarMaps(), GetScalarFieldIndex(), ccTrace::getSegmentCostCurve(), ccTrace::getSegmentCostGrad(), GetSource(), LasSaveDialog::handleComboBoxChange(), BasePclModule::hasSelectedScalarField(), ccRegistrationTools::ICP(), ccCompass::importFoliations(), ccCompass::importLineations(), ccEntityAction::importToSF(), TreeIso::Init_seg_pcd(), TreeIso::Intermediate_seg_pcd(), ccPointCloudInterpolator::InterpolateScalarFieldsFrom(), ccTrace::isCurvaturePrecomputed(), ccTrace::isGradientPrecomputed(), VTKFilter::loadFile(), LoadScan(), LasExtraScalarField::MatchExtraBytesToScalarFields(), ccTrace::optimizePath(), ccFastMarchingForNormsDirection::OrientNormals(), ccGenericPointCloud::pointPicking(), masc::ContextBasedFeature::prepare(), masc::Feature::PrepareSF(), PCVCommand::Process(), CommandExtractCCs::process(), CommandStatTest::process(), CommandSFRename::process(), SFCollector::releaseSFs(), RemoveScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::renameScalarField(), ResolveNormalsWithMST(), masc::Tools::RetrieveSF(), ccEntityAction::rgbGaussianFilter(), SaveScan(), LASFWFFilter::saveToFile(), LasDetails::SelectBestVersion(), ccEntityAction::sfAddIdField(), ccEntityAction::sfGaussianFilter(), ccEntityAction::statisticalTest(), and G3Point::G3PointAction::wolman().
|
inline |
Returns the name of a specific scalar field.
| index | a scalar field index |
Referenced by PclUtils::PCLVis::addScalarFieldToVTK(), ccLibAlgorithms::ApplyCCLibAlgorithm(), ccColorFromScalarDlg::ccColorFromScalarDlg(), ccScalarFieldArithmeticsDlg::ccScalarFieldArithmeticsDlg(), ccPropertiesTreeDelegate::createEditor(), ccCloudLayersHelper::getScalarFields(), BasePclModule::getSelectedAvailableScalarFields(), cc2smReader::getVtkPolyDataFromMeshCloud(), ccCompass::importFoliations(), ccCompass::importLineations(), ccPointCloudInterpolator::InterpolateScalarFieldsFrom(), ccEntityAction::interpolateSFs(), LasSaveDialog::LasSaveDialog(), PopulateSFCombo(), ccComparisonDlg::prepareEntitiesForComparison(), SaveScan(), and SimpleBinFilter::saveToFile().
|
inlinevirtual |
Invalidates bounding box.
Bounding box will be recomputed next time a request is made to 'getBoundingBox'.
Reimplemented in ccPointCloud.
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::reset().
|
inlineoverride |
|
inlineoverride |
|
inlineprotected |
Returns non const access to a given point.
WARNING: index must be valid
| index | point index |
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addEigenPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getEigenPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getNextPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getPointPersistentPtr(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getPointPtr(), and cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setEigenPoint().
|
inlineprotected |
Returns const access to a given point.
WARNING: index must be valid
| index | point index |
|
inline |
Renames a specific scalar field.
Warning: name must not be already given to another SF!
| index | scalar field index |
| newName | new name |
Referenced by ccComparisonDlg::applyAndExit().
|
inlinevirtual |
Reserves memory for the point database.
This method tries to reserve some memory to store points that will be inserted later (with PointCloud::addPoint). If the new number of points is smaller than the actual one, nothing happens.
| newNumberOfPoints | the new number of points |
Reimplemented in ccPointCloud, and ccSymbolCloud.
Referenced by AddVertex(), cloudViewer::PointProjectionTools::applyTransformation(), cloudViewer::DistanceComputationTools::computePoint2MeshDistancesWithOctree(), cloudViewer::PointProjectionTools::developCloudOnCone(), cloudViewer::PointProjectionTools::developCloudOnCylinder(), ccAlignDlg::estimateDelta(), cloudViewer::FPCSRegistrationTools::FilterCandidates(), cloudViewer::FPCSRegistrationTools::FindCongruentBases(), ImportSourceVertices(), ObjFilter::loadFile(), MergeOldTriangles(), cloudViewer::ICPRegistrationTools::Register(), cloudViewer::CloudSamplingTools::resampleCloudWithOctreeAtLevel(), cloudViewer::MeshSamplingTools::samplePointsOnMesh(), cloudViewer::Neighbourhood::triangulateFromQuadric(), and cloudViewer::Neighbourhood::triangulateOnPlane().
|
inline |
Clears the cloud database.
Equivalent to resize(0).
Referenced by cloudViewer::FPCSRegistrationTools::FilterCandidates(), and cloudViewer::ManualSegmentationTools::segmentMeshWithAABox().
|
inlinevirtual |
Resizes the point database.
The cloud database is resized with the specified size. If the new size is smaller, the overflooding points will be deleted. If its greater, the database is filled with blank points (warning, the PointCloud::addPoint method will insert points after those ones).
| newNumberOfPoints | the new number of points |
Reimplemented in ccPointCloud, ccSymbolCloud, and cloudViewer::PointCloud.
Referenced by ccPointCloud::shrinkToFit().
|
inline |
Sets the INPUT scalar field.
This scalar field will be used by the PointCloud::setPointScalarValue method.
| index | a scalar field index (or -1 if none) |
Referenced by ccLibAlgorithms::ApplyCCLibAlgorithm(), ccTrace::buildCurvatureCost(), ccTrace::buildGradientCost(), CommandStatTest::process(), ccEntityAction::rgbGaussianFilter(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setCurrentScalarField(), ccEntityAction::sfGaussianFilter(), and ccEntityAction::statisticalTest().
|
inline |
Sets the OUTPUT scalar field.
This scalar field will be used by the PointCloud::getPointScalarValue method.
| index | a scalar field index (or -1 if none) |
Referenced by ecvFilterByLabelDlg::apply(), ccLibAlgorithms::ApplyCCLibAlgorithm(), ccTrace::buildGradientCost(), ccCompass::estimateStrain(), masc::ContextBasedFeature::prepare(), ccEntityAction::rgbGaussianFilter(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setCurrentScalarField(), ccEntityAction::sfGaussianFilter(), and ccEntityAction::statisticalTest().
|
inline |
Sets both the INPUT & OUTPUT scalar field.
This scalar field will be used by both PointCloud::getPointScalarValue and PointCloud::setPointScalarValue methods.
| index | a scalar field index |
Referenced by ccTrace::buildCurvatureCost(), ccTrace::buildGradientCost(), ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), ccLibAlgorithms::ComputeGeomCharacteristic(), ccKdTree::convertCellIndexToSF(), qPCV::doAction(), ccCompass::estimateP21(), qFacets::extractFacets(), ccTrace::getSegmentCostCurve(), ccTrace::getSegmentCostGrad(), ccRegistrationTools::ICP(), ccTrace::optimizePath(), ccFastMarchingForNormsDirection::OrientNormals(), ccGenericPointCloud::pointPicking(), PCVCommand::Process(), CommandExtractCCs::process(), and ccEntityAction::processMeshSF().
|
inline |
|
inline |
|
inline |
Referenced by vtk2cc::ConvertToPointCloud(), ccMesh::FilterSharpen(), ccMesh::FilterSmoothLaplacianHelper(), ccMesh::FilterSmoothSimple(), cloudViewer::io::ReadPointCloudFromPTS(), ccMesh::RemoveVerticesByMask(), ccMesh::SimplifyQuadricDecimation(), ccMesh::SimplifyVertexClustering(), and ccMesh::SubdivideLoop().
|
inlineoverride |
Referenced by ccTrace::bakePathToScalarField(), ccTrace::buildCurvatureCost(), ccTrace::buildGradientCost(), ComputeCellGaussianFilter(), ccGBLSensor::computeDepthBuffer(), cloudViewer::DistanceComputationTools::computePoint2MeshDistancesWithOctree(), FastMarchingForFacetExtraction::ExtractPlanarFacets(), and ccTrace::optimizeSegment().
|
inlineoverride |
Referenced by ccPolyline::add(), ccPointPairRegistrationDlg::addAlignedPoint(), ccMesh::addEigenVertices(), qCanupo2DViewDialog::addOrSelectPoint(), ecvTools::AddPointCloud(), ccGraphicalSegmentationTool::addPointToPolyline(), ccPointPairRegistrationDlg::addReferencePoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addScalarField(), PclUtils::PCLVis::addScalarFieldToVTK(), AddVertex(), ccPointCloud::append(), cloudViewer::io::AutoReadEntity(), ccTrace::bakePathToScalarField(), BallPivoting::BallPivoting(), ccTrace::buildCurvatureCost(), ccTrace::buildGradientCost(), G3Point::G3PointAction::buildStacksFromG3PointLabelSF(), ccTrace::calculateOptimumSearchRadius(), ccPointPairRegistrationDlg::callHornRegistration(), cc2smReader::cc2smReader(), ccWaveDialog::ccWaveDialog(), cc2smReader::checkIfFieldExists(), masc::ContextBasedFeature::checkValidity(), MeshWrapper< Real >::checkVertexCapacity(), qCanupoProcess::Classify(), masc::Classifier::classify(), cloud2binary(), qM3C2Process::Compute(), cloudViewer::geometry::Qhull::ComputeConvexHull(), ccComparisonDlg::computeDistances(), ComputeFeatures(), cloudViewer::utility::ComputeFPFHFeature(), ccCameraSensor::computeGlobalPlaneCoefficients(), ComputeKmeansClustering(), DistanceMapGenerationTool::ComputeMinAndMaxLatitude_rad(), DistanceMapGenerationTool::ComputeRadialDist(), cloudViewer::utility::ComputeSPFHFeature(), ccEntityAction::computeStatParams(), DistanceMapGenerationTool::ComputeSurfacesAndVolumes(), cloudViewer::visualization::rendering::PointCloudBuffersBuilder::ConstructBuffers(), contourPoly(), ConverFromTo(), convert(), DistanceMapGenerationTool::ConvertCloudToConical(), DistanceMapGenerationTool::ConvertCloudToCylindrical(), cloudViewer::geometry::Octree::ConvertFromPointCloud(), ccRasterizeTool::convertGridToCloud(), DistanceMapGenerationTool::ConvertMapToCloud(), ccRasterGrid::convertToCloud(), vtk2cc::ConvertToMultiPolylines(), vtk2cc::ConvertToPolyline(), copyRGBColors(), copyScalarFields(), cloudViewer::geometry::TetraMesh::CreateFromPointCloud(), cloudViewer::geometry::LineSet::CreateFromPointCloudCorrespondences(), cloudViewer::geometry::VoxelGrid::CreateFromPointCloudWithinBounds(), DistanceMapGenerationTool::CreateMap(), ccPolyline::createNewPolylinesFromSelection(), ccCropTool::Crop(), qCSF::doAction(), qPoissonRecon::doAction(), qHoughNormals::doAction(), qCanupoPlugin::doTrainAction(), ccCameraSensor::drawMeOnly(), ccAlignDlg::estimateDelta(), ccCompass::estimateP21(), ccCompass::estimateStrain(), ccCompass::estimateStructureNormals(), masc::Classifier::evaluate(), ccRasterizeTool::exportContourLines(), GrainsAsEllipsoids::exportResultsAsCloud(), cvSelectionExporter::exportToPointCloud(), qFacets::extractFacets(), FastMarchingForFacetExtraction::ExtractPlanarFacets(), cloudViewer::pipelines::integration::UniformTSDFVolume::ExtractTriangleMesh(), cloudViewer::pipelines::integration::ScalableTSDFVolume::ExtractTriangleMesh(), cloudViewer::pipelines::registration::FastGlobalRegistrationBasedOnFeatureMatching(), ccMesh::FilterSharpen(), ccMesh::FilterSmoothLaplacian(), ccMesh::FilterSmoothLaplacianHelper(), ccMesh::FilterSmoothSimple(), ccMesh::FilterSmoothTaubin(), TreeIso::Final_seg_pcd(), cloudViewer::FPCSRegistrationTools::FindCongruentBases(), GrainsAsEllipsoids::fitEllipsoidToGrain(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::forEach(), ccDBRoot::gatherRecursiveInformation(), ccRasterizeTool::generateHillshade(), cc2smReader::getAsPointNormal(), cc2smReader::getAsSM(), G3Point::G3PointAction::getBorders(), ecvTools::GetClousterGroup(), PointCloudWrapper< Real >::getColor(), cc2smReader::getColors(), getCommonPtsIdx(), cc2smReader::getFloatScalarField(), GetKeyCluster(), getMortarMaps(), PointCloudWrapper< Real >::getNormal(), cc2smReader::getNormals(), cc2smReader::getOneOf(), cvDistanceTool::getOutput(), cvProtractorTool::getOutput(), ccCameraSensor::getOwnBB(), PointCloudWrapper< Real >::getPoint(), ecvTools::GetPolylines(), cc2smReader::getRawXYZ(), cloudViewer::pipelines::registration::GetRegistrationResultAndCorrespondences(), cvViewSelectionManager::getSourcePointCloud(), cc2smReader::getvisibilityNum(), cc2smReader::getvtkScalars(), cc2smReader::getXYZ2(), qM3C2Tools::GuessBestParams(), LasWaveformSaver::handlePoint(), LasScalarFieldLoader::handleRGBValue(), ccCommandLineParser::importFile(), ccCompassImport::importFoliations(), ccCompass::importFoliations(), ccCompass::importLineations(), ccCompassImport::importLineations(), ImportSourceVertices(), STEPFilter::importStepFile(), ccEntityAction::importToSF(), StereogramWidget::init(), ccGenericPrimitive::init(), TreeIso::Init_seg_pcd(), TreeIso::Intermediate_seg_pcd(), ccPointCloudInterpolator::InterpolateScalarFieldsFrom(), G3Point::G3PointAction::CloudAdaptor::kdtree_get_point_count(), cloudViewer::t::geometry::LegacySelectByIndex(), AsciiFilter::loadCloudFromFormatedAsciiStream(), SinusxFilter::loadFile(), DRCFilter::loadFile(), LASFilter::loadFile(), VTKFilter::loadFile(), ObjFilter::loadFile(), PTXFilter::loadFile(), CSVMatrixFilter::loadFile(), SalomeHydroFilter::loadFile(), STLFilter::loadFile(), LASFWFFilter::loadFile(), RDBFilter::loadFile(), DistanceMapGenerationDlg::loadOverlaySymbols(), LasWaveformLoader::loadWaveform(), main(), G3Point::G3PointAction::merge(), MergeOldTriangles(), ccCloudLayersHelper::mouseMove(), ccColorFromScalarDlg::onApply(), ccTracePolylineTool::onItemPicked(), MainWindow::onItemPicked(), ccPointPairRegistrationDlg::onPointCountChanged(), ccGenericPrimitive::operator+=(), ccTrace::optimizeSegment(), optRotY(), ccMinimumSpanningTreeForNormsDirection::OrientNormals(), ccFastMarchingForNormsDirection::OrientNormals(), ccGraphicalSegmentationTool::pauseSegmentationMode(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::point(), ccTracePolylineTool::polylineOverSampling(), masc::CorePoints::prepare(), masc::ContextBasedFeature::prepare(), masc::Feature::PrepareSF(), CommandCrossSection::process(), CommandCSF::process(), CommandFilterBySFValue::process(), CommandSampleMesh::process(), ccCloudLayersHelper::projectCloud(), ccMesh::pushSubdivide(), masc::Tools::RandomSubset(), cloudViewer::io::ReadPointCloud(), cloudViewer::io::ReadTriangleMeshFromOBJ(), cloudViewer::ICPRegistrationTools::Register(), cloudViewer::pipelines::registration::RegistrationRANSACBasedOnFeatureMatching(), ccPointPairRegistrationDlg::removeAlignedPoint(), ccPointPairRegistrationDlg::removeRefPoint(), ccMesh::RemoveVerticesByMask(), ResolveNormalsWithMST(), ccCloudLayersHelper::restoreState(), masc::PointFeature::retrieveField(), rotY(), ccPointCloudLODThread::run(), ccGenericMesh::samplePoints(), LasSaver::saveNextPoint(), SaveScan(), ccCloudLayersHelper::saveState(), DxfFilter::saveToFile(), SimpleBinFilter::saveToFile(), PcdFilter::saveToFile(), LASFWFFilter::saveToFile(), G3Point::G3PointAction::segment(), cloudViewer::ModelViewerWidget::SelectObject(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setEigenPoint(), ecvFilterByLabelDlg::setInputEntity(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setPoint(), ccCloudLayersHelper::setVisible(), ccEntityAction::sfAddIdField(), ccEntityAction::sfConvertToRandomRGB(), ccComparisonDlg::showHisto(), ccPointCloud::shrinkToFit(), ccMesh::SimplifyQuadricDecimation(), ccMesh::SimplifyVertexClustering(), PointCloudWrapper< Real >::size(), masc::CorePoints::size(), NormDipAndDipDirFieldWrapper::size(), DimScalarFieldWrapper::size(), ColorScalarFieldWrapper::size(), ccPolyline::smoothChaikin(), ecvPoissonReconDlg::start(), ecvFilterByLabelDlg::start(), ccMesh::SubdivideLoop(), ccMesh::SubdivideMidpoint(), colmap::mvs::MvsTexturing::TextureMesh(), toTranslatedVector(), masc::Classifier::train(), ccMesh::TriangulateTwoPolylines(), ccPointPairRegistrationDlg::unstackAligned(), ccPointPairRegistrationDlg::unstackRef(), ccPointPairRegistrationDlg::updateAlignInfo(), StereogramDialog::updateFacetsFilter(), cloudViewer::visualization::VisualizerWithVertexSelection::UpdateGeometry(), GrainsAsEllipsoids::updateMeshAndLineSet(), ccGraphicalSegmentationTool::updatePolyLine(), ccTracePolylineTool::updatePolyLineTip(), DistanceMapGenerationDlg::updateZoom(), G3Point::G3PointAction::wolman(), cloudViewer::io::WritePointCloud(), cloudViewer::io::WritePointCloudInMemoryToXYZ(), cloudViewer::io::WritePointCloudToPLY(), cloudViewer::io::WritePointCloudToPTS(), cloudViewer::io::WritePointCloudToXYZ(), cloudViewer::io::WritePointCloudToXYZN(), and cloudViewer::io::WritePointCloudToXYZRGB().
|
inlineprotectedvirtual |
Swaps two points (and their associated scalar values!)
Reimplemented in ccPointCloud.
|
protected |
|
protected |
Index of current scalar field used for input.
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::deleteAllScalarFields(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::deleteScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::enableScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getCurrentInScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getCurrentInScalarFieldIndex(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setCurrentInScalarField(), and cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setPointScalarValue().
|
protected |
Index of current scalar field used for output.
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::deleteAllScalarFields(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::deleteScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::enableScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getCurrentOutScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getCurrentOutScalarFieldIndex(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getPointScalarValue(), and cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setCurrentOutScalarField().
|
protected |
'Iterator' on the points db
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getNextPoint(), and cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::placeIteratorAtBeginning().
|
protected |
3D Points database
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addPoints(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::capacity(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::enableScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::forEach(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getBoundingBox(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getEigenPoints(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getNextPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getPoints(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::isScalarFieldEnabled(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::point(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::reserve(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::reset(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::resize(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setEigenPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setEigenPoints(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setPoint(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::size(), and cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::swapPoints().
|
protected |
Associated scalar fields.
Referenced by cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::addScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::deleteAllScalarFields(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::deleteScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getNumberOfScalarFields(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getPointScalarValue(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getScalarField(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getScalarFieldIndexByName(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::getScalarFieldName(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::reserve(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::resize(), cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::setPointScalarValue(), and cloudViewer::PointCloudTpl< GenericIndexedCloudPersist >::swapPoints().