![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Generic interface for (3D) drawable entities. More...
#include <ecvDrawableObject.h>


Classes | |
| struct | DisplayState |
| Display state. More... | |
Public Member Functions | |
| ccDrawableObject () | |
| Default constructor. More... | |
| ccDrawableObject (const ccDrawableObject &object) | |
| Copy constructor. More... | |
| virtual | ~ccDrawableObject ()=default |
| virtual void | draw (CC_DRAW_CONTEXT &context)=0 |
| Draws entity and its children. More... | |
| virtual bool | isVisible () const |
| Returns whether entity is visible or not. More... | |
| virtual void | setVisible (bool state) |
| Sets entity visibility. More... | |
| virtual void | toggleVisibility () |
| Toggles visibility. More... | |
| virtual bool | isRedraw () const |
| Returns whether entity is to be redraw. More... | |
| virtual void | setRedraw (bool state) |
| Sets entity redraw mode. More... | |
| virtual void | setForceRedraw (bool state) |
| Sets force redraw. More... | |
| virtual void | setFixedId (bool state) |
| virtual bool | isFixedId () |
| virtual bool | isVisibilityLocked () const |
| Returns whether visibility is locked or not. More... | |
| virtual void | lockVisibility (bool state) |
| Locks/unlocks visibility. More... | |
| virtual bool | isSelected () const |
| Returns whether entity is selected or not. More... | |
| virtual void | setSelected (bool state) |
| Selects/Unselects entity. More... | |
| virtual void | getDrawingParameters (glDrawParams ¶ms) const |
| Returns main OpenGL parameters for this entity. More... | |
| virtual bool | hasColors () const |
| Returns whether colors are enabled or not. More... | |
| virtual bool | colorsShown () const |
| Returns whether colors are shown or not. More... | |
| virtual void | showColors (bool state) |
| Sets colors visibility. More... | |
| virtual void | toggleColors () |
| Toggles colors display state. More... | |
| virtual bool | hasNormals () const |
| Returns whether normals are enabled or not. More... | |
| virtual bool | normalsShown () const |
| Returns whether normals are shown or not. More... | |
| virtual void | showNormals (bool state) |
| Sets normals visibility. More... | |
| virtual void | toggleNormals () |
| Toggles normals display state. More... | |
| virtual bool | hasDisplayedScalarField () const |
| Returns whether an active scalar field is available or not. More... | |
| virtual bool | hasScalarFields () const |
| Returns whether one or more scalar fields are instantiated. More... | |
| virtual void | showSF (bool state) |
| Sets active scalarfield visibility. More... | |
| virtual void | toggleSF () |
| Toggles SF display state. More... | |
| virtual bool | sfShown () const |
| Returns whether active scalar field is visible. More... | |
| virtual void | toggleMaterials () |
| Toggles material display state. More... | |
| virtual void | showNameIn3D (bool state) |
| Sets whether name should be displayed in 3D. More... | |
| virtual bool | nameShownIn3D () const |
| Returns whether name is displayed in 3D or not. More... | |
| virtual void | toggleShowName () |
| Toggles name in 3D display state. More... | |
| virtual bool | isColorOverridden () const |
| virtual const ecvColor::Rgb & | getTempColor () const |
| Returns current temporary (unique) color. More... | |
| virtual void | setTempColor (const ecvColor::Rgb &col, bool autoActivate=true) |
| Sets current temporary (unique) More... | |
| virtual void | enableTempColor (bool state) |
| Set temporary color activation state. More... | |
| virtual float | getOpacity () const |
| virtual void | setOpacity (float opacity) |
| Set opacity activation state. More... | |
| virtual void | setGLTransformation (const ccGLMatrix &trans) |
| Associates entity with a GL transformation (rotation + translation) More... | |
| virtual void | enableGLTransformation (bool state) |
| Enables/disables associated GL transformation. More... | |
| virtual bool | isGLTransEnabled () const |
| Returns whether a GL transformation is enabled or not. More... | |
| virtual const ccGLMatrix & | getGLTransformation () const |
| Returns associated GL transformation. More... | |
| virtual void | resetGLTransformation () |
| Resets associated GL transformation. More... | |
| virtual void | rotateGL (const ccGLMatrix &rotMat) |
| Multiplies (left) current GL transformation by a rotation matrix. More... | |
| virtual void | translateGL (const CCVector3 &trans) |
| Translates current GL transformation by a rotation matrix. More... | |
| virtual void | removeAllClipPlanes () |
| Removes all clipping planes (if any) More... | |
| virtual bool | addClipPlanes (const ccClipPlane &plane) |
| Registers a new clipping plane. More... | |
| virtual void | toggleClipPlanes (CC_DRAW_CONTEXT &context, bool enable) |
| Enables or disables clipping planes (OpenGL) More... | |
| virtual bool | pushDisplayState () |
| Pushes the current display state. More... | |
| virtual void | popDisplayState (bool apply=true) |
| Pops the last pushed display state. More... | |
| virtual void | applyDisplayState (const DisplayState &state) |
| Applies a display state. More... | |
Protected Attributes | |
| bool | m_fixedId |
| bool | m_modelRedraw |
| bool | m_forceRedraw |
| float | m_opacity |
| bool | m_visible |
| Specifies whether the object is visible or not. More... | |
| bool | m_selected |
| Specifies whether the object is selected or not. More... | |
| bool | m_lockedVisibility |
| Specifies whether the visibility can be changed by user or not. More... | |
| bool | m_colorsDisplayed |
| Specifies whether colors should be displayed. More... | |
| bool | m_normalsDisplayed |
| Specifies whether normals should be displayed. More... | |
| bool | m_sfDisplayed |
| Specifies whether scalar field should be displayed. More... | |
| ecvColor::Rgb | m_tempColor |
| Temporary (unique) color. More... | |
| bool | m_colorIsOverridden |
| Temporary (unique) color activation state. More... | |
| ccGLMatrix | m_glTrans |
| Current GL transformation. More... | |
| bool | m_glTransEnabled |
| Current GL transformation activation state. More... | |
| bool | m_showNameIn3D |
| Whether name is displayed in 3D or not. More... | |
| CCVector3d | m_nameIn3DPos |
| Last 2D position of the '3D' name. More... | |
| ccClipPlaneSet | m_clipPlanes |
| Active clipping planes (used for display only) More... | |
| std::vector< DisplayState::Shared > | m_displayStateStack |
| The stack of pushed display states. More... | |
Generic interface for (3D) drawable entities.
Definition at line 24 of file ecvDrawableObject.h.
| ccDrawableObject::ccDrawableObject | ( | ) |
Default constructor.
| ccDrawableObject::ccDrawableObject | ( | const ccDrawableObject & | object | ) |
Copy constructor.
|
virtualdefault |
|
virtual |
Registers a new clipping plane.
Referenced by define_ccDrawableObject().
|
virtual |
Applies a display state.
|
inlinevirtual |
Returns whether colors are shown or not.
Definition at line 82 of file ecvDrawableObject.h.
Referenced by ccCloudLayersHelper::ccCloudLayersHelper(), ccCropTool::Crop(), define_ccDrawableObject(), qPoissonRecon::doAction(), ccRasterizeTool::generateMesh(), ccRegistrationTools::ICP(), CommandRasterize::process(), CommandVolume25D::process(), cloudViewer::geometry::pybind_geometry_classes(), ccPropertiesTreeDelegate::setEditorData(), and ecvPoissonReconDlg::start().
|
pure virtual |
Draws entity and its children.
Implemented in GrainsAsEllipsoids, ccMouseCircle, ccMouseCircle, PyDrawableObjectBase< DrawableObjectBase >, ecvOrientedBBox, ccHObject, and ccBBox.
Referenced by define_ccDrawableObject().
|
virtual |
Enables/disables associated GL transformation.
See ccDrawableObject::setGLTransformation.
Referenced by define_ccDrawableObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Set temporary color activation state.
Definition at line 155 of file ecvDrawableObject.h.
Referenced by ccThicknessTool::onNewSelection(), cloudViewer::geometry::pybind_geometry_classes(), ccPolyline::setColor(), ccThicknessTool::toolDisactivated(), ccAlignDlg::~ccAlignDlg(), ccOrderChoiceDlg::~ccOrderChoiceDlg(), and ccRegistrationDlg::~ccRegistrationDlg().
|
virtual |
Returns main OpenGL parameters for this entity.
These parameters are deduced from the visibility states of its different features (points, normals, etc.).
| params | a glDrawParams structure |
Reimplemented in ccPointCloud.
Referenced by ccTrace::drawMeOnly().
|
inlinevirtual |
Returns associated GL transformation.
See ccDrawableObject::setGLTransformation.
Definition at line 191 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), MainWindow::onItemPicked(), cloudViewer::geometry::pybind_geometry_classes(), and ccPropertiesTreeDelegate::setEditorData().
|
inlinevirtual |
Definition at line 160 of file ecvDrawableObject.h.
Referenced by cloudViewer::geometry::pybind_geometry_classes(), and ccPropertiesTreeDelegate::setEditorData().
|
inlinevirtual |
Returns current temporary (unique) color.
Definition at line 143 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Returns whether colors are enabled or not.
Reimplemented in ccSubMesh, ccPolyline, ccPointCloud, and ccMesh.
Definition at line 80 of file ecvDrawableObject.h.
Referenced by CCCloudToDraco(), ccRasterizeTool::ccRasterizeTool(), ccEntityAction::clearProperty(), ccPropertiesTreeDelegate::createEditor(), ccCropTool::Crop(), define_ccDrawableObject(), ccPropertiesTreeDelegate::fillWithHObject(), ccDBRoot::getSelectedEntities(), ccEntityAction::interpolateColors(), RgbDialog::onItemPicked(), cloudViewer::geometry::pybind_geometry_classes(), cloudViewer::geometry::pybind_lineset(), LASFilter::saveToFile(), ccPropertiesTreeDelegate::setEditorData(), and ToFbxMesh().
|
inlinevirtual |
Returns whether an active scalar field is available or not.
Reimplemented in ccSubMesh, ccPointCloud, and ccMesh.
Definition at line 99 of file ecvDrawableObject.h.
Referenced by ccEntityAction::clearProperty(), define_ccDrawableObject(), cloudViewer::geometry::pybind_geometry_classes(), and ccRegistrationDlg::updateGUI().
|
inlinevirtual |
Returns whether normals are enabled or not.
Reimplemented in ccSubMesh, ccPointCloud, and ccMesh.
Definition at line 89 of file ecvDrawableObject.h.
Referenced by CCCloudToDraco(), ccEntityAction::clearProperty(), ccCropTool::Crop(), define_ccDrawableObject(), qPCV::doAction(), ccPropertiesTreeDelegate::fillWithHObject(), ccDBRoot::getSelectedEntities(), ccGenericMesh::normalsAvailable(), ccMesh::normalsAvailable(), cloudViewer::geometry::pybind_geometry_classes(), ToFbxMesh(), and ccRegistrationDlg::updateGUI().
|
inlinevirtual |
Returns whether one or more scalar fields are instantiated.
WARNING: doesn't mean a scalar field is currently displayed (see ccDrawableObject::hasDisplayedScalarField).
Reimplemented in ccSubMesh, ccPointCloud, and ccMesh.
Definition at line 105 of file ecvDrawableObject.h.
Referenced by ccRasterizeTool::activeLayerChanged(), CCCloudToDraco(), ccRasterizeTool::ccRasterizeTool(), ccEntityAction::clearProperty(), ccPropertiesTreeDelegate::createEditor(), ccCropTool::Crop(), define_ccDrawableObject(), ccDBRoot::editLabelScalarValue(), ccPropertiesTreeDelegate::fillWithHObject(), ccDBRoot::getSelectedEntities(), ScalarDialog::onItemPicked(), cloudViewer::geometry::pybind_geometry_classes(), ccPropertiesTreeDelegate::setEditorData(), and ccDBRoot::showContextMenu().
|
inlinevirtual |
Returns whether colors are currently overridden by a temporary (unique) color See ccDrawableObject::setTempColor.
Definition at line 138 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), ccSymbolCloud::drawMeOnly(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Definition at line 53 of file ecvDrawableObject.h.
|
inlinevirtual |
Returns whether a GL transformation is enabled or not.
Definition at line 186 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), ccPropertiesTreeDelegate::fillModel(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Returns whether entity is to be redraw.
Definition at line 46 of file ecvDrawableObject.h.
|
inlinevirtual |
Returns whether entity is selected or not.
Definition at line 68 of file ecvDrawableObject.h.
Referenced by ccPointPropertiesDlg::close2DZone(), define_ccDrawableObject(), ccPointPropertiesDlg::exportCurrentLabel(), ccPointPropertiesDlg::processClickedPoint(), cloudViewer::geometry::pybind_geometry_classes(), ccDBRoot::selectEntities(), ccDBRoot::selectEntity(), ccDBRoot::setData(), ccDBRoot::unselectEntity(), and ccPointPropertiesDlg::update2DZone().
|
inlinevirtual |
Returns whether visibility is locked or not.
Definition at line 56 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), ccPropertiesTreeDelegate::fillWithHObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Returns whether entity is visible or not.
Definition at line 38 of file ecvDrawableObject.h.
Referenced by ccComparisonDlg::ccComparisonDlg(), ccPointPropertiesDlg::close2DZone(), define_ccDrawableObject(), ccMouseCircle::draw(), ccPointPropertiesDlg::exportCurrentLabel(), ccCompass::exportToSVG(), ccPropertiesTreeDelegate::fillWithFacet(), ccPropertiesTreeDelegate::fillWithHObject(), ccPointListPickingDlg::getPickedPoints(), ccCompass::hideAllPointClouds(), ccCloudLayersHelper::mouseMove(), cloudViewer::geometry::pybind_geometry_classes(), qM3C2Dialog::setClouds(), ccDBRoot::setData(), qVoxFallDialog::setMeshes(), ccCloudLayersDlg::stop(), DistanceMapGenerationDlg::toggleOverlayGrid(), ccCompass::tryLoading(), GrainsAsEllipsoids::updateMeshAndLineSet(), and DistanceMapGenerationDlg::updateZoom().
|
inlinevirtual |
Locks/unlocks visibility.
If visibility is locked, the user won't be able to modify it (via the properties tree for instance).
Definition at line 63 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), GrainsAsEllipsoids::GrainsAsEllipsoids(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Returns whether name is displayed in 3D or not.
Definition at line 128 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), ccPropertiesTreeDelegate::fillWithHObject(), cloudViewer::geometry::pybind_geometry_classes(), and ccDBRoot::setData().
|
inlinevirtual |
Returns whether normals are shown or not.
Reimplemented in ccSubMesh, and ccMesh.
Definition at line 91 of file ecvDrawableObject.h.
Referenced by ccCropTool::Crop(), define_ccDrawableObject(), ccPropertiesTreeDelegate::fillWithHObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
virtual |
Pops the last pushed display state.
Reimplemented in ccHObject.
|
virtual |
Pushes the current display state.
Reimplemented in ccHObject.
|
inlinevirtual |
Removes all clipping planes (if any)
Definition at line 218 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject().
|
virtual |
Resets associated GL transformation.
GL transformation is reset to identity. Note: GL transformation is automatically disabled. See ccDrawableObject::setGLTransformation.
Referenced by ccGraphicalTransformationTool::cancel(), define_ccDrawableObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
virtual |
Multiplies (left) current GL transformation by a rotation matrix.
'GLtrans = M * GLtrans' Note: GL transformation is automatically enabled. See ccDrawableObject::setGLTransformation.
Referenced by define_ccDrawableObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Definition at line 52 of file ecvDrawableObject.h.
|
inlinevirtual |
Sets force redraw.
Definition at line 50 of file ecvDrawableObject.h.
Referenced by FastGlobalRegistrationDialog::updateGUI().
|
virtual |
Associates entity with a GL transformation (rotation + translation)
Referenced by ccGraphicalTransformationTool::apply(), CorrespondenceMatching::applyTransformation(), TemplateAlignment::applyTransformation(), ccCropTool::Crop(), define_ccDrawableObject(), JsonRPCPlugin::execute(), GetConeProfile(), PDMSFilter::loadFile(), qSRA::loadProfile(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Set opacity activation state.
Definition at line 163 of file ecvDrawableObject.h.
Referenced by cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Sets entity redraw mode.
Definition at line 48 of file ecvDrawableObject.h.
Referenced by ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), ccGraphicalTransformationTool::cancel(), ccEntityAction::clearProperty(), qCanupoPlugin::doClassifyAction(), qSRA::doComputeRadialDists(), masc::Classifier::evaluate(), ccPointPropertiesDlg::exportCurrentLabel(), ccTracePolylineTool::onItemPicked(), qVoxFallDialog::setMesh1Visibility(), qVoxFallDialog::setMesh2Visibility(), and StereogramDialog::updateFacetsFilter().
|
inlinevirtual |
Selects/Unselects entity.
Definition at line 70 of file ecvDrawableObject.h.
Referenced by ccPointPropertiesDlg::ccPointPropertiesDlg(), ccDBRoot::changeSelection(), ccPointPropertiesDlg::close2DZone(), define_ccDrawableObject(), ccPointPropertiesDlg::exportCurrentLabel(), ccContourExtractor::ExtractConcaveHull2D(), ccPointPropertiesDlg::initializeState(), ccPointPropertiesDlg::linkWith(), ccPointPropertiesDlg::processClickedPoint(), cloudViewer::geometry::pybind_geometry_classes(), and ccDBRoot::selectEntity().
|
virtual |
Sets current temporary (unique)
| col | rgb color |
| autoActivate | auto activates temporary color |
Referenced by ccPointPairRegistrationDlg::addAlignedPoint(), ccPointPairRegistrationDlg::addReferencePoint(), ccTracePolylineTool::ccTracePolylineTool(), define_ccDrawableObject(), ccTracePolylineTool::exportLine(), DistanceMapGenerationDlg::loadOverlaySymbols(), ccTracePolylineTool::onItemPicked(), ccThicknessTool::onNewSelection(), DistanceMapGenerationDlg::overlayGridColorChanged(), DistanceMapGenerationDlg::overlaySymbolsColorChanged(), cloudViewer::geometry::pybind_geometry_classes(), ccAlignDlg::setColorsAndLabels(), ccOrderChoiceDlg::setColorsAndLabels(), DistanceMapGenerationDlg::toggleOverlayGrid(), ccRegistrationDlg::updateGUI(), and FastGlobalRegistrationDialog::updateGUI().
|
inlinevirtual |
Sets entity visibility.
Definition at line 40 of file ecvDrawableObject.h.
Referenced by ccPointPropertiesDlg::activate2DZonePicking(), ccPointPropertiesDlg::activateAngleDisplay(), ccPointPropertiesDlg::activateDistanceDisplay(), ccPointPropertiesDlg::activatePointPropertiesDisplay(), ecvAnnotationsTool::addAssociatedEntity(), ecvFilterTool::addAssociatedEntity(), ecvMeasurementTool::addAssociatedEntity(), ccGraphicalSegmentationTool::addEntity(), qCanupo2DViewDialog::addObject(), ccCloudLayersDlg::ccCloudLayersDlg(), ccMouseCircle::ccMouseCircle(), ccPointPairRegistrationDlg::ccPointPairRegistrationDlg(), ccPointPropertiesDlg::ccPointPropertiesDlg(), ccCompass::cleanupBeforeToolChange(), DistanceMapGenerationDlg::clearView(), ccPointPropertiesDlg::close2DZone(), CorrespondenceMatching::compute(), NurbsCurveFitting::compute(), qM3C2Process::Compute(), qVoxFallProcess::Compute(), qSRA::computeCloud2ProfileRadialDist(), ccEntityAction::computeOctree(), ccTopologyRelation::constructGraphic(), contourPoly(), contourPoly2(), DistanceMapGenerationTool::ConvertConicalMapToMesh(), DistanceMapGenerationTool::ConvertProfileToMesh(), qFacets::createFacets(), CreateLabel(), CC_ITEM_TREE::createPointLabel2D(), define_ccDrawableObject(), qCSF::doAction(), qPoissonRecon::doAction(), ccPointPropertiesDlg::exportCurrentLabel(), ccPointListPickingDlg::exportToNewPolyline(), ccCompass::exportToSVG(), ccContourExtractor::ExtractConcaveHull2D(), ccContourExtractor::ExtractFlatContour(), ccTraceTool::finishCurrentTrace(), ccRasterizeTool::generateMesh(), GrainsAsEllipsoids::GrainsAsEllipsoids(), ccCompass::hideAllPointClouds(), ccPointPairRegistrationDlg::init(), ccPointPropertiesDlg::initializeState(), ccPointPropertiesDlg::linkWith(), IcmFilter::LoadCalibratedImages(), CSVMatrixFilter::loadFile(), PhotoScanFilter::loadFile(), PcdFilter::loadFile(), PovFilter::loadFile(), SinusxFilter::loadFile(), PDMSFilter::loadFile(), DRCFilter::loadFile(), RDBFilter::loadFile(), LoadImage(), DistanceMapGenerationDlg::loadOverlaySymbols(), LoadScan(), MainWindow::onItemPicked(), ccThicknessTool::onNewSelection(), ccTraceTool::pickupTrace(), ccFitPlaneTool::pointPicked(), ccLineationTool::pointPicked(), ccTraceTool::pointPicked(), CommandRasterize::process(), CommandVolume25D::process(), ccPointPropertiesDlg::processClickedPoint(), ccPointListPickingDlg::processPickedPoint(), ccPointPropertiesDlg::processPickedPoint(), cloudViewer::geometry::pybind_geometry_classes(), ccNormalComputationDlg::setCloud(), qM3C2Dialog::setCloud1Visibility(), qM3C2Dialog::setCloud2Visibility(), ccAlignDlg::setColorsAndLabels(), ccOrderChoiceDlg::setColorsAndLabels(), qVoxFallDialog::setMesh1Visibility(), qVoxFallDialog::setMesh2Visibility(), ccCloudLayersHelper::setVisible(), ecvPoissonReconDlg::start(), DistanceMapGenerationDlg::toggleOverlayGrid(), ccFitPlaneTool::toolActivated(), ccFitPlaneTool::toolDisactivated(), ccThicknessTool::toolDisactivated(), ccCompass::tryLoading(), DistanceMapGenerationDlg::update(), ccPointPropertiesDlg::update2DZone(), ccComparisonDlg::updateDisplay(), StereogramDialog::updateFacetsFilter(), ccRegistrationDlg::updateGUI(), and FastGlobalRegistrationDialog::updateGUI().
|
inlinevirtual |
Returns whether active scalar field is visible.
Definition at line 117 of file ecvDrawableObject.h.
Referenced by ccCloudLayersHelper::ccCloudLayersHelper(), ccComparisonDlg::ccComparisonDlg(), ccCropTool::Crop(), define_ccDrawableObject(), ccRasterizeTool::generateMesh(), ccRegistrationTools::ICP(), CommandRasterize::process(), CommandVolume25D::process(), cloudViewer::geometry::pybind_geometry_classes(), and ccPropertiesTreeDelegate::setEditorData().
|
inlinevirtual |
Sets colors visibility.
Definition at line 84 of file ecvDrawableObject.h.
Referenced by ccRasterizeTool::activeLayerChanged(), ccRasterizeTool::addNewContour(), ccCloudLayersHelper::ccCloudLayersHelper(), ccGraphicalSegmentationTool::ccGraphicalSegmentationTool(), ExtractSIFT::compute(), GeneralFilters::compute(), ProjectionFilter::compute(), CorrespondenceMatching::compute(), TemplateAlignment::compute(), qSRA::computeCloud2ProfileRadialDist(), contourPoly(), contourPoly2(), ccRasterizeTool::convertGridToCloud(), ccEntityAction::convertNormalsTo(), ccEntityAction::convertTextureToColor(), ccCropTool::Crop(), define_ccDrawableObject(), qPoissonRecon::doAction(), ccCompass::estimateStrain(), ccRasterizeTool::exportContourLines(), GrainsAsEllipsoids::exportResultsAsCloud(), FromFbxMesh(), ccRasterizeTool::generateMesh(), ccRegistrationTools::ICP(), ccEntityAction::interpolateColors(), ProfileLoader::Load(), LoadCloud(), CSVMatrixFilter::loadFile(), SoiFilter::loadFile(), DRCFilter::loadFile(), LASFWFFilter::loadFile(), LASFilter::loadFile(), RDBFilter::loadFile(), LoadScan(), ccColorFromScalarDlg::onApply(), CommandSFConvertToRGB::process(), CommandRemoveRGB::process(), CommandRasterize::process(), CommandVolume25D::process(), cloudViewer::geometry::pybind_geometry_classes(), cloudViewer::io::ReadTriangleMeshFromOBJ(), qCanupo2DViewDialog::resetBoundary(), ccEntityAction::rgbToGreyScale(), ccEntityAction::setColor(), ccEntityAction::sfConvertToRandomRGB(), ccEntityAction::sfConvertToRGB(), ecvPoissonReconDlg::start(), DistanceMapGenerationDlg::toggleOverlayGrid(), qCanupo2DViewDialog::trainClassifier(), qCanupoTools::TrainClassifier(), GrainsAsEllipsoids::updateMeshAndLineSet(), and ccCloudLayersHelper::~ccCloudLayersHelper().
|
inlinevirtual |
Sets whether name should be displayed in 3D.
Definition at line 125 of file ecvDrawableObject.h.
Referenced by ccPointPairRegistrationDlg::addAlignedPoint(), ccPointPairRegistrationDlg::addReferencePoint(), ccFitPlane::ccFitPlane(), ccTopologyRelation::constructGraphic(), define_ccDrawableObject(), ccCompass::importFoliations(), ccCompassImport::importFoliations(), ccLineationTool::pointPicked(), ccPinchNodeTool::pointPicked(), ccThicknessTool::pointPicked(), cloudViewer::geometry::pybind_geometry_classes(), ccNote::updateMetadata(), ccTopologyRelation::updateMetadata(), and ccPointPairRegistrationDlg::updateSphereMarks().
|
inlinevirtual |
Sets normals visibility.
Reimplemented in ccGenericMesh.
Definition at line 93 of file ecvDrawableObject.h.
Referenced by qM3C2Process::Compute(), ccEntityAction::convertNormalsTo(), define_ccDrawableObject(), qHoughNormals::doAction(), FromFbxMesh(), ccEntityAction::invertNormals(), LoadCloud(), RDBFilter::loadFile(), LoadScan(), CommandRemoveNormals::process(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Sets active scalarfield visibility.
Definition at line 108 of file ecvDrawableObject.h.
Referenced by ccRasterizeTool::activeLayerChanged(), LasCloudChunk::addLasFieldsToCloud(), ccComparisonDlg::applyAndExit(), ccLibAlgorithms::ApplyCCLibAlgorithm(), ccComparisonDlg::cancelAndExit(), ccCloudLayersHelper::ccCloudLayersHelper(), masc::Classifier::classify(), qCanupoProcess::Classify(), ExtractSIFT::compute(), GeneralFilters::compute(), ProjectionFilter::compute(), CorrespondenceMatching::compute(), TemplateAlignment::compute(), qM3C2Process::Compute(), qVoxFallProcess::Compute(), ccComparisonDlg::computeApproxDistances(), ccComparisonDlg::computeDistances(), ccLibAlgorithms::ComputeGeomCharacteristic(), DistanceMapGenerationTool::ComputeRadialDist(), ccVolumeCalcTool::convertGridToCloud(), ccVolumeCalcTool::ConvertGridToCloud(), ccRasterizeTool::convertGridToCloud(), DistanceMapGenerationTool::ConvertMapToCloud(), ccEntityAction::convertNormalsTo(), ccEntityAction::convertTextureToColor(), ccMeasurementDevice::createScalarFieldForCloud(), ccCropTool::Crop(), define_ccDrawableObject(), qPCV::doAction(), qPoissonRecon::doAction(), ccCompass::estimateStructureNormals(), masc::Classifier::evaluate(), ecvAnnotationsTool::exportAnnotationToSF(), qFacets::extractFacets(), TreeIso::Final_seg_pcd(), ccRasterizeTool::generateHillshade(), ccRasterizeTool::generateMesh(), getMortarMaps(), ccRegistrationTools::ICP(), ccEntityAction::importToSF(), TreeIso::Init_seg_pcd(), TreeIso::Intermediate_seg_pcd(), ccEntityAction::interpolateColors(), ccEntityAction::interpolateSFs(), LoadCloud(), LASFWFFilter::loadFile(), RDBFilter::loadFile(), LoadScan(), ccColorFromScalarDlg::onApply(), CommandSFConvertToRGB::process(), CommandRemoveAllSFs::process(), CommandStatTest::process(), CommandRasterize::process(), CommandVolume25D::process(), PCVCommand::Process(), cloudViewer::geometry::pybind_geometry_classes(), CommandRemoveSF::removeSF(), ccEntityAction::rgbGaussianFilter(), ccEntityAction::rgbToGreyScale(), ccEntityAction::setColor(), ccEntityAction::sfAddIdField(), ccEntityAction::sfArithmetic(), ccEntityAction::sfConvertToRandomRGB(), ccEntityAction::sfGaussianFilter(), ecvPoissonReconDlg::start(), ccEntityAction::statisticalTest(), ccComparisonDlg::updateDisplay(), and ccCloudLayersHelper::~ccCloudLayersHelper().
|
virtual |
Enables or disables clipping planes (OpenGL)
Referenced by define_ccDrawableObject().
|
inlinevirtual |
Toggles colors display state.
Definition at line 86 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), cloudViewer::geometry::pybind_geometry_classes(), and ccDBRoot::toggleSelectedEntitiesProperty().
|
inlinevirtual |
Toggles material display state.
Reimplemented in ccMesh.
Definition at line 121 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
inlinevirtual |
Toggles normals display state.
Definition at line 95 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), cloudViewer::geometry::pybind_geometry_classes(), and ccDBRoot::toggleSelectedEntitiesProperty().
|
inlinevirtual |
Toggles SF display state.
Definition at line 114 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), cloudViewer::geometry::pybind_geometry_classes(), and ccDBRoot::toggleSelectedEntitiesProperty().
|
inlinevirtual |
Toggles name in 3D display state.
Definition at line 131 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), cloudViewer::geometry::pybind_geometry_classes(), and ccDBRoot::toggleSelectedEntitiesProperty().
|
inlinevirtual |
Toggles visibility.
Definition at line 43 of file ecvDrawableObject.h.
Referenced by define_ccDrawableObject(), cloudViewer::geometry::pybind_geometry_classes(), and ccDBRoot::toggleSelectedEntitiesProperty().
|
virtual |
Translates current GL transformation by a rotation matrix.
'GLtrans = GLtrans + T' Note: GL transformation is automatically enabled. See ccDrawableObject::setGLTransformation.
Referenced by define_ccDrawableObject(), and cloudViewer::geometry::pybind_geometry_classes().
|
protected |
Active clipping planes (used for display only)
Definition at line 300 of file ecvDrawableObject.h.
|
protected |
Temporary (unique) color activation state.
Definition at line 283 of file ecvDrawableObject.h.
|
protected |
Specifies whether colors should be displayed.
Definition at line 274 of file ecvDrawableObject.h.
|
protected |
The stack of pushed display states.
Definition at line 303 of file ecvDrawableObject.h.
|
protected |
Definition at line 257 of file ecvDrawableObject.h.
|
protected |
Definition at line 259 of file ecvDrawableObject.h.
|
protected |
Current GL transformation.
See ccDrawableObject::setGLTransformation.
Definition at line 288 of file ecvDrawableObject.h.
|
protected |
Current GL transformation activation state.
See ccDrawableObject::setGLTransformation.
Definition at line 292 of file ecvDrawableObject.h.
|
protected |
Specifies whether the visibility can be changed by user or not.
Definition at line 271 of file ecvDrawableObject.h.
|
protected |
Definition at line 258 of file ecvDrawableObject.h.
|
protected |
Last 2D position of the '3D' name.
Definition at line 297 of file ecvDrawableObject.h.
|
protected |
Specifies whether normals should be displayed.
Definition at line 276 of file ecvDrawableObject.h.
|
protected |
Definition at line 260 of file ecvDrawableObject.h.
|
protected |
Specifies whether the object is selected or not.
Definition at line 268 of file ecvDrawableObject.h.
|
protected |
Specifies whether scalar field should be displayed.
Definition at line 278 of file ecvDrawableObject.h.
|
protected |
Whether name is displayed in 3D or not.
Definition at line 295 of file ecvDrawableObject.h.
|
protected |
Temporary (unique) color.
Definition at line 281 of file ecvDrawableObject.h.
Referenced by ccSymbolCloud::drawMeOnly().
|
protected |
Specifies whether the object is visible or not.
Note: this does not influence the children visibility
Definition at line 265 of file ecvDrawableObject.h.