![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
GUI properties list dialog element. More...
#include <ecvPropertiesTreeDelegate.h>


Signals | |
| void | ccObjectPropertiesChanged (ccHObject *hObject) const |
| void | ccObjectAppearanceChanged (ccHObject *hObject, bool forceRedraw=true) const |
| void | ccObjectAndChildrenAppearanceChanged (ccHObject *hObject, bool forceRedraw=true) const |
| void | requestClearSelection () const |
| Request to clear all selection data (prevents crashes from stale references) More... | |
Public Member Functions | |
| ccPropertiesTreeDelegate (QStandardItemModel *_model, QAbstractItemView *_view, QObject *parent=0) | |
| Default constructor. More... | |
| virtual | ~ccPropertiesTreeDelegate () |
| Default destructor. More... | |
| virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| virtual void | unbind () |
| void | fillModel (ccHObject *hObject) |
| Fill property view with QItems corresponding to object's type. More... | |
| ccHObject * | getCurrentObject () |
| Returns currently bound object. More... | |
| void | clearModel () |
| Clear the model completely. More... | |
| void | setVisualizer (ecvGenericVisualizer3D *viewer) |
| Set visualizer for other property editors. More... | |
Protected Attributes | |
| ccHObject * | m_currentObject |
| QStandardItemModel * | m_model |
| QAbstractItemView * | m_view |
| QMap< ccHObject *, QMap< QString, QString > > | m_meshTexturePathMaps |
| ecvGenericVisualizer3D * | m_viewer |
| Visualizer for other property editors. More... | |
| CC_PROPERTY_ROLE | m_lastFocusItemRole |
| Last focused item role (used to force scroll focus after model update) More... | |
GUI properties list dialog element.
Definition at line 45 of file ecvPropertiesTreeDelegate.h.
Delegate items roles.
Definition at line 50 of file ecvPropertiesTreeDelegate.h.
| ccPropertiesTreeDelegate::ccPropertiesTreeDelegate | ( | QStandardItemModel * | _model, |
| QAbstractItemView * | _view, | ||
| QObject * | parent = 0 |
||
| ) |
Default constructor.
Definition at line 139 of file ecvPropertiesTreeDelegate.cpp.
|
virtual |
Default destructor.
Definition at line 153 of file ecvPropertiesTreeDelegate.cpp.
References unbind().
|
protected |
Definition at line 369 of file ecvPropertiesTreeDelegate.cpp.
References m_model, m_view, and TREE_VIEW_HEADER.
Referenced by fillModel(), fillSFWithPointCloud(), fillWithCameraSensor(), fillWithCCArray(), fillWithCoordinateSystem(), fillWithFacet(), fillWithGBLSensor(), fillWithHObject(), fillWithImage(), fillWithLabel(), fillWithMaterialSet(), fillWithMesh(), fillWithMetaData(), fillWithPointCloud(), fillWithPointKdTree(), fillWithPointOctree(), fillWithPolyline(), fillWithPrimitive(), fillWithSensor(), fillWithShareable(), fillWithTransBuffer(), fillWithViewportObject(), and fillWithViewProperties().
|
protected |
Definition at line 327 of file ecvPropertiesTreeDelegate.cpp.
References m_model, and m_view.
Referenced by fillSFWithPointCloud(), fillWithCameraSensor(), fillWithCCArray(), fillWithCoordinateSystem(), fillWithFacet(), fillWithGBLSensor(), fillWithHObject(), fillWithImage(), fillWithLabel(), fillWithMaterialSet(), fillWithMesh(), fillWithMetaData(), fillWithPlanarEntity(), fillWithPointCloud(), fillWithPointKdTree(), fillWithPointOctree(), fillWithPolyline(), fillWithPrimitive(), fillWithSensor(), fillWithShareable(), fillWithShifted(), fillWithTransBuffer(), fillWithViewportObject(), and fillWithViewProperties().
|
protected |
Definition at line 349 of file ecvPropertiesTreeDelegate.cpp.
References m_model, m_view, and CVLog::Warning().
Referenced by fillModel(), fillSFWithPointCloud(), and fillWithSensor().
|
signal |
Referenced by ccDBRoot::ccDBRoot().
|
signal |
Referenced by ccDBRoot::ccDBRoot().
|
signal |
Referenced by ccDBRoot::ccDBRoot().
|
protected |
Clear texture path map for a specific mesh object.
Definition at line 2858 of file ecvPropertiesTreeDelegate.cpp.
References m_meshTexturePathMaps.
| void ccPropertiesTreeDelegate::clearModel | ( | ) |
Clear the model completely.
Definition at line 496 of file ecvPropertiesTreeDelegate.cpp.
References m_currentObject, m_model, and unbind().
|
virtual |
Definition at line 1293 of file ecvPropertiesTreeDelegate.cpp.
References ccColorScaleSelector::colorScaleEditorSummoned(), ccColorScaleSelector::colorScaleSelected(), sfEditDlg::entitySFHasChanged(), ccCoordinateSystem::getAxisWidth(), ccCoordinateSystem::getDisplayScale(), ccSensor::getIndexBounds(), cloudViewer::PointCloudTpl< T >::getNumberOfScalarFields(), cloudViewer::PointCloudTpl< T >::getScalarFieldName(), ccColorScalesManager::GetUniqueInstance(), ccDrawableObject::hasColors(), ccDrawableObject::hasScalarFields(), ccColorScaleSelector::init(), ecvTextureFileSelector::init(), isWideEditor(), m_currentObject, m_model, ccCoordinateSystem::MAX_AXIS_WIDTH_F, MAX_LINE_WIDTH_F, cloudViewer::DgmOctree::MAX_OCTREE_LEVEL, MAX_POINT_SIZE_F, ccColorScale::MAX_STEPS, ccOctree::MEAN_CUBES, ccOctree::MEAN_POINTS, ccCoordinateSystem::MIN_AXIS_WIDTH_F, MIN_LINE_WIDTH_F, MIN_POINT_SIZE_F, ccColorScale::MIN_STEPS, OBJECT_APPLY_LABEL_VIEWPORT, OBJECT_APPLY_SENSOR_VIEWPORT, OBJECT_CIRCLE_RADIUS, OBJECT_CIRCLE_RESOLUTION, OBJECT_CLOUD_POINT_SIZE, OBJECT_CLOUD_SF_EDITOR, OBJECT_COLOR_RAMP_STEPS, OBJECT_COLOR_SOURCE, OBJECT_CONE_BOTTOM_RADIUS, OBJECT_CONE_HEIGHT, OBJECT_CONE_TOP_RADIUS, OBJECT_COORDINATE_SYSTEM_AXES_WIDTH, OBJECT_COORDINATE_SYSTEM_DISP_SCALE, OBJECT_CURRENT_COLOR_RAMP, OBJECT_CURRENT_DISPLAY, OBJECT_CURRENT_SCALAR_FIELD, OBJECT_DISC_RADIUS, OBJECT_GLTRANS_MATRIX_EDITOR, OBJECT_HISTORY_MATRIX_EDITOR, OBJECT_IMAGE_ALPHA, OBJECT_MESH_TEXTUREFILE, OBJECT_OCTREE_LEVEL, OBJECT_OCTREE_TYPE, OBJECT_OPACITY, OBJECT_POLYLINE_WIDTH, OBJECT_PRIMITIVE_PRECISION, OBJECT_SENSOR_DISPLAY_SCALE, OBJECT_SENSOR_INDEX, OBJECT_SENSOR_MATRIX_EDITOR, OBJECT_SENSOR_UNCERTAINTY, OBJECT_SPHERE_RADIUS, OBJECT_TRANS_BUFFER_TRIHDERONS_SCALE, OBJECT_UPDATE_LABEL_VIEWPORT, OBJECT_VIEW_DATA_AXES_GRID_EDIT, OBJECT_VIEW_DATA_AXES_GRID_VISIBLE, OBJECT_VIEW_LIGHT_KIT_INTENSITY, SEPARATOR_STYLESHEET(), ecvTextureFileSelector::textureFileEditorSummoned(), ecvTextureFileSelector::textureFileSelected(), ccHObjectCaster::ToCoordinateSystem(), ccHObjectCaster::ToPointCloud(), ccHObjectCaster::ToSensor(), TREE_VIEW_HEADER, and ccOctree::WIRE.
| void ccPropertiesTreeDelegate::fillModel | ( | ccHObject * | hObject | ) |
Fill property view with QItems corresponding to object's type.
Definition at line 200 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendWideRow(), CV_TYPES::CAMERA_SENSOR, CV_TYPES::COORDINATESYSTEM, CV_TYPES::FACET, fillWithCameraSensor(), fillWithCCArray(), fillWithCoordinateSystem(), fillWithFacet(), fillWithGBLSensor(), fillWithHObject(), fillWithImage(), fillWithLabel(), fillWithMaterialSet(), fillWithMesh(), fillWithMetaData(), fillWithPointCloud(), fillWithPointKdTree(), fillWithPointOctree(), fillWithPolyline(), fillWithPrimitive(), fillWithTransBuffer(), fillWithViewportObject(), fillWithViewProperties(), CV_TYPES::GBL_SENSOR, ccHObject::getViewId(), CV_TYPES::IMAGE, ccObject::isA(), ccDrawableObject::isGLTransEnabled(), ccObject::isHierarchy(), ccObject::isKindOf(), CV_TYPES::LABEL_2D, m_currentObject, m_model, m_view, CV_TYPES::MATERIAL_SET, CV_TYPES::MESH, CV_TYPES::NORMAL_INDEXES_ARRAY, CV_TYPES::NORMALS_ARRAY, OBJECT_GLTRANS_MATRIX_EDITOR, OBJECT_HISTORY_MATRIX_EDITOR, PERSISTENT_EDITOR(), CV_TYPES::POINT_CLOUD, CV_TYPES::POINT_KDTREE, CV_TYPES::POINT_OCTREE, CV_TYPES::POLY_LINE, CV_TYPES::PRIMITIVE, CVLog::Print(), CV_TYPES::RGB_COLOR_ARRAY, CV_TYPES::SENSOR, CV_TYPES::TEX_COORDS_ARRAY, ccHObjectCaster::To2DLabel(), ccHObjectCaster::To2DViewportObject(), ccHObjectCaster::ToCameraSensor(), ccHObjectCaster::ToCoordinateSystem(), ccHObjectCaster::ToFacet(), ccHObjectCaster::ToGBLSensor(), ccHObjectCaster::ToGenericMesh(), ccHObjectCaster::ToGenericPointCloud(), ccHObjectCaster::ToImage(), ccHObjectCaster::ToKdTree(), ccHObjectCaster::ToOctree(), ccHObjectCaster::ToPolyline(), ccHObjectCaster::ToPrimitive(), CV_TYPES::TRANS_BUFFER, unbind(), CV_TYPES::VIEWPORT_2D_LABEL, and CV_TYPES::VIEWPORT_2D_OBJECT.
Referenced by ccDBRoot::showPropertiesView(), and updateModel().
|
protected |
Definition at line 705 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), appendWideRow(), CHECKABLE_ITEM(), ccPointCloud::getCurrentDisplayedScalarField(), cloudViewer::PointCloudTpl< T >::getNumberOfScalarFields(), ITEM(), m_model, OBJECT_CLOUD_SF_EDITOR, OBJECT_COLOR_RAMP_STEPS, OBJECT_CURRENT_COLOR_RAMP, OBJECT_CURRENT_SCALAR_FIELD, OBJECT_SF_SHOW_SCALE, PERSISTENT_EDITOR(), ccPointCloud::sfColorScaleShown(), and ccHObjectCaster::ToPointCloud().
Referenced by fillWithMesh(), and fillWithPointCloud().
|
protected |
Definition at line 1163 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CHECKABLE_ITEM(), fillWithSensor(), ccCameraSensor::frustumIsDrawn(), ccCameraSensor::frustumPlanesAreDrawn(), ccCameraSensor::getIntrinsicParameters(), ITEM(), m_model, OBJECT_SENSOR_DRAW_FRUSTUM, OBJECT_SENSOR_DRAW_FRUSTUM_PLANES, params, and cloudViewer::RadiansToDegrees().
Referenced by fillModel().
|
protected |
Definition at line 1244 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), fillWithShareable(), ccObject::getName(), ITEM(), m_model, and e57::toString().
Referenced by fillModel().
|
protected |
Definition at line 611 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), ccCoordinateSystem::axisLinesAreShown(), ccCoordinateSystem::axisPlanesAreShown(), CHECKABLE_ITEM(), ccCoordinateSystem::getOrigin(), ITEM(), m_model, OBJECT_COORDINATE_SYSTEM_AXES_WIDTH, OBJECT_COORDINATE_SYSTEM_DISP_AXES, OBJECT_COORDINATE_SYSTEM_DISP_PLANES, OBJECT_COORDINATE_SYSTEM_DISP_SCALE, OBJECT_MESH_STIPPLING, PERSISTENT_EDITOR(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by fillModel().
|
protected |
Definition at line 789 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CHECKABLE_ITEM(), fillWithPlanarEntity(), ccFacet::getCenter(), ccFacet::getContour(), ccFacet::getPolygon(), ccFacet::getRMS(), ccFacet::getSurface(), ccDrawableObject::isVisible(), ITEM(), m_model, OBJECT_FACET_CONTOUR, OBJECT_FACET_MESH, e57::toString(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by fillModel().
|
protected |
Definition at line 1113 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), fillWithSensor(), ccGBLSensor::getMaxPitch(), ccGBLSensor::getMaxYaw(), ccGBLSensor::getMinPitch(), ccGBLSensor::getMinYaw(), ccGBLSensor::getPitchStep(), ccGBLSensor::getYawStep(), ITEM(), m_model, OBJECT_SENSOR_UNCERTAINTY, PERSISTENT_EDITOR(), and cloudViewer::RadiansToDegrees().
Referenced by fillModel().
|
protected |
Definition at line 504 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CHECKABLE_ITEM(), ccHObject::getBB_recursive(), cloudViewer::BoundingBoxTpl< T >::getCenter(), ccHObject::getChildrenNumber(), cloudViewer::BoundingBoxTpl< T >::getDiagVec(), ccObject::getName(), ccHObject::getOwnFitBB(), ccHObject::getSelectionBehavior(), ccGLMatrixTpl< T >::getTranslationAsVec3D(), ccObject::getUniqueID(), ccDrawableObject::hasColors(), ccDrawableObject::hasNormals(), ccDrawableObject::hasScalarFields(), ccObject::isLocked(), cloudViewer::BoundingBoxTpl< T >::isValid(), ccDrawableObject::isVisibilityLocked(), ccDrawableObject::isVisible(), ITEM(), m_model, ccDrawableObject::nameShownIn3D(), ccDrawableObject::normalsShown(), OBJECT_COLOR_SOURCE, OBJECT_CURRENT_DISPLAY, OBJECT_NAME, OBJECT_NAME_IN_3D, OBJECT_NORMALS_SHOWN, OBJECT_VISIBILITY, PERSISTENT_EDITOR(), ccHObject::SELECTION_FIT_BBOX, ccShiftedObject::toGlobal3d(), ccHObjectCaster::ToShifted(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by fillModel().
|
protected |
Definition at line 990 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), ccImage::getAssociatedSensor(), ccImage::getH(), ccImage::getW(), ITEM(), m_model, OBJECT_APPLY_IMAGE_VIEWPORT, OBJECT_IMAGE_ALPHA, and PERSISTENT_EDITOR().
Referenced by fillModel().
|
protected |
Definition at line 1012 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CHECKABLE_ITEM(), cc2DLabel::getLabelContent(), cc2DLabel::isDisplayedIn2D(), cc2DLabel::isPointLegendDisplayed(), ITEM(), m_model, OBJECT_LABEL_DISP_2D, OBJECT_LABEL_POINT_LEGEND, and ecvGui::Parameters().
Referenced by fillModel().
|
protected |
Definition at line 1217 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), fillWithShareable(), ITEM(), and m_model.
Referenced by fillModel().
|
protected |
Definition at line 845 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CHECKABLE_ITEM(), fillSFWithPointCloud(), ccGenericMesh::getAssociatedCloud(), ccGenericMesh::hasMaterials(), ccObject::isA(), ccHObject::isAncestorOf(), ccObject::isLocked(), ccGenericMesh::isShownAsPoints(), ccGenericMesh::isShownAsWire(), ITEM(), m_model, ccGenericMesh::materialsShown(), OBJECT_MATERIALS, OBJECT_MESH_POINTS, OBJECT_MESH_STIPPLING, OBJECT_MESH_TEXTUREFILE, OBJECT_MESH_WIRE, PERSISTENT_EDITOR(), cloudViewer::GenericMesh::size(), CV_TYPES::SUB_MESH, and e57::toString().
Referenced by fillModel().
|
protected |
Definition at line 383 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), ITEM(), m_model, and ccObject::metaData().
Referenced by fillModel().
|
protected |
Definition at line 824 of file ecvPropertiesTreeDelegate.cpp.
References appendRow(), CHECKABLE_ITEM(), ccNormalVectors::ConvertNormalToDipAndDipDir(), ccPlanarEntityInterface::getNormal(), ITEM(), ccPlanarEntityInterface::normalVectorIsShown(), OBJECT_PLANE_NORMAL_VECTOR, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by fillWithFacet(), and fillWithPrimitive().
|
protected |
Definition at line 640 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), fillSFWithPointCloud(), fillWithShifted(), ccPointCloud::fwfData(), ccPointCloud::fwfDescriptors(), ccPointCloud::grid(), ccPointCloud::gridCount(), ccPointCloud::hasFWF(), ccObject::isA(), ITEM(), m_model, OBJECT_CLOUD_POINT_SIZE, PERSISTENT_EDITOR(), CV_TYPES::POINT_CLOUD, cloudViewer::GenericCloud::size(), e57::toString(), and ccPointCloud::waveforms().
Referenced by fillModel().
|
protected |
Definition at line 954 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), cloudViewer::TrueKdTree::getMaxError(), cloudViewer::TrueKdTree::getMaxErrorType(), ITEM(), m_model, cloudViewer::DistanceComputationTools::MAX_DIST, cloudViewer::DistanceComputationTools::MAX_DIST_68_PERCENT, cloudViewer::DistanceComputationTools::MAX_DIST_95_PERCENT, cloudViewer::DistanceComputationTools::MAX_DIST_99_PERCENT, and cloudViewer::DistanceComputationTools::RMS.
Referenced by fillModel().
|
protected |
Definition at line 919 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), cloudViewer::DgmOctree::getCellNumber(), cloudViewer::DgmOctree::getCellSize(), ccOctree::getDisplayedLevel(), ITEM(), m_model, cloudViewer::DgmOctree::MAX_OCTREE_LEVEL, OBJECT_OCTREE_LEVEL, OBJECT_OCTREE_TYPE, PERSISTENT_EDITOR(), and e57::toString().
Referenced by fillModel().
|
protected |
Definition at line 885 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CV_TYPES::CIRCLE, ccPolyline::computeLength(), fillWithShifted(), ccObject::isA(), ITEM(), m_model, OBJECT_CIRCLE_RADIUS, OBJECT_CIRCLE_RESOLUTION, OBJECT_POLYLINE_WIDTH, PERSISTENT_EDITOR(), cloudViewer::ReferenceCloud::size(), and e57::toString().
Referenced by fillModel().
|
protected |
Definition at line 750 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CV_TYPES::CONE, CV_TYPES::CYLINDER, CV_TYPES::DISC, fillWithPlanarEntity(), ccGenericPrimitive::getTypeName(), ccGenericPrimitive::hasDrawingPrecision(), ccObject::isA(), ccObject::isKindOf(), ITEM(), m_model, OBJECT_CONE_BOTTOM_RADIUS, OBJECT_CONE_HEIGHT, OBJECT_CONE_TOP_RADIUS, OBJECT_DISC_RADIUS, OBJECT_PRIMITIVE_PRECISION, OBJECT_SPHERE_RADIUS, PERSISTENT_EDITOR(), CV_TYPES::PLANE, and CV_TYPES::SPHERE.
Referenced by fillModel().
|
protected |
|
protected |
Definition at line 1076 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), appendWideRow(), ccSensor::getIndexBounds(), ccSensor::getPositions(), ITEM(), m_model, OBJECT_APPLY_SENSOR_VIEWPORT, OBJECT_SENSOR_DISPLAY_SCALE, OBJECT_SENSOR_INDEX, OBJECT_SENSOR_MATRIX_EDITOR, and PERSISTENT_EDITOR().
Referenced by fillWithCameraSensor(), and fillWithGBLSensor().
|
protected |
Definition at line 1229 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CCShareable::getLinkCount(), ITEM(), and m_model.
Referenced by fillWithCCArray(), and fillWithMaterialSet().
|
protected |
Definition at line 596 of file ecvPropertiesTreeDelegate.cpp.
References appendRow(), ccShiftedObject::getGlobalScale(), ccShiftedObject::getGlobalShift(), ITEM(), m_model, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by fillWithPointCloud(), and fillWithPolyline().
|
protected |
Definition at line 1052 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CHECKABLE_ITEM(), ccIndexedTransformationBuffer::isPathShonwAsPolyline(), ITEM(), m_model, OBJECT_SHOW_TRANS_BUFFER_PATH, OBJECT_SHOW_TRANS_BUFFER_TRIHDERONS, OBJECT_TRANS_BUFFER_TRIHDERONS_SCALE, PERSISTENT_EDITOR(), and ccIndexedTransformationBuffer::triherdonsShown().
Referenced by fillModel().
|
protected |
Definition at line 1032 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), ccObject::getName(), ITEM(), m_model, OBJECT_APPLY_LABEL_VIEWPORT, OBJECT_UPDATE_LABEL_VIEWPORT, and PERSISTENT_EDITOR().
Referenced by fillModel().
|
protected |
Definition at line 407 of file ecvPropertiesTreeDelegate.cpp.
References addSeparator(), appendRow(), CV_TYPES::FACET, ccHObject::getBB_recursive(), ccHObject::getChildrenNumber(), ecvDisplayTools::getDataAxesGridProperties(), ccHObject::getViewId(), CV_TYPES::IMAGE, ccPolyline::is2DMode(), ccObject::isA(), ccObject::isKindOf(), cloudViewer::BoundingBoxTpl< T >::isValid(), ITEM(), CV_TYPES::LABEL_2D, m_currentObject, m_model, CV_TYPES::MATERIAL_SET, CV_TYPES::MESH, CV_TYPES::NORMAL_INDEXES_ARRAY, CV_TYPES::NORMALS_ARRAY, OBJECT_OPACITY, OBJECT_VIEW_DATA_AXES_GRID_VISIBLE, OBJECT_VIEW_LIGHT_KIT_INTENSITY, PERSISTENT_EDITOR(), CV_TYPES::POINT_CLOUD, CV_TYPES::POLY_LINE, CV_TYPES::PRIMITIVE, CV_TYPES::RGB_COLOR_ARRAY, cloudViewer::ReferenceCloud::size(), CV_TYPES::TEX_COORDS_ARRAY, ecvDisplayTools::TheInstance(), ccHObjectCaster::ToPolyline(), CV_TYPES::VIEWPORT_2D_LABEL, and CV_TYPES::VIEWPORT_2D_OBJECT.
Referenced by fillModel().
|
protected |
Get texture path map for current mesh object.
Definition at line 2849 of file ecvPropertiesTreeDelegate.cpp.
References m_currentObject, and m_meshTexturePathMaps.
| ccHObject * ccPropertiesTreeDelegate::getCurrentObject | ( | ) |
Returns currently bound object.
Definition at line 196 of file ecvPropertiesTreeDelegate.cpp.
References m_currentObject.
Referenced by ccDBRoot::reflectObjectPropChange().
|
protected |
Returns whether the editor is wide (i.e. spans on two columns) or not.
Definition at line 1276 of file ecvPropertiesTreeDelegate.cpp.
References OBJECT_CLOUD_SF_EDITOR, OBJECT_GLTRANS_MATRIX_EDITOR, OBJECT_HISTORY_MATRIX_EDITOR, OBJECT_SENSOR_MATRIX_EDITOR, and TREE_VIEW_HEADER.
Referenced by createEditor(), setEditorData(), and updateEditorGeometry().
|
signal |
Request to clear all selection data (prevents crashes from stale references)
|
virtual |
Definition at line 1965 of file ecvPropertiesTreeDelegate.cpp.
References ecvTextureFileSelector::addItem(), Settings::APP_TITLE, MatrixDisplayDlg::clear(), ccDrawableObject::colorsShown(), context, ccMaterial::DIFFUSE, CV_TYPES::FACET, sfEditDlg::fillDialogWith(), MatrixDisplayDlg::fillDialogWith(), ccSensor::getActiveAbsoluteTransformation(), ccSensor::getActiveIndex(), ccCone::getBottomRadius(), ccHObject::getChildrenNumber(), ccScalarField::getColorRampSteps(), ccScalarField::getColorScale(), ccPointCloud::getCurrentDisplayedScalarField(), ccPointCloud::getCurrentDisplayedScalarFieldIndex(), ecvDisplayTools::getDataAxesGridProperties(), ccGenericPrimitive::getDrawingPrecision(), ccDrawableObject::getGLTransformation(), ccHObject::getGLTransformationHistory(), ccSensor::getGraphicScale(), ccCone::getHeight(), ecvDisplayTools::getLightIntensity(), ccGenericMesh::getMaterialSet(), ccObject::getName(), ccDrawableObject::getOpacity(), ccGenericPointCloud::getPointSize(), ccCircle::getRadius(), ccDisc::getRadius(), ccSphere::getRadius(), ccCircle::getResolution(), MainWindow::getSelectedEntities(), ccCone::getTopRadius(), ccGBLSensor::getUncertainty(), ccHObject::getViewId(), ccPolyline::getWidth(), ccDrawableObject::hasColors(), ccDrawableObject::hasScalarFields(), image, ecvTextureFileSelector::init(), isWideEditor(), m_currentObject, m_meshTexturePathMaps, m_model, max(), CV_TYPES::MESH, OBJECT_CIRCLE_RADIUS, OBJECT_CIRCLE_RESOLUTION, OBJECT_CLOUD_POINT_SIZE, OBJECT_CLOUD_SF_EDITOR, OBJECT_COLOR_RAMP_STEPS, OBJECT_COLOR_SOURCE, OBJECT_CONE_BOTTOM_RADIUS, OBJECT_CONE_HEIGHT, OBJECT_CONE_TOP_RADIUS, OBJECT_CURRENT_COLOR_RAMP, OBJECT_CURRENT_DISPLAY, OBJECT_CURRENT_SCALAR_FIELD, OBJECT_DISC_RADIUS, OBJECT_GLTRANS_MATRIX_EDITOR, OBJECT_HISTORY_MATRIX_EDITOR, OBJECT_IMAGE_ALPHA, OBJECT_MESH_TEXTUREFILE, OBJECT_OCTREE_LEVEL, OBJECT_OCTREE_TYPE, OBJECT_OPACITY, OBJECT_POLYLINE_WIDTH, OBJECT_PRIMITIVE_PRECISION, OBJECT_SENSOR_DISPLAY_SCALE, OBJECT_SENSOR_INDEX, OBJECT_SENSOR_MATRIX_EDITOR, OBJECT_SENSOR_UNCERTAINTY, OBJECT_SPHERE_RADIUS, OBJECT_TRANS_BUFFER_TRIHDERONS_SCALE, OBJECT_VIEW_DATA_AXES_GRID_VISIBLE, OBJECT_VIEW_LIGHT_KIT_INTENSITY, octree, ecvGui::Parameters(), params, CV_TYPES::POINT_CLOUD, CV_TYPES::POLY_LINE, CV_TYPES::PRIMITIVE, SetComboBoxIndex(), ecvDisplayTools::setDataAxesGridProperties(), SetDoubleSpinBoxValue(), ccColorScaleSelector::setSelectedScale(), ecvTextureFileSelector::setSelectedTexturefile(), SetSpinBoxValue(), ccDrawableObject::sfShown(), MainWindow::TheInstance(), ecvDisplayTools::TheInstance(), ccHObjectCaster::ToCircle(), ccHObjectCaster::ToCone(), ccHObjectCaster::ToDisc(), ccHObjectCaster::ToGBLSensor(), ccHObjectCaster::ToGenericMesh(), ccHObjectCaster::ToGenericPointCloud(), ccHObjectCaster::ToImage(), ccHObjectCaster::ToOctree(), ccHObjectCaster::ToPointCloud(), ccHObjectCaster::ToPolyline(), ccHObjectCaster::ToPrimitive(), ccHObjectCaster::ToSensor(), ccHObjectCaster::ToSphere(), ccHObjectCaster::ToTransBuffer(), TREE_VIEW_HEADER, ccIndexedTransformationBuffer::triherdonsDisplayScale(), ecvDisplayTools::UpdateScreen(), and AxesGridProperties::visible.
|
inline |
Set visualizer for other property editors.
Definition at line 171 of file ecvPropertiesTreeDelegate.h.
References m_viewer.
|
virtual |
Definition at line 155 of file ecvPropertiesTreeDelegate.cpp.
References m_model, OBJECT_CLOUD_POINT_SIZE, OBJECT_CLOUD_SF_EDITOR, OBJECT_COLOR_RAMP_STEPS, OBJECT_COLOR_SOURCE, OBJECT_CURRENT_COLOR_RAMP, OBJECT_CURRENT_DISPLAY, OBJECT_CURRENT_SCALAR_FIELD, OBJECT_GLTRANS_MATRIX_EDITOR, OBJECT_HISTORY_MATRIX_EDITOR, OBJECT_MESH_TEXTUREFILE, OBJECT_OCTREE_TYPE, OBJECT_OPACITY, OBJECT_POLYLINE_WIDTH, and OBJECT_SENSOR_MATRIX_EDITOR.
|
virtual |
Definition at line 189 of file ecvPropertiesTreeDelegate.cpp.
References m_meshTexturePathMaps, and m_model.
Referenced by clearModel(), fillModel(), ccDBRoot::hidePropertiesView(), and ~ccPropertiesTreeDelegate().
|
virtual |
Definition at line 1907 of file ecvPropertiesTreeDelegate.cpp.
References isWideEditor(), m_model, m_view, and rect::width.
|
protected |
Updates the current model (assuming object is the same)
Definition at line 2841 of file ecvPropertiesTreeDelegate.cpp.
References fillModel(), and m_currentObject.
|
protected |
Definition at line 281 of file ecvPropertiesTreeDelegate.h.
Referenced by clearModel(), createEditor(), fillModel(), fillWithViewProperties(), getCurrentMeshTexturePathMap(), getCurrentObject(), setEditorData(), and updateModel().
|
protected |
Last focused item role (used to force scroll focus after model update)
Definition at line 291 of file ecvPropertiesTreeDelegate.h.
|
mutableprotected |
Texture path maps indexed by mesh object pointer Maps mesh object -> (texture name -> texture path) Mutable to allow modification in const methods (setEditorData)
Definition at line 287 of file ecvPropertiesTreeDelegate.h.
Referenced by clearMeshTexturePathMap(), getCurrentMeshTexturePathMap(), setEditorData(), and unbind().
|
protected |
Definition at line 282 of file ecvPropertiesTreeDelegate.h.
Referenced by addSeparator(), appendRow(), appendWideRow(), ccPropertiesTreeDelegate(), clearModel(), createEditor(), fillModel(), fillSFWithPointCloud(), fillWithCameraSensor(), fillWithCCArray(), fillWithCoordinateSystem(), fillWithFacet(), fillWithGBLSensor(), fillWithHObject(), fillWithImage(), fillWithLabel(), fillWithMaterialSet(), fillWithMesh(), fillWithMetaData(), fillWithPointCloud(), fillWithPointKdTree(), fillWithPointOctree(), fillWithPolyline(), fillWithPrimitive(), fillWithSensor(), fillWithShareable(), fillWithShifted(), fillWithTransBuffer(), fillWithViewportObject(), fillWithViewProperties(), setEditorData(), sizeHint(), unbind(), and updateEditorGeometry().
|
protected |
Definition at line 283 of file ecvPropertiesTreeDelegate.h.
Referenced by addSeparator(), appendRow(), appendWideRow(), ccPropertiesTreeDelegate(), fillModel(), and updateEditorGeometry().
|
protected |
Visualizer for other property editors.
Definition at line 289 of file ecvPropertiesTreeDelegate.h.
Referenced by setVisualizer().