![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Generic "CLOUDVIEWER Object" template. More...
#include <ecvObject.h>


Public Member Functions | |
| ccObject (QString name=QString()) | |
| Default constructor. More... | |
| ccObject (const ccObject &object) | |
| Copy constructor. More... | |
| virtual CV_CLASS_ENUM | getClassID () const =0 |
| Returns class ID. More... | |
| virtual QString | getName () const |
| Returns object name. More... | |
| virtual void | setName (const QString &name) |
| Sets object name. More... | |
| virtual void | setRemoveFlag (bool removeFlag) |
| Sets removeFlag. More... | |
| virtual bool | getRemoveFlag () |
| Returns removeFlag. More... | |
| virtual unsigned | getUniqueID () const |
| Returns object unique ID. More... | |
| virtual void | setUniqueID (unsigned ID) |
| Changes unique ID. More... | |
| virtual bool | isEnabled () const |
| Returns whether the object is enabled or not. More... | |
| virtual void | setEnabled (bool state) |
| Sets the "enabled" property. More... | |
| virtual void | toggleActivation () |
| Toggles the "enabled" property. More... | |
| virtual bool | isLocked () const |
| Returns whether the object is locked or not. More... | |
| virtual void | setLocked (bool state) |
| Sets the "enabled" property. More... | |
| bool | isLeaf () const |
| bool | isCustom () const |
| bool | isHierarchy () const |
| bool | isKindOf (CV_CLASS_ENUM type) const |
| bool | isA (CV_CLASS_ENUM type) const |
| QVariant | getMetaData (const QString &key) const |
| Returns a given associated meta data. More... | |
| bool | removeMetaData (const QString &key) |
| Removes a given associated meta-data. More... | |
| void | setMetaData (const QString &key, const QVariant &data) |
| Sets a meta-data element. More... | |
| void | setMetaData (const QVariantMap &dataset, bool overwrite=false) |
| Sets several meta-data elements at a time. More... | |
| bool | hasMetaData (const QString &key) const |
| Returns whether a meta-data element with the given key exists or not. More... | |
| const QVariantMap & | metaData () const |
| Returns meta-data map (const only) More... | |
| void | setBaseName (const QString &baseName) |
| QString | getBaseName () const |
| void | setFullPath (const QString &fullPaht) |
| QString | getFullPath () const |
Public Member Functions inherited from ccSerializableObject | |
| virtual | ~ccSerializableObject ()=default |
| Destructor. More... | |
| virtual bool | isSerializable () const |
| Returns whether object is serializable of not. More... | |
Static Public Member Functions | |
| static unsigned | GetCurrentDBVersion () |
| Returns current database version. More... | |
| static void | SetUniqueIDGenerator (ccUniqueIDGenerator::Shared generator) |
| Sets the unique ID generator. More... | |
| static ccUniqueIDGenerator::Shared | GetUniqueIDGenerator () |
| Returns the unique ID generator. More... | |
| static unsigned | GetNextUniqueID () |
| Returns a new unassigned unique ID. More... | |
| static unsigned | GetLastUniqueID () |
| Returns last assigned unique ID. More... | |
| static CV_CLASS_ENUM | ReadClassIDFromFile (QFile &in, short dataVersion) |
| Helper: reads out class ID from a binary stream. More... | |
Static Public Member Functions inherited from ccSerializableObject | |
| static bool | WriteError () |
| Sends a custom error message (write error) and returns 'false'. More... | |
| static bool | ReadError () |
| Sends a custom error message (read error) and returns 'false'. More... | |
| static bool | MemoryError () |
| Sends a custom error message (not enough memory) and returns 'false'. More... | |
| static bool | CorruptError () |
| Sends a custom error message (corrupted file) and returns 'false'. More... | |
Protected Member Functions | |
| virtual bool | getFlagState (CV_OBJECT_FLAG flag) const |
| Returns flag state. More... | |
| virtual void | setFlagState (CV_OBJECT_FLAG flag, bool state) |
| Sets flag state. More... | |
| bool | toFile (QFile &out, short dataVersion) const override |
| Saves data to binary stream. More... | |
| short | minimumFileVersion () const override |
| Returns the minimum file version required to save this instance. More... | |
| bool | fromFile (QFile &in, short dataVersion, int flags, LoadedIDMap &oldToNewIDMap) override |
| Reimplemented from ccSerializableObject::fromFile. More... | |
Protected Attributes | |
| QString | m_name |
| Object name. More... | |
| QString | m_baseName |
| QString | m_filePath |
| bool | m_removeFlag |
| unsigned | m_flags |
| Object flags. More... | |
| QVariantMap | m_metaData |
| Associated meta-data. More... | |
Additional Inherited Members | |
Public Types inherited from ccSerializableObject | |
| enum | DeserializationFlags { DF_POINT_COORDS_64_BITS , DF_SCALAR_VAL_32_BITS = 2 } |
| Deserialization flags (bit-field) More... | |
| typedef QMultiMap< unsigned, unsigned > | LoadedIDMap |
| Map of loaded unique IDs (old ID --> new ID) More... | |
Generic "CLOUDVIEWER Object" template.
Definition at line 49 of file ecvObject.h.
| ccObject::ccObject | ( | QString | name = QString() | ) |
Default constructor.
| name | object name (optional) |
| uniqueID | unique ID (handle with care! Will be auto generated if equal to ccUniqueIDGenerator::InvalidUniqueID) |
Definition at line 94 of file ecvObject.cpp.
| ccObject::ccObject | ( | const ccObject & | object | ) |
Copy constructor.
Definition at line 102 of file ecvObject.cpp.
|
overrideprotectedvirtual |
Reimplemented from ccSerializableObject::fromFile.
Be sure to call ccObject::ReadClassIDFromFile (once) before calling this method, as the classID is voluntarily skipped (in order to let the user instantiate the object first)
Reimplemented from ccSerializableObject.
Definition at line 234 of file ecvObject.cpp.
|
inline |
Definition at line 187 of file ecvObject.h.
|
pure virtual |
Returns class ID.
Implemented in ccTrace, cloudViewer::geometry::VoxelGrid, cloudViewer::geometry::RGBDImage, cloudViewer::geometry::Octree, cloudViewer::geometry::LineSet, cloudViewer::geometry::Image, cloudViewer::geometry::HalfEdgeTriangleMesh, ccTorus, cloudViewer::geometry::TetraMesh, ccSubMesh, ccSphere, ccSensor, ccQuadric, ccPolyline, ccPointCloud, ccPlane, ecvOrientedBBox, ccOctreeProxy, ccMeshGroup, cloudViewer::geometry::ecvMeshBase, ccMesh, ccMaterialSet, ccKdTree, ccIndexedTransformationBuffer, ccImage, ccHObject, ccGenericPrimitive, ccGBLSensor, ccFacet, ccExtru, ccDish, ccDisc, ccCylinder, ccCustomLeafObject, ccCustomHObject, ccCoordinateSystem, ccCone, ccClipBox, ccCircle, ccCameraSensor, ccBox, ccBBox, ccArray< Type, N, ComponentType >, ccArray< CompressedNormType, 1, CompressedNormType >, ccArray< TexCoords2D, 2, float >, ccArray< ecvColor::Rgba, 4, ColorCompType >, ccArray< CCVector3, 3, PointCoordinateType >, ccArray< ecvColor::Rgb, 3, ColorCompType >, TextureCoordsContainer, RGBAColorsTableType, ColorsTableType, NormsTableType, NormsIndexesTableType, cc2DViewportObject, cc2DViewportLabel, cc2DLabel, cloudViewer::visualization::SelectionPolygon, and cloudViewer::visualization::PointCloudPicker.
Referenced by ccHObject::isGroup().
|
static |
Returns current database version.
Definition at line 79 of file ecvObject.cpp.
References c_currentDBVersion.
|
inlineprotectedvirtual |
Returns flag state.
Definition at line 194 of file ecvObject.h.
|
inline |
Definition at line 190 of file ecvObject.h.
Referenced by PclAnnotationTool::setInputCloud().
|
static |
Returns last assigned unique ID.
Unique IDs are handled with persistent settings in order to assure consistency between main app and plugins!
Definition at line 90 of file ecvObject.cpp.
References s_uniqueIDGenerator().
| QVariant ccObject::getMetaData | ( | const QString & | key | ) | const |
Returns a given associated meta data.
| key | meta data unique identifier (case sensitive) |
Definition at line 208 of file ecvObject.cpp.
References m_metaData.
Referenced by ccFitPlane::ccFitPlane(), ccGeoObject::ccGeoObject(), ccTopologyRelation::ccTopologyRelation(), ccTrace::ccTrace(), qCanupoProcess::Classify(), define_ccObject(), ccRasterizeTool::generateContours(), GetFacetMetaData(), DistanceMapGenerationTool::GetPolylineHeightShift(), GetPolylineMetaVector(), DistanceMapGenerationTool::GetPoylineRevolDim(), cc2smReader::getVtkPolyDataWithTextures(), qAnimationDlg::init(), LasMetadata::LoadGlobalEncoding(), LasMetadata::LoadLasVersionFrom(), LasMetadata::LoadOffsetFrom(), LasMetadata::LoadProjectUUID(), LasMetadata::LoadScaleFrom(), LasMetadata::LoadVlrs(), FacetsClassifier::ProcessFamiliy(), SaveScan(), SinusxFilter::saveToFile(), MascaretFilter::saveToFile(), SimpleBinFilter::saveToFile(), FBXFilter::saveToFile(), LASFWFFilter::saveToFile(), and LASFilter::saveToFile().
|
inlinevirtual |
Returns object name.
Reimplemented in cc2DLabel.
Definition at line 72 of file ecvObject.h.
Referenced by ccGraphicalTransformationTool::addEntity(), ccGraphicalSegmentationTool::addEntity(), ccCompass::addGeoObject(), PclUtils::PCLVis::addScalarFieldToVTK(), MainWindow::addToDB(), G3Point::G3PointAction::angles(), ccPointCloud::append(), ecvFilterByLabelDlg::apply(), ccPointPairRegistrationDlg::apply(), ccLibAlgorithms::ApplyCCLibAlgorithm(), ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), ccGraphicalSegmentationTool::applySegmentation(), ccNormalComputationDlg::autoEstimateRadius(), cloudViewer::io::AutoReadEntity(), ccComparisonDlg::ccComparisonDlg(), ccPointPair::ccPointPair(), ccRasterizeTool::ccRasterizeTool(), ccSNECloud::ccSNECloud(), ccTrace::ccTrace(), ccVolumeCalcTool::ccVolumeCalcTool(), ccWaveDialog::ccWaveDialog(), ccEntityAction::changeColorLevels(), masc::PointFeature::checkValidity(), ccArray< Type, N, ComponentType >::clone(), ccMaterialSet::clone(), ccBox::clone(), ccCone::clone(), ccCoordinateSystem::clone(), ccCylinder::clone(), ccDisc::clone(), ccDish::clone(), ccExtru::clone(), ccPlane::clone(), ccQuadric::clone(), ccSphere::clone(), ccTorus::clone(), NormsIndexesTableType::clone(), NormsTableType::clone(), ColorsTableType::clone(), RGBAColorsTableType::clone(), TextureCoordsContainer::clone(), ccFacet::clone(), ccMesh::cloneMesh(), ccPointCloud::cloneThis(), compareObjects(), ccPointCloud::compressFWFData(), GeneralFilters::compute(), MLSSmoothingUpsampling::compute(), ProjectionFilter::compute(), StatisticalOutliersRemover::compute(), CorrespondenceMatching::compute(), TemplateAlignment::compute(), DONSegmentation::compute(), EuclideanClusterSegmentation::compute(), MinimumCutSegmentation::compute(), SACSegmentation::compute(), NurbsCurveFitting::compute(), qM3C2Process::Compute(), qVoxFallProcess::Compute(), ccLibAlgorithms::ComputeGeomCharacteristic(), ComputeMathOpWithNearestNeighbor(), ccPointCloud::computeNormalsWithGrids(), ccPointCloud::computeNormalsWithOctree(), ccEntityAction::computeStatParams(), ccTopologyRelation::constructGraphic(), contourPoly(), ccEntityAction::convertNormalsTo(), ccEntityAction::convertTextureToColor(), ccRasterGrid::convertToCloud(), ccEntityAction::ConvexHull(), ccFacet::Create(), qFacets::createFacets(), ccPointCloud::createNewCloudFromVisibilitySelection(), ccMesh::createNewMeshFromSelection(), ccPolyline::createNewPolylinesFromSelection(), ccSubMesh::createNewSubMeshFromSelection(), ccCropTool::Crop(), ccDBRoot::data(), ccEntityAction::DBScanCluster(), define_ccObject(), ccDBRoot::deleteSelectedEntities(), ccCompass::distributeSelection(), qCork::doAction(), qCSF::doAction(), qPCV::doAction(), qPoissonRecon::doAction(), qCanupoPlugin::doClassifyAction(), ecvPoissonReconDlg::doComputation(), qCanupoPlugin::doTrainAction(), ccHObject::draw(), cc2DViewportLabel::drawMeOnly(), ccHObject::drawNameIn3D(), ccSphere::drawNameIn3D(), ccRasterizeTool::exportContourLines(), StereogramDialog::exportCurrentSelection(), ccCommandLineParser::exportEntity(), qFacets::exportFacets(), ccVolumeCalcTool::exportGridAsCloud(), DistanceMapGenerationDlg::exportMapAsCloud(), DistanceMapGenerationDlg::exportMapAsMesh(), ecvMeasurementTool::exportMeasurement(), ccGraphicalTransformationTool::exportNewEntities(), ccEntityAction::exportNormalToSF(), ecvFilterTool::exportSlice(), qFacets::extractFacets(), ccPropertiesTreeDelegate::fillWithCCArray(), ccPropertiesTreeDelegate::fillWithHObject(), ccPropertiesTreeDelegate::fillWithViewportObject(), ccGenericPrimitive::finishCloneJob(), ccTraceTool::finishCurrentTrace(), ccRasterizeTool::generateCloud(), ccRasterizeTool::generateMesh(), G3Point::G3PointAction::getBorders(), ecvTools::GetClousterGroup(), qCanupoTools::GetEntityName(), GetEntityName(), CorrespondenceMatchingDialog::getEntityName(), TemplateAlignmentDialog::getEntityName(), MinimumCutSegmentationDlg::getEntityName(), GetFacetMetaData(), G3Point::G3PointAction::GetG3PointAction(), ccCompass::getInsertPoint(), cvIsoSurfaceFilter::getOutput(), cvSliceFilter::getOutput(), cvContourTool::getOutput(), ccSubsamplingDlg::getSampledCloud(), GetScalarFieldIndex(), ecvTools::GetSegmentationGroup(), cvViewSelectionManager::getSourceMesh(), cvViewSelectionManager::getSourcePointCloud(), ccHObject::getTypeID_recursive(), cc2smReader::getVtkPolyDataFromMeshCloud(), cc2smReader::getVtkPolyDataWithTextures(), ccOctree::GuessBestRadiusAutoComputeOctree(), ccPointCloud::hidePointsByScalarValue(), ccCommandLineParser::importFile(), ccEntityAction::importToSF(), qAnimationDlg::init(), ccPolyline::initWith(), PovFilter::loadFile(), E57Filter::loadFile(), FBXFilter::loadFile(), FileIOFilter::LoadFromFile(), ccMesh::merge(), ccCompass::mergeGeoObjects(), ccPointPairRegistrationDlg::onItemPicked(), ccPointCloud::operator=(), ccMinimumSpanningTreeForNormsDirection::OrientNormals(), ccFastMarchingForNormsDirection::OrientNormals(), ccEntityAction::orientNormalsFM(), ccEntityAction::orientNormalsMST(), ccPointCloud::orientNormalsWithGrids(), ccCameraSensor::orthoRectifyAsCloud(), ccCameraSensor::orthoRectifyAsImage(), ccCameraSensor::orthoRectifyAsImageDirect(), ccPointCloud::partialClone(), ccMesh::partialClone(), ccFitPlaneTool::pointPicked(), ccLineationTool::pointPicked(), ccNoteTool::pointPicked(), ccTracePolylineTool::polylineOverSampling(), masc::Tools::PrepareFeatures(), CommandCrossSection::process(), CommandOctreeNormal::process(), CommandInvertNormal::process(), CommandConvertNormalsToDipAndDipDir::process(), CommandConvertNormalsToSFs::process(), CommandSubsample::process(), CommandExtractCCs::process(), CommandSFConvertToRGB::process(), CommandMatchBBCenters::process(), CommandMatchBestFitPlane::process(), CommandOrientNormalsMST::process(), CommandSORFilter::process(), CommandStatTest::process(), CommandDelaunayTri::process(), CommandSFArithmetic::process(), CommandSFOperation::process(), CommandSFRename::process(), CommandRasterize::process(), CommandVolume25D::process(), CommandRANSAC::process(), PCVCommand::Process(), ccEntityAction::processMeshSF(), ccEntityAction::RansacSegmentation(), ccEntityAction::rgbGaussianFilter(), ccPointCloudLODThread::run(), ccGenericMesh::samplePoints(), ccPolyline::samplePoints(), SaveScan(), STLFilter::saveToASCIIFile(), STLFilter::saveToBINFile(), AsciiFilter::saveToFile(), ObjFilter::saveToFile(), STLFilter::saveToFile(), SalomeHydroFilter::saveToFile(), SinusxFilter::saveToFile(), HeightProfileFilter::saveToFile(), MascaretFilter::saveToFile(), DepthMapFileFilter::saveToFile(), ccPointCloud::SelectByIndex(), ccDBRoot::selectChildrenByTypeAndName(), ccEntityAction::setColor(), ccAlignDlg::setColorsAndLabels(), ccOrderChoiceDlg::setColorsAndLabels(), PclUtils::PCLVis::setCurrentSourceObject(), ccDBRoot::setData(), PclUtils::PCLVis::SetDataAxesGridProperties(), ccPropertiesTreeDelegate::setEditorData(), ecvFilterByLabelDlg::setInputEntity(), ccEntityAction::sfArithmetic(), ccEntityAction::sfGaussianFilter(), ccEntityAction::sfRename(), ccRenderingTools::ShowDepthBuffer(), ccComparisonDlg::showHisto(), G3Point::G3PointAction::showWolman(), ccPolyline::smoothChaikin(), ccDBRoot::sortSelectedEntitiesChildren(), ecvPoissonReconDlg::start(), ccEntityAction::statisticalTest(), ToFbxMesh(), ccMesh::Triangulate(), ccPointCloud::unroll(), ccRegistrationDlg::updateGUI(), FastGlobalRegistrationDialog::updateGUI(), ccHObject::updateNameIn3DRecursive(), cvSelectionPropertiesWidget::updateSelection(), and MainWindow::zoomOnEntities().
|
static |
Returns a new unassigned unique ID.
Unique IDs are handled with persistent settings in order to assure consistency between main app and plugins!
Definition at line 81 of file ecvObject.cpp.
References s_uniqueIDGenerator().
|
inlinevirtual |
|
inlinevirtual |
Returns object unique ID.
Definition at line 86 of file ecvObject.h.
Referenced by ccTrace::bakePathToScalarField(), define_ccObject(), qPoissonRecon::doAction(), ccGraphicalTransformationTool::exportNewEntities(), ccPropertiesTreeDelegate::fillWithHObject(), ccHObject::find(), ccHObject::findMaxUniqueID_recursive(), ccGeoObject::generateInterior(), ccGeoObject::generateLower(), ccGeoObject::generateUpper(), qCanupoTools::GetEntityName(), GetEntityName(), CorrespondenceMatchingDialog::getEntityName(), TemplateAlignmentDialog::getEntityName(), MinimumCutSegmentationDlg::getEntityName(), ccHObject::getUniqueIDForDisplay(), ccMesh::getUniqueIDForDisplay(), ccPointCloud::getUniqueIDForDisplay(), ccPolyline::getUniqueIDForDisplay(), ccHObject::getViewId(), ccCompass::hideAllPointClouds(), ccCommandLineParser::importFile(), StereogramDialog::init(), ccDBRoot::itemData(), ccTopologyTool::onNewSelection(), ccTraceTool::pickupTrace(), ccLineationTool::pointPicked(), ccThicknessTool::pointPicked(), ccTraceTool::pointPicked(), ccPointListPickingDlg::removeLastEntry(), cloudViewer::ModelViewerWidget::SelectObject(), ecvDisplayTools::StartCPUBasedPointPicking(), ecvDisplayTools::StartOpenGLPicking(), ecvFilterTool::stop(), ccCompass::tryLoading(), and FastGlobalRegistrationDialog::updateGUI().
|
static |
Returns the unique ID generator.
Definition at line 75 of file ecvObject.cpp.
References s_uniqueIDGenerator().
Referenced by MainWindow::getUniqueIDGenerator().
| bool ccObject::hasMetaData | ( | const QString & | key | ) | const |
Returns whether a meta-data element with the given key exists or not.
| key | meta-data unique identifier (case sensitive) |
Definition at line 230 of file ecvObject.cpp.
References m_metaData.
Referenced by ccFitPlane::ccFitPlane(), ccTopologyRelation::ccTopologyRelation(), ccTrace::ccTrace(), define_ccObject(), BasePclModule::getSelectedThatHaveMetaData(), qAnimationDlg::init(), ccFitPlane::isFitPlane(), ccGeoObject::isGeoObject(), ccGeoObject::isGeoObjectInterior(), ccGeoObject::isGeoObjectLower(), ccGeoObject::isGeoObjectUpper(), ccLineation::isLineation(), ccNote::isNote(), ccPinchNode::isPinchNode(), ccPointPair::isPointPair(), ccGeoObject::isSingleSurfaceGeoObject(), ccSNECloud::isSNECloud(), ccThickness::isThickness(), ccTopologyRelation::isTopologyRelation(), ccTrace::isTrace(), LasMetadata::LoadProjectUUID(), LasMetadata::LoadVlrs(), SinusxFilter::saveToFile(), MascaretFilter::saveToFile(), SimpleBinFilter::saveToFile(), FBXFilter::saveToFile(), LASFWFFilter::saveToFile(), and LASFilter::saveToFile().
|
inline |
Definition at line 131 of file ecvObject.h.
References type.
Referenced by PclUtils::PCLVis::addCaption(), ccGraphicalTransformationTool::addEntity(), ccGraphicalSegmentationTool::addEntity(), ecvPoissonReconDlg::addEntity(), ccDBRoot::alignCameraWithEntity(), ccPointCloud::append(), ecvFilterByLabelDlg::apply(), ccGraphicalTransformationTool::apply(), ccLibAlgorithms::ApplyCCLibAlgorithm(), ccGraphicalSegmentationTool::applySegmentation(), cloudViewer::io::AutoReadEntity(), CCCloudToDraco(), ccComparisonDlg::ccComparisonDlg(), ccRasterizeTool::ccRasterizeTool(), qFacets::classifyFacetsByAngle(), ccEntityAction::clearProperty(), ccPointCloud::clone(), ccMesh::cloneMesh(), ccComparisonDlg::computeDistances(), ccLibAlgorithms::ComputeGeomCharacteristic(), ccMesh::computePerVertexNormals(), ccKdTree::convertCellIndexToRandomColor(), ccKdTree::convertCellIndexToSF(), ccMesh::convertMaterialsToVertexColors(), ccEntityAction::convertNormalsTo(), ccRasterGrid::convertToCloud(), ccCompass::convertToPointCloud(), G3Point::G3PointAction::createAction(), ccCropTool::Crop(), ccDBRoot::data(), qCSF::doAction(), qPCV::doAction(), qPoissonRecon::doAction(), qRansacSD::doAction(), ccHObject::draw(), PCLDisplayTools::draw(), PclUtils::PCLVis::draw(), ccGenericMesh::drawMeOnly(), ccMesh::drawMeOnly(), ccDBRoot::dropMimeData(), ccDBRoot::editLabelScalarValue(), ccDBRoot::enableBubbleViewMode(), StereogramDialog::exportCurrentSelection(), ccCommandLineParser::exportEntity(), ccCompass::exportToSVG(), ccPropertiesTreeDelegate::fillModel(), ccRasterGrid::fillWith(), ccPropertiesTreeDelegate::fillWithMesh(), ccPropertiesTreeDelegate::fillWithPointCloud(), ccPropertiesTreeDelegate::fillWithPolyline(), ccPropertiesTreeDelegate::fillWithPrimitive(), ccPropertiesTreeDelegate::fillWithViewProperties(), TreeIso::Final_seg(), ccDBRoot::flags(), ccKdTreeForFacetExtraction::FuseCells(), ccDBRoot::gatherRecursiveInformation(), ccRasterizeTool::generateRaster(), MinimumCutSegmentationDlg::get2DLabelFromCombo(), GetCloudFromCombo(), qCanupoTools::GetCloudFromCombo(), CorrespondenceMatchingDialog::getCloudFromCombo(), TemplateAlignmentDialog::getCloudFromCombo(), cc2DLabel::getLabelInfo1(), GetMeshFromCombo(), ccDBRoot::getSelectedEntities(), BasePclModule::getSelectedEntitiesThatAre(), BasePclModule::getSelectedEntitiesThatAreCCPointCloud(), BasePclModule::getSelectedEntityAsCCPointCloud(), PclUtils::PCLVis::getSourceCloud(), cvViewSelectionManager::getSourcePointCloud(), ccMesh::getUniqueIDForDisplay(), ccPointCloud::getUniqueIDForDisplay(), ccPolyline::getUniqueIDForDisplay(), ccGenericMesh::handleColorRamp(), ccHObject::hideObject_recursive(), ccRegistrationTools::ICP(), StereogramWidget::init(), TreeIso::Init_seg(), TreeIso::Intermediate_seg(), ccEntityAction::interpolateColors(), DistanceMapGenerationDlg::labelFontSizeChanged(), PTXFilter::loadFile(), E57Filter::loadFile(), ccMesh::merge(), ecvDisplayTools::onItemPickedFast(), DistanceMapGenerationDlg::overlayGridColorChanged(), DistanceMapGenerationDlg::overlaySymbolsColorChanged(), DistanceMapGenerationDlg::overlaySymbolsSizeChanged(), ccMesh::partialClone(), ccThicknessTool::pointPicked(), ccGenericPointCloud::pointPicking(), ccOctree::pointPicking(), ccComparisonDlg::prepareEntitiesForComparison(), CommandClearNormals::process(), CommandRemoveAllSFs::process(), CommandRemoveSF::process(), CommandRemoveRGB::process(), CommandRemoveNormals::process(), CommandRemoveScanGrids::process(), CommandCrop::process(), ccEntityAction::processMeshSF(), ccMesh::pushSubdivide(), ccEntityAction::rgbToGreyScale(), AsciiFilter::saveToFile(), DxfFilter::saveToFile(), VTKFilter::saveToFile(), SalomeHydroFilter::saveToFile(), SinusxFilter::saveToFile(), HeightProfileFilter::saveToFile(), MAFilter::saveToFile(), MascaretFilter::saveToFile(), SimpleBinFilter::saveToFile(), E57Filter::saveToFile(), FBXFilter::saveToFile(), LasIOFilter::saveToFile(), LASFilter::saveToFile(), DepthMapFileFilter::saveToFile(), ccPointCloud::scale(), ccDBRoot::selectEntities(), ccDBRoot::selectEntity(), ccCustomQTreeView::selectionCommand(), ccEntityAction::setColor(), ccEntityAction::setColorGradient(), ccDBRoot::setData(), ccEntityAction::sfSetAsCoord(), ccDBRoot::showContextMenu(), ecvDisplayTools::StartCPUBasedPointPicking(), ccMesh::subdivide(), ccPointCloud::testVisibility(), ccHObjectCaster::To2DLabel(), ccHObjectCaster::To2DViewportLabel(), ccHObjectCaster::ToCameraSensor(), ccHObjectCaster::ToCylinder(), ccHObjectCaster::ToDisc(), ccHObjectCaster::ToDish(), ccHObjectCaster::ToExtru(), ccHObjectCaster::ToFacet(), ToFbxMesh(), ccHObjectCaster::ToGBLSensor(), ccHObjectCaster::ToGenericPointCloud(), ccHObjectCaster::ToKdTree(), ccHObjectCaster::ToMesh(), ccHObjectCaster::ToOctreeProxy(), ccHObjectCaster::ToPlanarEntity(), ccHObjectCaster::ToPlane(), ccHObjectCaster::ToPointCloud(), ccHObjectCaster::ToPolyline(), ccHObjectCaster::ToSphere(), ccHObjectCaster::ToSubMesh(), ccHObjectCaster::ToTorus(), ecvDisplayTools::UpdateActiveItemsList(), ccPointPairRegistrationDlg::updateAllMarkers(), StereogramDialog::updateFacetsFilter(), and ccPointPairRegistrationDlg::updateSphereMarks().
|
inline |
Definition at line 123 of file ecvObject.h.
References CC_CUSTOM_BIT.
Referenced by define_ccObject().
|
inlinevirtual |
Returns whether the object is enabled or not.
Shortcut to access flag CC_ENABLED
Definition at line 97 of file ecvObject.h.
References CC_ENABLED.
Referenced by ccFacet::clone(), ccMesh::cloneMesh(), ccPointCloud::cloneThis(), ccComparisonDlg::computeDistances(), ccMesh::createNewMeshFromSelection(), ccDBRoot::data(), define_ccObject(), ccHObject::draw(), cc2DViewportLabel::drawMeOnly(), ccKdTree::drawMeOnly(), ccOctreeProxy::drawMeOnly(), cc2DLabel::drawMeOnly2D(), cc2DLabel::drawMeOnly3D(), ccCompass::estimateStrain(), ccGenericPrimitive::finishCloneJob(), ccPointCloud::From(), ccRasterizeTool::generateCloud(), ccGenericMesh::handleColorRamp(), ccHObject::isBranchEnabled(), ccMesh::merge(), ccPointCloud::operator=(), ccPointCloud::partialClone(), ccMesh::partialClone(), ccTracePolylineTool::polylineOverSampling(), ccHObject::popDisplayState(), ecvDisplayTools::ProcessPickingResult(), ccPointCloud::SelectByIndex(), ccDBRoot::setData(), ccHObject::setRedrawFlagRecursive(), ecvDisplayTools::StartCPUBasedPointPicking(), ccDBRoot::toggleSelectedEntitiesProperty(), ccCompass::tryLoading(), and ccTracePolylineTool::updatePolyLineTip().
|
inline |
Definition at line 124 of file ecvObject.h.
References CC_HIERARCH_BIT.
Referenced by define_ccObject(), and ccPropertiesTreeDelegate::fillModel().
|
inline |
Definition at line 128 of file ecvObject.h.
References type.
Referenced by ecvAnnotationsTool::addAssociatedEntity(), ccGraphicalTransformationTool::addEntity(), ccGraphicalSegmentationTool::addEntity(), ecvPoissonReconDlg::addEntity(), MainWindow::addToDB(), ccPointPairRegistrationDlg::align(), ccPointCloud::append(), ecvFilterByLabelDlg::apply(), ccGraphicalTransformationTool::apply(), ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), ccGraphicalSegmentationTool::applySegmentation(), cloudViewer::io::AutoReadEntity(), CanDetachCloud(), ecvDisplayTools::ChangeEntityProperties(), ccPointPairRegistrationDlg::clear(), ccHObjectCaster::CloneChildren(), compareObjects(), ccEntityAction::computeNormals(), vtk2cc::ConvertToPolyline(), ccPointPairRegistrationDlg::convertToSphereCenter(), ccDBRoot::countSelectedEntities(), ccCropTool::Crop(), ccDBRoot::deleteSelectedEntities(), qPCV::doAction(), ccHObject::draw(), PCLDisplayTools::draw(), PCLDisplayTools::drawWidgets(), ccDBRoot::dropMimeData(), ccCommandLineParser::exportEntity(), ccDBRoot::exportImages(), ccPropertiesTreeDelegate::fillModel(), ccPropertiesTreeDelegate::fillWithPrimitive(), ccPropertiesTreeDelegate::fillWithViewProperties(), FindRobust(), cloudViewer::visualization::ViewControl::FitInGeometry(), ccDBRoot::flags(), ccDBRoot::gatherRecursiveInformation(), cvIsoSurfaceFilter::getOutput(), cvSliceFilter::getOutput(), cvDistanceTool::getOutput(), cvProtractorTool::getOutput(), ccDBRoot::getSelectedEntities(), cvViewSelectionManager::getSourceMesh(), PclUtils::PCLVis::getSourceMesh(), ccGenericMesh::handleColorRamp(), ccPointCloud::hasSensor(), ccCompass::hideAllPointClouds(), ccRegistrationTools::ICP(), ccGenericMesh::IsCloudVerticesOfMesh(), ccPolyline::IsCloudVerticesOfPolyline(), ccPointPairRegistrationDlg::label2DMove(), PovFilter::loadFile(), ccMesh::mergeDuplicatedVertices(), ccMPlaneDlgController::onItemPicked(), HSVDialog::onItemPicked(), RgbDialog::onItemPicked(), ScalarDialog::onItemPicked(), ccPointPickingGenericInterface::onItemPicked(), qMPlane::onNewSelection(), ccCompass::pointPicked(), ccComparisonDlg::prepareEntitiesForComparison(), ccGraphicalSegmentationTool::prepareEntityForRemoval(), ecvDisplayTools::ProcessPickingResult(), ccPointPairRegistrationDlg::removeAlignedPoint(), ccHObject::removeFromRenderScreen(), ccPointPairRegistrationDlg::removeRefPoint(), ccPointPairRegistrationDlg::reset(), ccColorScaleEditorDialog::saveCurrentScale(), AsciiFilter::saveToFile(), DepthMapFileFilter::saveToFile(), DxfFilter::saveToFile(), ObjFilter::saveToFile(), OFFFilter::saveToFile(), STLFilter::saveToFile(), DRCFilter::saveToFile(), FBXFilter::saveToFile(), cloudViewer::ModelViewerWidget::SelectObject(), ccEntityAction::setColor(), ccDBRoot::setData(), cvGenericFilter::setInput(), ecvFilterByLabelDlg::setInputEntity(), ccHObject::setLineWidthRecursive(), ccHObject::setPointSizeRecursive(), ccHObject::setRedrawFlagRecursive(), ccPointPairRegistrationDlg::showAlignedEntities(), ccDBRoot::showContextMenu(), ccPointPairRegistrationDlg::showReferenceEntities(), ecvPoissonReconDlg::start(), ecvDisplayTools::StartCPUBasedPointPicking(), ecvDisplayTools::StartOpenGLPicking(), ccHObjectCaster::To2DViewportObject(), ccHObjectCaster::ToBBox(), ccHObjectCaster::ToBox(), ccHObjectCaster::ToCircle(), ccHObjectCaster::ToCone(), ccHObjectCaster::ToCoordinateSystem(), ccHObjectCaster::ToGenericMesh(), ccHObjectCaster::ToGenericPointCloud(), ccHObjectCaster::ToImage(), ccHObjectCaster::ToImage2(), ccHObjectCaster::ToLineSet(), ccHObjectCaster::ToMesh(), ccHObjectCaster::ToOctree2(), ccHObjectCaster::ToOrientedBBox(), ccHObjectCaster::ToPointCloud(), ccHObjectCaster::ToPrimitive(), ccHObjectCaster::ToQuadric(), ccHObjectCaster::ToRGBDImage(), ccHObjectCaster::ToSensor(), ccHObjectCaster::ToShifted(), ccHObjectCaster::ToTransBuffer(), ccHObjectCaster::ToVoxelGrid(), ccMesh::transformTriNormals(), ccPointPairRegistrationDlg::updateAlignedMarkers(), VtkUtils::TableModel::updateData(), ccRegistrationDlg::updateGUI(), ccNormalVectors::UpdateNormalOrientations(), and ccPointPairRegistrationDlg::updateRefMarkers().
|
inline |
Definition at line 122 of file ecvObject.h.
References CC_LEAF_BIT.
Referenced by ccHObject::addChild(), define_ccObject(), ccDBRoot::dropMimeData(), and ccDBRoot::showContextMenu().
|
inlinevirtual |
Returns whether the object is locked or not.
Shortcut to access flag CC_LOCKED
Definition at line 112 of file ecvObject.h.
References CC_LOCKED.
Referenced by ccGraphicalTransformationTool::addEntity(), ccGraphicalSegmentationTool::applySegmentation(), ccFacet::clone(), ccPointCloud::createNewCloudFromVisibilitySelection(), ccDBRoot::data(), define_ccObject(), ccDBRoot::deleteSelectedEntities(), ccPropertiesTreeDelegate::fillWithHObject(), ccPropertiesTreeDelegate::fillWithMesh(), ccDBRoot::flags(), ccPointCloud::operator+=(), ccPointCloud::resize(), ccEntityAction::setColor(), ccPointCloud::swapPoints(), ccHObjectCaster::ToGenericPointCloud(), and ccHObjectCaster::ToPointCloud().
|
inline |
Returns meta-data map (const only)
Definition at line 184 of file ecvObject.h.
Referenced by ccPropertiesTreeDelegate::fillWithMetaData(), ccGenericMesh::importParametersFrom(), ccGenericPointCloud::importParametersFrom(), and ccPolyline::importParametersFrom().
|
overrideprotectedvirtual |
Returns the minimum file version required to save this instance.
To be overridden by subclasses to indicate their minimum required version. This enables the system to determine:
Implements ccSerializableObject.
Definition at line 187 of file ecvObject.cpp.
Referenced by ccHObject::minimumFileVersion().
|
static |
Helper: reads out class ID from a binary stream.
Must be called before 'fromFile'!
Definition at line 189 of file ecvObject.cpp.
| bool ccObject::removeMetaData | ( | const QString & | key | ) |
Removes a given associated meta-data.
| key | meta-data unique identifier (case sensitive) |
Definition at line 212 of file ecvObject.cpp.
References m_metaData.
Referenced by define_ccObject().
|
inline |
Definition at line 186 of file ecvObject.h.
Referenced by cloudViewer::io::AutoReadEntity(), and FileIOFilter::LoadFromFile().
|
inlinevirtual |
Sets the "enabled" property.
Shortcut to modify flag CC_ENABLED
Definition at line 102 of file ecvObject.h.
References CC_ENABLED.
Referenced by ecvAnnotationsTool::addAssociatedEntity(), ecvFilterTool::addAssociatedEntity(), ecvMeasurementTool::addAssociatedEntity(), ccGraphicalSegmentationTool::addEntity(), ccSensor::addPosition(), ecvFilterByLabelDlg::apply(), BallPivoting::BallPivoting(), ccPointListPickingDlg::cancelAndExit(), cc2DLabel::cc2DLabel(), ccCircle::ccCircle(), ccComparisonDlg::ccComparisonDlg(), ccGenericPrimitive::ccGenericPrimitive(), ccImage::ccImage(), ccMesh::ccMesh(), ccMouseCircle::ccMouseCircle(), ccPointPairRegistrationDlg::ccPointPairRegistrationDlg(), ccRasterizeTool::ccRasterizeTool(), ccTracePolylineTool::ccTracePolylineTool(), ccPolyline::Circle(), ccFacet::clone(), ccMesh::cloneMesh(), ccTracePolylineTool::closePolyLine(), GeneralFilters::compute(), MLSSmoothingUpsampling::compute(), StatisticalOutliersRemover::compute(), DONSegmentation::compute(), EuclideanClusterSegmentation::compute(), MinimumCutSegmentation::compute(), RegionGrowingSegmentation::compute(), SACSegmentation::compute(), qM3C2Process::Compute(), qVoxFallProcess::Compute(), ccGriddedTools::ComputeBestSensor(), cloudViewer::geometry::Qhull::ComputeConvexHull(), ccTopologyRelation::constructGraphic(), pcl2cc::Convert(), vtk2cc::ConvertToMesh(), vtk2cc::ConvertToMultiPolylines(), ccFacet::Create(), ccMesh::CreateBox(), ccMesh::CreateCone(), ccMesh::CreateCylinder(), ccMesh::CreateFromPointCloudAlphaShape(), ccMesh::CreateIcosahedron(), CreateLabel(), ccMesh::CreateMobius(), ccMesh::createNewMeshFromSelection(), ccPolyline::createNewPolylinesFromSelection(), ccMesh::CreateOctahedron(), ccMesh::CreatePlane(), ccMesh::CreateSphere(), ccMesh::CreateTetrahedron(), ccMesh::CreateTorus(), ccCropTool::Crop(), define_ccObject(), ccMesh::DeformAsRigidAsPossible(), qCork::doAction(), qCSF::doAction(), qPoissonRecon::doAction(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), q3DMASCPlugin::doTrainAction(), ecvDisplayTools::DrawPivot(), ecvMeasurementTool::exportMeasurement(), ccGraphicalTransformationTool::exportNewEntities(), ccPointListPickingDlg::exportToNewPolyline(), ccContourExtractor::ExtractConcaveHull2D(), ccContourExtractor::ExtractFlatContour(), cloudViewer::pipelines::integration::ScalableTSDFVolume::ExtractTriangleMesh(), cloudViewer::pipelines::integration::UniformTSDFVolume::ExtractTriangleMesh(), ccMesh::FilterSharpen(), ccMesh::FilterSmoothLaplacian(), ccMesh::FilterSmoothSimple(), ccMesh::FilterSmoothTaubin(), ccGenericPrimitive::finishCloneJob(), ccPointCloud::From(), FromFbxMesh(), ccRasterizeTool::generateCloud(), ccRasterizeTool::generateContours(), ccRasterizeTool::generateMesh(), cvDistanceTool::getOutput(), cvProtractorTool::getOutput(), ccHObject::getTypeID_recursive(), ccHObject::hideObject_recursive(), STEPFilter::importStepFile(), ccImage::load(), ProfileLoader::Load(), IcmFilter::LoadCalibratedImages(), CSVMatrixFilter::loadFile(), PhotoScanFilter::loadFile(), PcdFilter::loadFile(), ObjFilter::loadFile(), OFFFilter::loadFile(), STLFilter::loadFile(), VTKFilter::loadFile(), PovFilter::loadFile(), SalomeHydroFilter::loadFile(), SinusxFilter::loadFile(), PlyFilter::loadFile(), LoadImage(), LoadScan(), main(), ccMesh::merge(), ccTracePolylineTool::onItemPicked(), ccMesh::operator=(), ccPointCloud::operator=(), ccMesh::partialClone(), ccCompass::pointPicked(), ccHObject::popDisplayState(), CommandMergeMeshes::process(), CommandDelaunayTri::process(), CommandRasterize::process(), CommandVolume25D::process(), cloudViewer::visualization::MessageProcessor::ProcessMessage(), ccPointPropertiesDlg::processPickedPoint(), ecvDisplayTools::ProcessPickingResult(), ccEntityAction::RansacSegmentation(), cloudViewer::io::ReadModelUsingAssimp(), cloudViewer::io::ReadTriangleMeshFromGLTF(), ccPointListPickingDlg::removeEntity(), ccTracePolylineTool::restart(), ccMesh::SelectByIndex(), ccOrderChoiceDlg::setColorsAndLabels(), ccDBRoot::setData(), SetEnabled_recursive(), ccGenericPointCloud::setOctree(), ccPointPairRegistrationDlg::showAlignedEntities(), ccPointPairRegistrationDlg::showReferenceEntities(), ccMesh::SimplifyQuadricDecimation(), ccMesh::SimplifyVertexClustering(), ccPolyline::smoothChaikin(), ecvPoissonReconDlg::start(), ccMesh::SubdivideLoop(), ccMesh::SubdivideMidpoint(), DistanceMapGenerationDlg::toggleOverlayGrid(), ccDBRoot::toggleSelectedEntitiesProperty(), Cloth::toMesh(), ccMesh::TriangulateTwoPolylines(), ccCompass::tryLoading(), ccPointPairRegistrationDlg::updateAllMarkers(), ccComparisonDlg::updateDisplay(), GrainsAsEllipsoids::updateMeshAndLineSet(), and ccTracePolylineTool::updatePolyLineTip().
|
protectedvirtual |
Sets flag state.
| flag | object flag to set |
| state | flag state |
Definition at line 120 of file ecvObject.cpp.
References m_flags.
Referenced by ccArray< Type, N, ComponentType >::ccArray(), and ccMaterialSet::ccMaterialSet().
|
inline |
Definition at line 189 of file ecvObject.h.
Referenced by cloudViewer::io::AutoReadEntity(), and FileIOFilter::LoadFromFile().
|
inlinevirtual |
Sets the "enabled" property.
Shortcut to modify flag CC_LOCKED
Definition at line 117 of file ecvObject.h.
References CC_LOCKED.
Referenced by BallPivoting::BallPivoting(), ccGenericPrimitive::ccGenericPrimitive(), ccMesh::ccMesh(), ccCircle::clone(), ccFacet::clone(), cloudViewer::geometry::Qhull::ComputeConvexHull(), pcl2cc::Convert(), vtk2cc::ConvertToMesh(), ccFacet::Create(), ccMesh::CreateBox(), ccMesh::CreateCone(), ccMesh::CreateCylinder(), ccMesh::CreateFromPointCloudAlphaShape(), ccMesh::CreateIcosahedron(), ccMesh::CreateMobius(), ccMesh::CreateOctahedron(), ccMesh::CreatePlane(), ccMesh::CreateSphere(), ccMesh::CreateTetrahedron(), ccMesh::CreateTorus(), define_ccObject(), ccMesh::DeformAsRigidAsPossible(), cloudViewer::pipelines::integration::ScalableTSDFVolume::ExtractTriangleMesh(), cloudViewer::pipelines::integration::UniformTSDFVolume::ExtractTriangleMesh(), ccMesh::FilterSharpen(), ccMesh::FilterSmoothLaplacian(), ccMesh::FilterSmoothSimple(), ccMesh::FilterSmoothTaubin(), ProfileLoader::Load(), ObjFilter::loadFile(), STLFilter::loadFile(), VTKFilter::loadFile(), main(), ccMesh::operator=(), cloudViewer::visualization::MessageProcessor::ProcessMessage(), cloudViewer::io::ReadModelUsingAssimp(), ccMesh::SelectByIndex(), ccMesh::SimplifyQuadricDecimation(), ccMesh::SimplifyVertexClustering(), ccMesh::SubdivideLoop(), ccMesh::SubdivideMidpoint(), and GrainsAsEllipsoids::updateMeshAndLineSet().
| void ccObject::setMetaData | ( | const QString & | key, |
| const QVariant & | data | ||
| ) |
Sets a meta-data element.
| key | meta-data unique identifier (case sensitive) |
| data | data |
Definition at line 216 of file ecvObject.cpp.
References data, and m_metaData.
Referenced by ccFitPlane::ccFitPlane(), ccTrace::ccTrace(), qCanupoProcess::Classify(), define_ccObject(), ccCompass::estimateStrain(), ccQuadric::Fit(), ccPlane::Fit(), ccCompass::fitPlaneToGeoObject(), ccRasterizeTool::generateContours(), ccGeoObject::generateInterior(), ccGeoObject::generateLower(), ccGeoObject::generateUpper(), GrainsAsEllipsoids::GrainsAsEllipsoids(), ccGenericMesh::importParametersFrom(), ccGenericPointCloud::importParametersFrom(), ccPolyline::importParametersFrom(), ObjFilter::loadFile(), SinusxFilter::loadFile(), FBXFilter::loadFile(), LASFWFFilter::loadFile(), LASFilter::loadFile(), PlyFilter::loadFile(), LoadScan(), qAnimationDlg::onAccept(), ccTrace::optimizePath(), FacetsClassifier::ProcessFamiliy(), LasMetadata::SaveMetadataInto(), DistanceMapGenerationTool::SetPolylineHeightShift(), SetPoylineMetaVector(), DistanceMapGenerationTool::SetPoylineRevolDim(), ccFitPlane::updateAttributes(), ccSNECloud::updateMetadata(), ccLineation::updateMetadata(), ccNote::updateMetadata(), ccPinchNode::updateMetadata(), ccThickness::updateMetadata(), and ccTopologyRelation::updateMetadata().
| void ccObject::setMetaData | ( | const QVariantMap & | dataset, |
| bool | overwrite = false |
||
| ) |
Sets several meta-data elements at a time.
| dataset | meta-data set |
| overwrite | whether existing meta-data elements should be replaced by the input ones (with the same key) or not |
Definition at line 220 of file ecvObject.cpp.
References m_metaData.
|
inlinevirtual |
Sets object name.
Definition at line 75 of file ecvObject.h.
References name.
Referenced by ccRasterizeTool::addNewContour(), ecvTools::AddPointCloud(), ecvFilterByLabelDlg::apply(), ccGraphicalSegmentationTool::applySegmentation(), cloudViewer::io::AutoReadEntity(), ccCircle::ccCircle(), ccFitPlane::ccFitPlane(), ccGenericPrimitive::ccGenericPrimitive(), ccPointPair::ccPointPair(), ccSNECloud::ccSNECloud(), ccTrace::ccTrace(), ccPolyline::Circle(), cc2DLabel::clear(), NormsIndexesTableType::clone(), NormsTableType::clone(), ColorsTableType::clone(), RGBAColorsTableType::clone(), TextureCoordsContainer::clone(), ccFacet::clone(), ccHObjectCaster::CloneChildren(), ccMesh::cloneMesh(), ccPointPropertiesDlg::close2DZone(), ExtractSIFT::compute(), GeneralFilters::compute(), MLSSmoothingUpsampling::compute(), ProjectionFilter::compute(), StatisticalOutliersRemover::compute(), CorrespondenceMatching::compute(), TemplateAlignment::compute(), DONSegmentation::compute(), EuclideanClusterSegmentation::compute(), MinimumCutSegmentation::compute(), RegionGrowingSegmentation::compute(), SACSegmentation::compute(), ConvexConcaveHullReconstruction::compute(), GreedyTriangulation::compute(), MarchingCubeReconstruction::compute(), NurbsCurveFitting::compute(), NurbsSurfaceReconstruction::compute(), PoissonReconstruction::compute(), qM3C2Process::Compute(), ComputeKmeansClustering(), ccTopologyRelation::constructGraphic(), contourPoly(), contourPoly2(), pcl2cc::Convert(), ccRasterGrid::convertToCloud(), vtk2cc::ConvertToMesh(), vtk2cc::ConvertToMultiPolylines(), vtk2cc::ConvertToPolyline(), ccEntityAction::ConvexHull(), ccFacet::Create(), qFacets::createFacets(), CreateLabel(), ccMesh::createNewMeshFromSelection(), ccPolyline::createNewPolylinesFromSelection(), ccSubMesh::createNewSubMeshFromSelection(), CC_ITEM_TREE::createPointLabel2D(), DecodeSensor(), define_ccObject(), qCSF::doAction(), qPoissonRecon::doAction(), qCanupoPlugin::doClassifyAction(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), ccCompass::estimateStructureNormals(), StereogramDialog::exportCurrentSelection(), ccCommandLineParser::exportEntity(), ccVolumeCalcTool::exportGridAsCloud(), DistanceMapGenerationDlg::exportMapAsCloud(), DistanceMapGenerationDlg::exportMapAsMesh(), ecvMeasurementTool::exportMeasurement(), ccPointListPickingDlg::exportToNewCloud(), qFacets::extractFacets(), ccContourExtractor::ExtractFlatContour(), ccGenericPrimitive::finishCloneJob(), G3Point::G3PointAction::fit(), FromFbxMesh(), ccRasterizeTool::generateMesh(), G3Point::G3PointAction::getBorders(), ecvTools::GetClousterGroup(), getMortarMaps(), cvIsoSurfaceFilter::getOutput(), cvSliceFilter::getOutput(), cvContourTool::getOutput(), ecvTools::GetPolylines(), ccCompass::importLineations(), ccCompassImport::importLineations(), STEPFilter::importStepFile(), ccPolyline::initWith(), ccImage::load(), ProfileLoader::Load(), STLFilter::loadASCIIFile(), STLFilter::loadBinaryFile(), IcmFilter::LoadCalibratedImages(), AsciiFilter::loadCloudFromFormatedAsciiStream(), CSVMatrixFilter::loadFile(), PhotoScanFilter::loadFile(), PcdFilter::loadFile(), ObjFilter::loadFile(), OFFFilter::loadFile(), PTXFilter::loadFile(), STLFilter::loadFile(), VTKFilter::loadFile(), SalomeHydroFilter::loadFile(), SinusxFilter::loadFile(), E57Filter::loadFile(), FBXFilter::loadFile(), LASFilter::loadFile(), RDBFilter::loadFile(), PlyFilter::loadFile(), FileIOFilter::LoadFromFile(), LoadImage(), LoadScan(), ccMesh::merge(), ccHObject::New(), NodeStructureToTree(), MainWindow::onItemPicked(), ccMesh::operator=(), ccPointCloud::operator=(), ccMesh::partialClone(), ccLineationTool::pointPicked(), ccNoteTool::pointPicked(), ccPinchNodeTool::pointPicked(), ccThicknessTool::pointPicked(), ccTraceTool::pointPicked(), prepareCloud(), CommandOctreeNormal::process(), CommandExtractCCs::process(), CommandSORFilter::process(), CommandCrop2D::process(), CommandRasterize::process(), CommandVolume25D::process(), ccPointPropertiesDlg::processClickedPoint(), ccEntityAction::RansacSegmentation(), ReadCloud(), ccPointPairRegistrationDlg::removeAlignedPoint(), ccPointPairRegistrationDlg::removeRefPoint(), ccGenericMesh::samplePoints(), ccDBRoot::setData(), ccMPlanePoint::setName(), ccPolyline::smoothChaikin(), ecvPoissonReconDlg::start(), ccMesh::Triangulate(), ccPointCloud::triangulateGrid(), ccPointCloud::unroll(), GrainsAsEllipsoids::updateMeshAndLineSet(), ccLineation::updateMetadata(), ccThickness::updateMetadata(), and cc2DLabel::updateName().
|
inlinevirtual |
Sets removeFlag.
Definition at line 78 of file ecvObject.h.
|
virtual |
Changes unique ID.
WARNING: HANDLE WITH CARE! Updates persistent settings (last unique ID) if necessary.
Definition at line 110 of file ecvObject.cpp.
References s_uniqueIDGenerator().
|
static |
Sets the unique ID generator.
Definition at line 67 of file ecvObject.cpp.
References s_uniqueIDGenerator().
Referenced by ccPclPluginInterface::setMainAppInterface(), and ccStdPluginInterface::setMainAppInterface().
|
overrideprotectedvirtual |
Saves data to binary stream.
| out | output file (already opened) |
| dataVersion | target file version (for forward/backward compatibility) |
Reimplemented from ccSerializableObject.
Definition at line 127 of file ecvObject.cpp.
|
inlinevirtual |
Toggles the "enabled" property.
Definition at line 107 of file ecvObject.h.
Referenced by define_ccObject(), and ccEntityAction::toggleProperty().
|
protected |
Definition at line 221 of file ecvObject.h.
|
protected |
Definition at line 222 of file ecvObject.h.
|
protected |
|
protected |
Associated meta-data.
Definition at line 230 of file ecvObject.h.
Referenced by getMetaData(), hasMetaData(), removeMetaData(), and setMetaData().
|
protected |
Object name.
Definition at line 219 of file ecvObject.h.
Referenced by ccFacet::clone(), cc2DLabel::getName(), cc2DLabel::getRawName(), and cc2DLabel::getTitle().
|
protected |
Definition at line 224 of file ecvObject.h.