ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvPropertiesTreeDelegate.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // CV_DB_LIB
11 #include <ecvArray.h>
12 
13 // Qt
14 #include <QPointer>
15 #include <QStyledItemDelegate>
16 
17 // Forward declarations
19 class ccHObject;
21 class ccPolyline;
22 class ccGenericMesh;
23 class ccGenericPrimitive;
24 class ccOctree;
25 class ccKdTree;
26 class ccImage;
27 class ccGBLSensor;
28 class ccCameraSensor;
29 class ccMaterialSet;
30 class cc2DLabel;
31 class cc2DViewportObject;
32 class ccFacet;
34 class ccShiftedObject;
35 class CCShareable;
37 class ccSensor;
38 class ccCoordinateSystem;
39 
40 class QStandardItemModel;
41 class QStandardItem;
42 class QAbstractItemView;
43 
45 class ccPropertiesTreeDelegate : public QStyledItemDelegate {
46  Q_OBJECT
47 
48 public:
54  OBJECT_OPACITY, // Object transparency/opacity [0.0, 1.0]
106  // Note: OBJECT_SELECTION_PROPERTIES has been removed.
107  // Selection properties are now shown in the standalone Find Data dock
108  // widget (cvFindDataDockWidget) which is decoupled from the properties
109  // tree. This follows ParaView's design pattern.
110  OBJECT_SELECTION_HOVER_COLOR, // Legacy - kept for compatibility
111  OBJECT_SELECTION_PRESELECTED_COLOR, // Legacy - kept for compatibility
112  OBJECT_SELECTION_SELECTED_COLOR, // Legacy - kept for compatibility
113  OBJECT_SELECTION_BOUNDARY_COLOR, // Color picker for boundary highlight
114  OBJECT_SELECTION_HOVER_OPACITY, // Opacity for hover
115  OBJECT_SELECTION_PRESELECTED_OPACITY, // Opacity for preselected
116  OBJECT_SELECTION_SELECTED_OPACITY, // Opacity for selected
117  OBJECT_SELECTION_BOUNDARY_OPACITY, // Opacity for boundary
118  OBJECT_SELECTION_SHOW_TOOLTIPS, // Checkbox for tooltip display
119  OBJECT_SELECTION_MAX_ATTRIBUTES, // Spinbox for max tooltip attributes
120  // View properties (ParaView-style)
121  OBJECT_VIEW_USE_LIGHT_KIT, // Light Kit enable/disable
122  OBJECT_VIEW_LIGHT_KIT_INTENSITY, // Light Kit intensity slider
123  // (0.0-2.0)
124  OBJECT_VIEW_DATA_AXES_GRID_VISIBLE, // Show/hide data axes grid
125  // (ParaView-style)
126  OBJECT_VIEW_DATA_AXES_GRID_EDIT, // Edit data axes grid properties
127  OBJECT_VIEW_CAMERA_ORIENTATION_WIDGET, // Camera orientation widget
128  // visibility (toolbar only)
129  OBJECT_VIEW_CENTER_AXES_VISIBILITY, // Center axes visibility (simple
130  // coordinate system)
132  };
133 
135  ccPropertiesTreeDelegate(QStandardItemModel* _model,
136  QAbstractItemView* _view,
137  QObject* parent = 0);
138 
140  virtual ~ccPropertiesTreeDelegate();
141 
142  // inherited from QStyledItemDelegate
143  virtual QSize sizeHint(const QStyleOptionViewItem& option,
144  const QModelIndex& index) const;
145  virtual QWidget* createEditor(QWidget* parent,
146  const QStyleOptionViewItem& option,
147  const QModelIndex& index) const;
148  // virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const
149  // QStyleOptionViewItem& option, const QModelIndex& index);
150  virtual void updateEditorGeometry(QWidget* editor,
151  const QStyleOptionViewItem& option,
152  const QModelIndex& index) const;
153  virtual void setEditorData(QWidget* editor, const QModelIndex& index) const;
154  virtual void unbind();
155 
157  void fillModel(ccHObject* hObject);
158 
161 
162  // Note: setSelectionToolsActive, areSelectionToolsActive, and
163  // showSelectionPropertiesOnly have been removed. Selection properties are
164  // now shown in the standalone Find Data dock widget (cvFindDataDockWidget)
165  // which is decoupled from the properties tree and selection tool state.
166 
168  void clearModel();
169 
171  void setVisualizer(ecvGenericVisualizer3D* viewer) { m_viewer = viewer; }
172 
173 signals:
174  void ccObjectPropertiesChanged(ccHObject* hObject) const;
175  void ccObjectAppearanceChanged(ccHObject* hObject,
176  bool forceRedraw = true) const;
178  bool forceRedraw = true) const;
179 
186  void requestClearSelection() const;
187 
188 private:
189  static const char* s_noneString;
190  static const char* s_rgbColor;
191  static const char* s_sfColor;
192  static const char* s_defaultPointSizeString;
193  static const char* s_defaultPolyWidthSizeString;
194 
195  void updateItem(QStandardItem*);
196  void scalarFieldChanged(int);
197  void textureFileChanged(int);
198  void colorScaleChanged(int);
199  void colorRampStepsChanged(int);
200  void spawnColorRampEditor();
201  void spawnTextureFileEditor();
202  void octreeDisplayModeChanged(int);
203  void octreeDisplayedLevelChanged(int);
204  void primitivePrecisionChanged(int);
205  void circleResolutionChanged(int);
206  void sphereRadiusChanged(double);
207  void circleRadiusChanged(double);
208  void discRadiusChanged(double);
209  void coneHeightChanged(double);
210  void coneBottomRadiusChanged(double);
211  void coneTopRadiusChanged(double);
212  void imageAlphaChanged(int);
213  void applyImageViewport();
214  void applySensorViewport();
215  void applyLabelViewport();
216  void updateLabelViewport();
217  void updateDisplay();
218  void objectDisplayChanged(const QString&);
219  void colorSourceChanged(const QString&);
220  void sensorScaleChanged(double);
221  void coordinateSystemDisplayScaleChanged(double);
222  void sensorUncertaintyChanged();
223  void sensorIndexChanged(double);
224  void updateCurrentEntity(bool redraw = true);
225  void cloudPointSizeChanged(int);
226  void polyineWidthChanged(int);
227  void coordinateSystemAxisWidthChanged(int);
228  void trihedronsScaleChanged(double);
229  void opacityChanged(int); // Opacity slider value changed [0, 100]
230  void lightIntensityChanged(double); // Light intensity changed [0.0, 1.0]
231  // View property slots (ParaView-style)
232  void dataAxesGridEditRequested();
233  void cameraOrientationWidgetChanged(bool);
234  void centerAxesVisibilityChanged(bool);
235 
236 protected:
237  void addSeparator(QString title);
238  void appendRow(QStandardItem* leftItem,
239  QStandardItem* rightItem,
240  bool openPersistentEditor = false);
241  void appendWideRow(QStandardItem* item, bool openPersistentEditor = true);
242 
243  void fillWithHObject(ccHObject*);
247  void fillWithFacet(ccFacet*);
249  void fillWithSensor(ccSensor*);
255  void fillWithImage(ccImage*);
256  void fillWithLabel(cc2DLabel*);
262  void fillWithMetaData(ccObject*);
266  void fillWithViewProperties(); // ParaView-style view properties
267  template <class Type, int N, class ComponentType>
269 
271  bool isWideEditor(int itemData) const;
272 
274  void updateModel();
275 
277  QMap<QString, QString> getCurrentMeshTexturePathMap() const;
280 
282  QStandardItemModel* m_model;
283  QAbstractItemView* m_view;
287  mutable QMap<ccHObject*, QMap<QString, QString>> m_meshTexturePathMaps;
292 };
ccKdTree
KD-tree structure.
Definition: ecvKdTree.h:24
MIN_POINT_SIZE_F
constexpr float MIN_POINT_SIZE_F
Definition: CVConst.h:78
ccHObjectCaster::ToImage
static ccImage * ToImage(ccHObject *obj)
Definition: ecvHObjectCaster.cpp:257
ecvFacet.h
ccPropertiesTreeDelegate::OBJECT_SELECTION_BOUNDARY_COLOR
@ OBJECT_SELECTION_BOUNDARY_COLOR
Definition: ecvPropertiesTreeDelegate.h:113
ccGenericMesh::materialsShown
virtual bool materialsShown() const
Sets whether textures/material should be displayed or not.
Definition: ecvGenericMesh.h:198
ccCircle::getResolution
unsigned getResolution() const
Returns the resolution of the displayed circle.
Definition: ecvCircle.h:58
ccPropertiesTreeDelegate::OBJECT_NAME_IN_3D
@ OBJECT_NAME_IN_3D
Definition: ecvPropertiesTreeDelegate.h:92
CV_TYPES::IMAGE
@ IMAGE
Definition: CVTypes.h:114
ccCoordinateSystem::axisPlanesAreShown
bool axisPlanesAreShown() const
Definition: ecvCoordinateSystem.h:54
ccSensor::setActiveIndex
void setActiveIndex(double index)
Sets currently active index (displayed position, etc.)
Definition: ecvSensor.h:122
ccPropertiesTreeDelegate::OBJECT_SHOW_TRANS_BUFFER_PATH
@ OBJECT_SHOW_TRANS_BUFFER_PATH
Definition: ecvPropertiesTreeDelegate.h:97
cc2DViewportLabel
2D viewport label
Definition: ecv2DViewportLabel.h:14
AxesGridProperties::zUseCustomLabels
bool zUseCustomLabels
Definition: ecvDisplayTools.h:71
ccObject::isKindOf
bool isKindOf(CV_CLASS_ENUM type) const
Definition: ecvObject.h:128
ccPropertiesTreeDelegate::OBJECT_SF_SHOW_SCALE
@ OBJECT_SF_SHOW_SCALE
Definition: ecvPropertiesTreeDelegate.h:61
ccGenericMesh::updateTextures
bool updateTextures(const std::string &texture_file)
Definition: ecvGenericMesh.cpp:720
ecvIndexedTransformationBuffer.h
ccScalarField::getColorRampSteps
unsigned getColorRampSteps() const
Returns number of color ramp steps.
Definition: ecvScalarField.h:194
ccPropertiesTreeDelegate::fillWithSensor
void fillWithSensor(ccSensor *)
Definition: ecvPropertiesTreeDelegate.cpp:1076
ccDrawableObject::showNormals
virtual void showNormals(bool state)
Sets normals visibility.
Definition: ecvDrawableObject.h:93
CV_TYPES::VIEWPORT_2D_LABEL
@ VIEWPORT_2D_LABEL
Definition: CVTypes.h:142
cc2DLabel::setDisplayedIn2D
void setDisplayedIn2D(bool state)
Whether to display the label in 2D.
Definition: ecv2DLabel.h:114
ccGBLSensor::setUncertainty
void setUncertainty(PointCoordinateType u)
Sets the Z-buffer uncertainty on depth values.
Definition: ecvGBLSensor.h:153
CV_TYPES::CAMERA_SENSOR
@ CAMERA_SENSOR
Definition: CVTypes.h:118
ccPropertiesTreeDelegate::CC_PROPERTY_ROLE
CC_PROPERTY_ROLE
Delegate items roles.
Definition: ecvPropertiesTreeDelegate.h:50
ccPropertiesTreeDelegate::OBJECT_SENSOR_DISPLAY_SCALE
@ OBJECT_SENSOR_DISPLAY_SCALE
Definition: ecvPropertiesTreeDelegate.h:75
ccPropertiesTreeDelegate::OBJECT_CURRENT_COLOR_RAMP
@ OBJECT_CURRENT_COLOR_RAMP
Definition: ecvPropertiesTreeDelegate.h:69
AxesGridProperties::zMax
double zMax
Definition: ecvDisplayTools.h:82
ccPropertiesTreeDelegate::fillWithPlanarEntity
void fillWithPlanarEntity(ccPlanarEntityInterface *)
Definition: ecvPropertiesTreeDelegate.cpp:824
ccPropertiesTreeDelegate::OBJECT_APPLY_IMAGE_VIEWPORT
@ OBJECT_APPLY_IMAGE_VIEWPORT
Definition: ecvPropertiesTreeDelegate.h:71
ccPropertiesTreeDelegate::m_currentObject
ccHObject * m_currentObject
Definition: ecvPropertiesTreeDelegate.h:281
ccGBLSensor::getPitchStep
PointCoordinateType getPitchStep() const
Returns the lateral pitch step (in radians)
Definition: ecvGBLSensor.h:105
AxesGridProperties::opacity
double opacity
Definition: ecvDisplayTools.h:62
cloudViewer::BoundingBoxTpl::getCenter
Vector3Tpl< T > getCenter() const
Returns center.
Definition: BoundingBox.h:164
ccPropertiesTreeDelegate::fillSFWithPointCloud
void fillSFWithPointCloud(ccGenericPointCloud *)
Definition: ecvPropertiesTreeDelegate.cpp:705
ccImage::getAssociatedSensor
ccCameraSensor * getAssociatedSensor()
Returns associated sensor.
Definition: ecvImage.h:72
ccIndexedTransformationBuffer::isPathShonwAsPolyline
bool isPathShonwAsPolyline()
Definition: ecvIndexedTransformationBuffer.h:88
ecvPropertiesTreeDelegate.h
Tuple3Tpl::x
Type x
Definition: CVGeom.h:137
ccCone::setBottomRadius
virtual void setBottomRadius(PointCoordinateType radius)
Sets bottom radius.
Definition: ecvCone.cpp:213
cloudViewer::ReferenceCloud::size
unsigned size() const override
Returns the number of points.
Definition: ReferenceCloud.h:41
CV_TYPES::TEX_COORDS_ARRAY
@ TEX_COORDS_ARRAY
Definition: CVTypes.h:139
ccFacet::getCenter
const CCVector3 & getCenter() const
Returns the facet center.
Definition: ecvFacet.h:78
cloudViewer::GenericMesh::size
virtual unsigned size() const =0
Returns the number of triangles.
ccCoordinateSystem::hideShowDrawings
virtual void hideShowDrawings(CC_DRAW_CONTEXT &context) override
Definition: ecvCoordinateSystem.cpp:97
cloudViewer::GenericCloud::size
virtual unsigned size() const =0
Returns the number of points.
PROPERTY_PARAM
Definition: ecvDrawContext.h:98
cc2DLabel::displayPointLegend
void displayPointLegend(bool state)
Whether to display the point(s) legend (title only)
Definition: ecv2DLabel.h:108
ccHObjectCaster::To2DViewportLabel
static cc2DViewportLabel * To2DViewportLabel(ccHObject *obj)
Converts current object to cc2DViewportLabel (if possible)
Definition: ecvHObjectCaster.cpp:267
ccScalarField::setColorRampSteps
void setColorRampSteps(unsigned steps)
Sets number of color ramp steps used for display.
Definition: ecvScalarField.cpp:284
ccDrawableObject::normalsShown
virtual bool normalsShown() const
Returns whether normals are shown or not.
Definition: ecvDrawableObject.h:91
ccPropertiesTreeDelegate::OBJECT_MESH_STIPPLING
@ OBJECT_MESH_STIPPLING
Definition: ecvPropertiesTreeDelegate.h:66
ecvTextureFileSelector::addItem
void addItem(const QString &textureFilename, const QString &textureFilepath)
Definition: ecvTextureFileSelector.cpp:63
ccGBLSensor::getYawStep
PointCoordinateType getYawStep() const
Returns the yaw step (in radians)
Definition: ecvGBLSensor.h:130
ccPropertiesTreeDelegate::OBJECT_MATERIALS
@ OBJECT_MATERIALS
Definition: ecvPropertiesTreeDelegate.h:78
ccHObject::getParent
ccHObject * getParent() const
Returns parent object.
Definition: ecvHObject.h:245
ccColorScale::MIN_STEPS
static const unsigned MIN_STEPS
Minimum number of steps.
Definition: ecvColorScale.h:99
cc2DLabel::updateLabel
void updateLabel()
Definition: ecv2DLabel.cpp:312
CV_TYPES::RGB_COLOR_ARRAY
@ RGB_COLOR_ARRAY
Definition: CVTypes.h:137
ccPropertiesTreeDelegate::unbind
virtual void unbind()
Definition: ecvPropertiesTreeDelegate.cpp:189
MIN_LINE_WIDTH_F
constexpr float MIN_LINE_WIDTH_F
Definition: CVConst.h:80
ccHObjectCaster::ToPolyline
static ccPolyline * ToPolyline(ccHObject *obj)
Converts current object to ccPolyline (if possible)
Definition: ecvHObjectCaster.cpp:141
CV_TYPES::GBL_SENSOR
@ GBL_SENSOR
Definition: CVTypes.h:117
ccCameraSensor::IntrinsicParameters::arrayHeight
int arrayHeight
Definition: ecvCameraSensor.h:44
ccPropertiesTreeDelegate::OBJECT_SELECTION_MAX_ATTRIBUTES
@ OBJECT_SELECTION_MAX_ATTRIBUTES
Definition: ecvPropertiesTreeDelegate.h:119
data
GraphType data
Definition: graph_cut.cc:138
ccPropertiesTreeDelegate::OBJECT_SENSOR_MATRIX_EDITOR
@ OBJECT_SENSOR_MATRIX_EDITOR
Definition: ecvPropertiesTreeDelegate.h:74
ecvDisc.h
ccPropertiesTreeDelegate::getCurrentMeshTexturePathMap
QMap< QString, QString > getCurrentMeshTexturePathMap() const
Get texture path map for current mesh object.
Definition: ecvPropertiesTreeDelegate.cpp:2849
ccCoordinateSystem::axisLinesAreShown
bool axisLinesAreShown() const
Definition: ecvCoordinateSystem.h:58
ccPropertiesTreeDelegate::OBJECT_COLOR_RAMP_STEPS
@ OBJECT_COLOR_RAMP_STEPS
Definition: ecvPropertiesTreeDelegate.h:77
ccIndexedTransformationBuffer
Indexed Transformation buffer.
Definition: ecvIndexedTransformationBuffer.h:19
ccPropertiesTreeDelegate::OBJECT_SELECTION_PRESELECTED_OPACITY
@ OBJECT_SELECTION_PRESELECTED_OPACITY
Definition: ecvPropertiesTreeDelegate.h:115
ccGenericMesh::getMaterialSet
virtual const ccMaterialSet * getMaterialSet() const =0
ecvDisplayTools::setDataAxesGridProperties
virtual void setDataAxesGridProperties(const QString &viewID, const AxesGridProperties &props, int viewport=0)
Set Data Axes Grid properties (Virtual interface for derived classes)
Definition: ecvDisplayTools.h:530
ccHObjectCaster::ToPointCloud
static ccPointCloud * ToPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccPointCloud.
Definition: ecvHObjectCaster.cpp:54
ccColorScale::Shared
QSharedPointer< ccColorScale > Shared
Shared pointer type.
Definition: ecvColorScale.h:74
CV_TYPES::MESH
@ MESH
Definition: CVTypes.h:105
ccPropertiesTreeDelegate::fillWithPointCloud
void fillWithPointCloud(ccGenericPointCloud *)
Definition: ecvPropertiesTreeDelegate.cpp:640
ccPropertiesTreeDelegate::fillWithPointOctree
void fillWithPointOctree(ccOctree *)
Definition: ecvPropertiesTreeDelegate.cpp:919
ccPropertiesTreeDelegate::OBJECT_VIEW_CENTER_AXES_VISIBILITY
@ OBJECT_VIEW_CENTER_AXES_VISIBILITY
Definition: ecvPropertiesTreeDelegate.h:129
CVLog::PrintVerbose
static bool PrintVerbose(const char *format,...)
Prints out a verbose formatted message in console.
Definition: CVLog.cpp:103
ccPropertiesTreeDelegate::OBJECT_SELECTION_HOVER_OPACITY
@ OBJECT_SELECTION_HOVER_OPACITY
Definition: ecvPropertiesTreeDelegate.h:114
ccHObject::isGroup
bool isGroup() const
Returns whether the instance is a group.
Definition: ecvHObject.h:237
ccPropertiesTreeDelegate::OBJECT_MESH_WIRE
@ OBJECT_MESH_WIRE
Definition: ecvPropertiesTreeDelegate.h:64
signals
#define signals
Definition: PythonPlugin.cpp:26
ccHObject::setRedrawFlagRecursive
void setRedrawFlagRecursive(bool redraw=false)
Definition: ecvHObject.cpp:772
ccObject::setName
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
ccPropertiesTreeDelegate::OBJECT_SPHERE_RADIUS
@ OBJECT_SPHERE_RADIUS
Definition: ecvPropertiesTreeDelegate.h:85
Settings::APP_TITLE
static const QString APP_TITLE
Definition: CommonSettings.h:80
ecvDisplayTools::UpdateScreen
static void UpdateScreen()
Definition: ecvDisplayTools.h:1242
ccHObject::getSelectionBehavior
virtual SelectionBehavior getSelectionBehavior() const
Returns selection behavior.
Definition: ecvHObject.h:621
ccObject::isA
bool isA(CV_CLASS_ENUM type) const
Definition: ecvObject.h:131
ccBBox
Bounding box structure.
Definition: ecvBBox.h:25
ecvCone.h
cloudViewer::PointCloudTpl::getNumberOfScalarFields
unsigned getNumberOfScalarFields() const
Returns the number of associated (and active) scalar fields.
Definition: PointCloudTpl.h:345
ecvAxesGridDialog::applyRequested
void applyRequested()
ccHObjectCaster::ToFacet
static ccFacet * ToFacet(ccHObject *obj)
Converts current object to ccFacet (if possible)
Definition: ecvHObjectCaster.cpp:151
ccPropertiesTreeDelegate::OBJECT_NO_PROPERTY
@ OBJECT_NO_PROPERTY
Definition: ecvPropertiesTreeDelegate.h:51
CVLog::Print
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
ccCameraSensor::IntrinsicParameters::arrayWidth
int arrayWidth
Definition: ecvCameraSensor.h:43
ccPropertiesTreeDelegate::OBJECT_SHOW_TRANS_BUFFER_TRIHDERONS
@ OBJECT_SHOW_TRANS_BUFFER_TRIHDERONS
Definition: ecvPropertiesTreeDelegate.h:98
ccPropertiesTreeDelegate::OBJECT_CURRENT_SCALAR_FIELD
@ OBJECT_CURRENT_SCALAR_FIELD
Definition: ecvPropertiesTreeDelegate.h:68
CV_TYPES::POINT_CLOUD
@ POINT_CLOUD
Definition: CVTypes.h:104
ccHObjectCaster::ToOctree
static ccOctree * ToOctree(ccHObject *obj)
Converts current object to ccOctree (if possible)
Definition: ecvHObjectCaster.cpp:230
ccPointCloud::grid
Grid::Shared & grid(size_t gridIndex)
Returns an associated grid.
Definition: ecvPointCloud.h:443
cloudViewer::TrueKdTree::getMaxErrorType
DistanceComputationTools::ERROR_MEASURES getMaxErrorType() const
Returns max error estimator used for planarity-based split strategy.
Definition: TrueKdTree.h:141
ccPropertiesTreeDelegate::fillWithPolyline
void fillWithPolyline(ccPolyline *)
Definition: ecvPropertiesTreeDelegate.cpp:885
ccGenericMesh::getAssociatedCloud
virtual ccGenericPointCloud * getAssociatedCloud() const =0
Returns the vertices cloud.
CV_TYPES::FACET
@ FACET
Definition: CVTypes.h:109
ccPropertiesTreeDelegate::requestClearSelection
void requestClearSelection() const
Request to clear all selection data (prevents crashes from stale references)
ecvColorScaleSelector.h
ccPropertiesTreeDelegate::sizeHint
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: ecvPropertiesTreeDelegate.cpp:155
ccPropertiesTreeDelegate::OBJECT_TRANS_BUFFER_TRIHDERONS_SCALE
@ OBJECT_TRANS_BUFFER_TRIHDERONS_SCALE
Definition: ecvPropertiesTreeDelegate.h:99
ecvDisplayTools.h
ccHObjectCaster::ToSphere
static ccSphere * ToSphere(ccHObject *obj)
Converts current object to ccSphere (if possible)
Definition: ecvHObjectCaster.cpp:173
ccPropertiesTreeDelegate::OBJECT_SELECTION_BOUNDARY_OPACITY
@ OBJECT_SELECTION_BOUNDARY_OPACITY
Definition: ecvPropertiesTreeDelegate.h:117
cc2DViewportObject::getParameters
const ecvViewportParameters & getParameters() const
Gets parameters.
Definition: ecv2DViewportObject.h:32
ccIndexedTransformationBuffer::triherdonsShown
bool triherdonsShown()
Definition: ecvIndexedTransformationBuffer.h:76
ecvCircle.h
ccColorScaleSelector::getScale
ccColorScale::Shared getScale(int index) const
Returns a given color scale by index.
Definition: ecvColorScaleSelector.cpp:83
ecvDisplayTools::setLightIntensity
virtual void setLightIntensity(double intensity)
Definition: ecvDisplayTools.h:640
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
ccPropertiesTreeDelegate::OBJECT_PLANE_NORMAL_VECTOR
@ OBJECT_PLANE_NORMAL_VECTOR
Definition: ecvPropertiesTreeDelegate.h:95
cc2DLabel
2D label (typically attached to points)
Definition: ecv2DLabel.h:22
ccGBLSensor::getUncertainty
PointCoordinateType getUncertainty() const
Returns the Z-buffer uncertainty on depth values.
Definition: ecvGBLSensor.h:147
ccMaterial::CShared
QSharedPointer< const ccMaterial > CShared
Const + Shared type.
Definition: ecvMaterial.h:31
ccPropertiesTreeDelegate::OBJECT_COORDINATE_SYSTEM_DISP_SCALE
@ OBJECT_COORDINATE_SYSTEM_DISP_SCALE
Definition: ecvPropertiesTreeDelegate.h:105
cloudViewer::ScalarField
A simple scalar field (to be associated to a point cloud)
Definition: ScalarField.h:25
ecvSettingManager.h
ccPropertiesTreeDelegate
GUI properties list dialog element.
Definition: ecvPropertiesTreeDelegate.h:45
ccNormalVectors::ConvertNormalToDipAndDipDir
static void ConvertNormalToDipAndDipDir(const CCVector3 &N, PointCoordinateType &dip_deg, PointCoordinateType &dipDir_deg)
Converts a normal vector to geological 'dip direction & dip' parameters.
Definition: ecvNormalVectors.cpp:848
ccHObjectCaster::To2DLabel
static cc2DLabel * To2DLabel(ccHObject *obj)
Converts current object to cc2DLabel (if possible)
Definition: ecvHObjectCaster.cpp:262
CV_TYPES::CYLINDER
@ CYLINDER
Definition: CVTypes.h:126
cc2DLabel::getLabelContent
QStringList getLabelContent(int precision) const
Gets label content (as it will be displayed)
Definition: ecv2DLabel.cpp:700
ccObject::isHierarchy
bool isHierarchy() const
Definition: ecvObject.h:124
ccPlanarEntityInterface::getNormal
virtual CCVector3 getNormal() const =0
Returns the entity normal.
ccSensor::hideShowDrawings
virtual void hideShowDrawings(CC_DRAW_CONTEXT &context)
Definition: ecvSensor.cpp:56
AxesGridProperties
Data Axes Grid properties structure Encapsulates all properties for vtkCubeAxesActor configuration.
Definition: ecvDisplayTools.h:54
cloudViewer::RadiansToDegrees
float RadiansToDegrees(int radians)
Convert radians to degrees.
Definition: CVMath.h:71
ccColorScaleSelector
Advanced editor for color scales.
Definition: ecvColorScaleSelector.h:23
ecvSphere.h
ccPropertiesTreeDelegate::OBJECT_LABEL_DISP_2D
@ OBJECT_LABEL_DISP_2D
Definition: ecvPropertiesTreeDelegate.h:81
CV_TYPES::DISC
@ DISC
Definition: CVTypes.h:146
AxesGridProperties::yMax
double yMax
Definition: ecvDisplayTools.h:81
ccDrawableObject::isColorOverridden
virtual bool isColorOverridden() const
Definition: ecvDrawableObject.h:138
ecvColorScaleEditorDlg.h
ccSphere
Sphere (primitive)
Definition: ecvSphere.h:16
ccPropertiesTreeDelegate::clearModel
void clearModel()
Clear the model completely.
Definition: ecvPropertiesTreeDelegate.cpp:496
AxesGridProperties::xCustomLabels
QList< QPair< double, QString > > xCustomLabels
Definition: ecvDisplayTools.h:75
AxesGridProperties::showGrid
bool showGrid
Definition: ecvDisplayTools.h:65
ECV_LINES_3D
@ ECV_LINES_3D
Definition: ecvDrawContext.h:59
ccPlanarEntityInterface::normalVectorIsShown
bool normalVectorIsShown() const
Whether normal vector is shown or not.
Definition: ecvPlanarEntityInterface.h:27
cloudViewer::DgmOctree::MAX_OCTREE_LEVEL
static const int MAX_OCTREE_LEVEL
Max octree subdivision level.
Definition: DgmOctree.h:67
ecvSensor.h
ccPropertiesTreeDelegate::OBJECT_CLOUD_SF_EDITOR
@ OBJECT_CLOUD_SF_EDITOR
Definition: ecvPropertiesTreeDelegate.h:73
ccGenericMesh::hasMaterials
virtual bool hasMaterials() const =0
ccDisc::setRadius
void setRadius(PointCoordinateType radius)
Sets radius.
Definition: ecvDisc.cpp:99
ccIndexedTransformationBuffer::showTriherdons
void showTriherdons(bool state)
Definition: ecvIndexedTransformationBuffer.h:79
ccPropertiesTreeDelegate::OBJECT_SENSOR_INDEX
@ OBJECT_SENSOR_INDEX
Definition: ecvPropertiesTreeDelegate.h:96
ccObject::isEnabled
virtual bool isEnabled() const
Returns whether the object is enabled or not.
Definition: ecvObject.h:97
ecvPlane.h
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
ccPropertiesTreeDelegate::appendWideRow
void appendWideRow(QStandardItem *item, bool openPersistentEditor=true)
Definition: ecvPropertiesTreeDelegate.cpp:349
MainWindow::TheInstance
static MainWindow * TheInstance()
Returns the unique instance of this object.
Definition: MainWindow.cpp:2037
CCVector3
Vector3Tpl< PointCoordinateType > CCVector3
Default 3D Vector.
Definition: CVGeom.h:798
ccDrawableObject::hasScalarFields
virtual bool hasScalarFields() const
Returns whether one or more scalar fields are instantiated.
Definition: ecvDrawableObject.h:105
ccGenericMesh::isShownAsPoints
virtual bool isShownAsPoints() const
Returns whether the mesh is displayed as wired or with plain facets.
Definition: ecvGenericMesh.h:185
ccDrawableObject::hasNormals
virtual bool hasNormals() const
Returns whether normals are enabled or not.
Definition: ecvDrawableObject.h:89
CV_TYPES::SENSOR
@ SENSOR
Definition: CVTypes.h:116
ccPointCloud::setCurrentDisplayedScalarField
void setCurrentDisplayedScalarField(int index)
Sets the currently displayed scalar field.
Definition: ecvPointCloud.cpp:3227
ccColorScale::MAX_STEPS
static const unsigned MAX_STEPS
Maximum number of steps (internal representation)
Definition: ecvColorScale.h:109
cloudViewer::DistanceComputationTools::MAX_DIST_68_PERCENT
@ MAX_DIST_68_PERCENT
Definition: DistanceComputationTools.h:412
ecvTextureFileSelector.h
ecvOptions::Instance
static const ecvOptions & Instance()
Returns the stored values of each parameter.
Definition: ecvOptions.h:48
ccDrawableObject::isSelected
virtual bool isSelected() const
Returns whether entity is selected or not.
Definition: ecvDrawableObject.h:68
result
core::Tensor result
Definition: VtkUtils.cpp:76
ccHObject::getOwnFitBB
virtual ccBBox getOwnFitBB(ccGLMatrix &trans)
Returns best-fit bounding-box (if available)
Definition: ecvHObject.cpp:1009
ccPropertiesTreeDelegate::fillWithPrimitive
void fillWithPrimitive(ccGenericPrimitive *)
Definition: ecvPropertiesTreeDelegate.cpp:750
CV_TYPES::POINT_OCTREE
@ POINT_OCTREE
Definition: CVTypes.h:110
ccObject
Generic "CLOUDVIEWER Object" template.
Definition: ecvObject.h:49
ccPropertiesTreeDelegate::fillWithHObject
void fillWithHObject(ccHObject *)
Definition: ecvPropertiesTreeDelegate.cpp:504
ccColorScaleEditorDialog::setAssociatedScalarField
void setAssociatedScalarField(ccScalarField *sf)
Sets associated scalar field (optional)
Definition: ecvColorScaleEditorDlg.cpp:126
CV_TYPES::MATERIAL_SET
@ MATERIAL_SET
Definition: CVTypes.h:132
ecvFileUtils::defaultDocPath
QString defaultDocPath()
Shortcut for getting the documents location path.
Definition: ecvFileUtils.h:30
CVLog::Error
static bool Error(const char *format,...)
Display an error dialog with formatted message.
Definition: CVLog.cpp:143
ecvDrawContext.h
NormsIndexesTableType
Array of compressed 3D normals (single index)
Definition: ecvAdvancedTypes.h:21
ecvSubMesh.h
MAX_LINE_WIDTH_F
constexpr float MAX_LINE_WIDTH_F
Definition: CVConst.h:81
context
ImGuiContext * context
Definition: Window.cpp:76
ccSensor::getActiveIndex
double getActiveIndex() const
Sets currently active index (displayed position, etc.)
Definition: ecvSensor.h:119
ccHObject::SELECTION_FIT_BBOX
@ SELECTION_FIT_BBOX
Definition: ecvHObject.h:607
ccDrawableObject::showColors
virtual void showColors(bool state)
Sets colors visibility.
Definition: ecvDrawableObject.h:84
ccPropertiesTreeDelegate::fillWithPointKdTree
void fillWithPointKdTree(ccKdTree *)
Definition: ecvPropertiesTreeDelegate.cpp:954
cloudViewer::DistanceComputationTools::MAX_DIST_99_PERCENT
@ MAX_DIST_99_PERCENT
Definition: DistanceComputationTools.h:414
AxesGridProperties::xTitle
QString xTitle
Definition: ecvDisplayTools.h:66
ccPropertiesTreeDelegate::OBJECT_FACET_CONTOUR
@ OBJECT_FACET_CONTOUR
Definition: ecvPropertiesTreeDelegate.h:93
ecv2DViewportLabel.h
ccPropertiesTreeDelegate::OBJECT_SELECTION_SELECTED_COLOR
@ OBJECT_SELECTION_SELECTED_COLOR
Definition: ecvPropertiesTreeDelegate.h:112
ecvOptions.h
ecvDisplayTools::GetMainWindow
static QMainWindow * GetMainWindow()
Definition: ecvDisplayTools.h:679
MainWindow::getSelectedEntities
const ccHObject::Container & getSelectedEntities() const override
Returns currently selected entities ("read only")
Definition: MainWindow.h:238
ccPlanarEntityInterface::showNormalVector
void showNormalVector(bool state)
Show normal vector.
Definition: ecvPlanarEntityInterface.h:25
size
int size
Definition: FileIOFactory.cpp:130
ccPropertiesTreeDelegate::OBJECT_CURRENT_DISPLAY
@ OBJECT_CURRENT_DISPLAY
Definition: ecvPropertiesTreeDelegate.h:55
ccGLMatrixTpl::getTranslationAsVec3D
Vector3Tpl< T > getTranslationAsVec3D() const
Returns a copy of the translation as a CCVector3.
Definition: ecvGLMatrixTpl.h:830
ccArray
Shareable array that can be properly inserted in the DB tree.
Definition: ecvArray.h:21
height
int height
Definition: FileIOFactory.cpp:143
matrixDisplayDlg.h
ecvKdTree.h
ccPropertiesTreeDelegate::OBJECT_SENSOR_DRAW_FRUSTUM_PLANES
@ OBJECT_SENSOR_DRAW_FRUSTUM_PLANES
Definition: ecvPropertiesTreeDelegate.h:60
CV_TYPES::SPHERE
@ SPHERE
Definition: CVTypes.h:121
ccShiftedObject::getGlobalShift
virtual const CCVector3d & getGlobalShift() const
Returns the shift applied to original coordinates.
Definition: ecvShiftedObject.h:46
ccGenericPointCloud::setPointSize
void setPointSize(unsigned size=0)
Sets point size.
Definition: ecvGenericPointCloud.h:275
ccCameraSensor::IntrinsicParameters
Intrinsic parameters of the camera sensor.
Definition: ecvCameraSensor.h:27
ecvAxesGridDialog
ParaView-style Axes Grid Properties Dialog.
Definition: ecvAxesGridDialog.h:37
sfEditDlg::fillDialogWith
void fillDialogWith(ccScalarField *sf)
Updates dialog with a given scalar field.
Definition: sfEditDlg.cpp:91
ccCoordinateSystem::ShowAxisPlanes
void ShowAxisPlanes(bool show)
Definition: ecvCoordinateSystem.cpp:52
ccOctree::MEAN_POINTS
@ MEAN_POINTS
Definition: ecvOctree.h:80
ccHObjectCaster::ToCoordinateSystem
static ccCoordinateSystem * ToCoordinateSystem(ccHObject *obj)
Converts current object to ccCoordinateSystem (if possible)
Definition: ecvHObjectCaster.cpp:328
ccGBLSensor::getMaxYaw
PointCoordinateType getMaxYaw() const
Returns the maximal yaw limit (in radians)
Definition: ecvGBLSensor.h:122
ccPolyline::setWidth
void setWidth(PointCoordinateType width)
Sets the width of the line.
Definition: ecvPolyline.cpp:282
ccPropertiesTreeDelegate::isWideEditor
bool isWideEditor(int itemData) const
Returns whether the editor is wide (i.e. spans on two columns) or not.
Definition: ecvPropertiesTreeDelegate.cpp:1276
ccGBLSensor::getMinYaw
PointCoordinateType getMinYaw() const
Returns the minimal yaw limit (in radians)
Definition: ecvGBLSensor.h:119
ccSphere::getRadius
PointCoordinateType getRadius() const
Returns radius.
Definition: ecvSphere.h:45
ccCoordinateSystem::getAxisWidth
PointCoordinateType getAxisWidth() const
Definition: ecvCoordinateSystem.h:63
ccOctree
Octree structure.
Definition: ecvOctree.h:27
ccHObjectCaster::ToSensor
static ccSensor * ToSensor(ccHObject *obj)
Converts current object to ccSensor (if possible)
Definition: ecvHObjectCaster.cpp:240
ccPointCloud::sfColorScaleShown
bool sfColorScaleShown() const
Returns whether color scale should be displayed or not.
Definition: ecvPointCloud.cpp:1511
ccGenericPointCloud
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
cloudViewer::DgmOctree::getCellNumber
const unsigned & getCellNumber(unsigned char level) const
Returns the number of cells for a given level of subdivision.
Definition: DgmOctree.h:1038
ccPropertiesTreeDelegate::OBJECT_IMAGE_ALPHA
@ OBJECT_IMAGE_ALPHA
Definition: ecvPropertiesTreeDelegate.h:70
ccHObjectCaster::ToOctreeProxy
static ccOctreeProxy * ToOctreeProxy(ccHObject *obj)
Converts current object to ccOctreeProxy (if possible)
Definition: ecvHObjectCaster.cpp:224
ccCoordinateSystem::getDisplayScale
PointCoordinateType getDisplayScale() const
Definition: ecvCoordinateSystem.h:68
ecvDisplayTools::SetViewportParameters
static void SetViewportParameters(const ecvViewportParameters &params)
Definition: ecvDisplayTools.cpp:2598
MatrixDisplayDlg::fillDialogWith
void fillDialogWith(const ccGLMatrix &mat)
Updates dialog with a given (float) matrix.
Definition: matrixDisplayDlg.cpp:34
ccPropertiesTreeDelegate::fillWithTransBuffer
void fillWithTransBuffer(ccIndexedTransformationBuffer *)
Definition: ecvPropertiesTreeDelegate.cpp:1052
ccColorScaleEditorDialog::getActiveScale
ccColorScale::Shared getActiveScale()
Returns active scale.
Definition: ecvColorScaleEditorDlg.h:48
cc2DViewportLabel::updateLabel
void updateLabel()
Definition: ecv2DViewportLabel.cpp:78
ccPropertiesTreeDelegate::m_viewer
ecvGenericVisualizer3D * m_viewer
Visualizer for other property editors.
Definition: ecvPropertiesTreeDelegate.h:289
ecvTextureFileSelector::getTexturefilePath
QString getTexturefilePath(int index) const
Definition: ecvTextureFileSelector.cpp:70
ccPropertiesTreeDelegate::OBJECT_COORDINATE_SYSTEM_AXES_WIDTH
@ OBJECT_COORDINATE_SYSTEM_AXES_WIDTH
Definition: ecvPropertiesTreeDelegate.h:104
Vector3Tpl< PointCoordinateType >
AxesGridProperties::useCustomBounds
bool useCustomBounds
Definition: ecvDisplayTools.h:72
ecvDisplayTools::getLightIntensity
virtual double getLightIntensity() const
Definition: ecvDisplayTools.h:647
ccSensor::setGraphicScale
void setGraphicScale(PointCoordinateType scale)
Sets the sensor graphic representation scale.
Definition: ecvSensor.h:125
cc2DLabel::isDisplayedIn2D
bool isDisplayedIn2D() const
Returns whether the label is displayed in 2D.
Definition: ecv2DLabel.h:117
ccSensor::getIndexBounds
void getIndexBounds(double &minIndex, double &maxIndex) const
Gets index boundaries (shortcut)
Definition: ecvSensor.cpp:69
ecvDisplayTools::SetRedrawRecursive
static void SetRedrawRecursive(bool redraw=false)
Definition: ecvDisplayTools.cpp:1992
ccCone
Cone (primitive)
Definition: ecvCone.h:16
ccSensor
Generic sensor interface.
Definition: ecvSensor.h:27
ccPropertiesTreeDelegate::fillWithMaterialSet
void fillWithMaterialSet(ccMaterialSet *)
Definition: ecvPropertiesTreeDelegate.cpp:1217
ccFacet::getPolygon
ccMesh * getPolygon()
Returns polygon mesh (if any)
Definition: ecvFacet.h:81
ccCircle::setRadius
void setRadius(double radius)
Sets the radius of the circle.
Definition: ecvCircle.cpp:64
ecvDisplayTools::ChangeOpacity
static void ChangeOpacity(double opacity, const std::string &viewID, int viewport=0)
Definition: ecvDisplayTools.h:1320
CV_TYPES::CONE
@ CONE
Definition: CVTypes.h:123
e
const double * e
Definition: essential_matrix_poly.h:10
ccCameraSensor::getIntrinsicParameters
const IntrinsicParameters & getIntrinsicParameters() const
Returns intrinsic parameters.
Definition: ecvCameraSensor.h:222
ccPropertiesTreeDelegate::OBJECT_OCTREE_TYPE
@ OBJECT_OCTREE_TYPE
Definition: ecvPropertiesTreeDelegate.h:63
ccDrawableObject::getGLTransformation
virtual const ccGLMatrix & getGLTransformation() const
Returns associated GL transformation.
Definition: ecvDrawableObject.h:191
ecv2DLabel.h
CV_TYPES::PLANE
@ PLANE
Definition: CVTypes.h:120
ccHObject::hideBB
void hideBB(CC_DRAW_CONTEXT context)
Definition: ecvHObject.cpp:1640
ccIndexedTransformationBuffer::setTriherdonsDisplayScale
void setTriherdonsDisplayScale(float scale)
[Display option] Sets trihedron display size
Definition: ecvIndexedTransformationBuffer.h:84
ccCameraSensor::IntrinsicParameters::skew
float skew
Definition: ecvCameraSensor.h:39
ccPropertiesTreeDelegate::m_meshTexturePathMaps
QMap< ccHObject *, QMap< QString, QString > > m_meshTexturePathMaps
Definition: ecvPropertiesTreeDelegate.h:287
CV_TYPES::POLY_LINE
@ POLY_LINE
Definition: CVTypes.h:112
ccDrawableObject::nameShownIn3D
virtual bool nameShownIn3D() const
Returns whether name is displayed in 3D or not.
Definition: ecvDrawableObject.h:128
ecvArray.h
ccHObjectCaster::ToShifted
static ccShiftedObject * ToShifted(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccShiftedObject.
Definition: ecvHObjectCaster.cpp:108
ccCoordinateSystem::MAX_AXIS_WIDTH_F
static constexpr float MAX_AXIS_WIDTH_F
Maximum Axis line width.
Definition: ecvCoordinateSystem.h:98
ccMaterialSet::findMaterialByName
int findMaterialByName(QString mtlName) const
Finds material by name.
Definition: ecvMaterialSet.cpp:28
CV_TYPES::TRANS_BUFFER
@ TRANS_BUFFER
Definition: CVTypes.h:144
AxesGridProperties::yTitle
QString yTitle
Definition: ecvDisplayTools.h:67
ecvImage.h
cloudViewer::BoundingBoxTpl::isValid
bool isValid() const
Returns whether bounding box is valid or not.
Definition: BoundingBox.h:203
ccImage::getW
unsigned getW() const
Returns image width.
Definition: ecvImage.h:51
ccColorScaleSelector::init
void init()
Inits selector with the Color Scales Manager.
Definition: ecvColorScaleSelector.cpp:44
AxesGridProperties::xUseCustomLabels
bool xUseCustomLabels
Definition: ecvDisplayTools.h:69
ccHObject::showBB
void showBB(CC_DRAW_CONTEXT context)
Definition: ecvHObject.cpp:1647
ccPropertiesTreeDelegate::fillWithViewportObject
void fillWithViewportObject(cc2DViewportObject *)
Definition: ecvPropertiesTreeDelegate.cpp:1032
ccPointCloud::Grid::Shared
QSharedPointer< Grid > Shared
Shared type.
Definition: ecvPointCloud.h:385
ecvFileUtils.h
ccPropertiesTreeDelegate::OBJECT_CONE_TOP_RADIUS
@ OBJECT_CONE_TOP_RADIUS
Definition: ecvPropertiesTreeDelegate.h:90
ccPropertiesTreeDelegate::OBJECT_COORDINATE_SYSTEM_DISP_AXES
@ OBJECT_COORDINATE_SYSTEM_DISP_AXES
Definition: ecvPropertiesTreeDelegate.h:103
ccColorScaleSelector::colorScaleSelected
void colorScaleSelected(int)
Signal emitted when a color scale is selected.
ccCoordinateSystem::ShowAxisLines
void ShowAxisLines(bool show)
Definition: ecvCoordinateSystem.cpp:54
ccGBLSensor::getMaxPitch
PointCoordinateType getMaxPitch() const
Returns the maximal pitch limit (in radians)
Definition: ecvGBLSensor.h:97
ccPropertiesTreeDelegate::addSeparator
void addSeparator(QString title)
Definition: ecvPropertiesTreeDelegate.cpp:369
ccGenericMesh::isShownAsWire
virtual bool isShownAsWire() const
Returns whether the mesh is displayed as wired or with plain facets.
Definition: ecvGenericMesh.h:179
CommonSettings.h
ccFacet::getSurface
double getSurface() const
Returns associated surface area.
Definition: ecvFacet.h:70
ccPropertiesTreeDelegate::fillWithMetaData
void fillWithMetaData(ccObject *)
Definition: ecvPropertiesTreeDelegate.cpp:383
ccCone::setTopRadius
virtual void setTopRadius(PointCoordinateType radius)
Sets top radius.
Definition: ecvCone.cpp:223
ccPointCloud::showSFColorsScale
void showSFColorsScale(bool state)
Sets whether color scale should be displayed or not.
Definition: ecvPointCloud.cpp:1507
ccGBLSensor::getMinPitch
PointCoordinateType getMinPitch() const
Returns the minimal pitch limit (in radians)
Definition: ecvGBLSensor.h:94
ecvDisplayTools::GetViewportParameters
static const ecvViewportParameters & GetViewportParameters()
Definition: ecvDisplayTools.cpp:2636
ecvDisplayTools::ToggleCameraOrientationWidget
static void ToggleCameraOrientationWidget(bool show)
Definition: ecvDisplayTools.h:620
ecvGenericVisualizer3D
Generic visualizer 3D interface.
Definition: ecvGenericVisualizer3D.h:15
CV_TYPES::LABEL_2D
@ LABEL_2D
Definition: CVTypes.h:140
SetDoubleSpinBoxValue
void SetDoubleSpinBoxValue(QWidget *editor, double value, bool keyboardTracking=false)
Definition: ecvPropertiesTreeDelegate.cpp:1931
ecvMesh.h
ECV_MESH
@ ECV_MESH
Definition: ecvDrawContext.h:54
ccPropertiesTreeDelegate::TREE_VIEW_HEADER
@ TREE_VIEW_HEADER
Definition: ecvPropertiesTreeDelegate.h:131
ccImage::getH
unsigned getH() const
Returns image height.
Definition: ecvImage.h:54
ccGenericMesh::showPoints
virtual void showPoints(bool state)
Definition: ecvGenericMesh.h:189
ecvScalarField.h
sfEditDlg::entitySFHasChanged
void entitySFHasChanged()
Signal emitted when the SF display parameters have changed.
AxesGridProperties::yUseCustomLabels
bool yUseCustomLabels
Definition: ecvDisplayTools.h:70
ENTITY_TYPE
ENTITY_TYPE
Definition: ecvDrawContext.h:50
cloudViewer::TrueKdTree::getMaxError
double getMaxError() const
Returns max error threshold used for planarity-based split strategy.
Definition: TrueKdTree.h:138
sfEditDlg
GUI scalar field interactor for properties list dialog.
Definition: sfEditDlg.h:21
MatrixDisplayDlg
Simple widget to display a 4x4 matrix in various formats.
Definition: matrixDisplayDlg.h:17
ccPropertiesTreeDelegate::fillWithCoordinateSystem
void fillWithCoordinateSystem(const ccCoordinateSystem *)
Definition: ecvPropertiesTreeDelegate.cpp:611
ccGBLSensor
Ground-based Laser sensor.
Definition: ecvGBLSensor.h:26
cc2DViewportObject
2D viewport object
Definition: ecv2DViewportObject.h:15
ccOctreeProxy
Octree structure proxy.
Definition: ecvOctreeProxy.h:18
ecvPersistentSettings.h
ccGenericMesh
Generic mesh interface.
Definition: ecvGenericMesh.h:28
ccPropertiesTreeDelegate::setEditorData
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const
Definition: ecvPropertiesTreeDelegate.cpp:1965
ccDrawableObject::colorsShown
virtual bool colorsShown() const
Returns whether colors are shown or not.
Definition: ecvDrawableObject.h:82
ccHObject::setForceRedrawRecursive
void setForceRedrawRecursive(bool redraw=false)
Definition: ecvHObject.cpp:783
ccPropertiesTreeDelegate::~ccPropertiesTreeDelegate
virtual ~ccPropertiesTreeDelegate()
Default destructor.
Definition: ecvPropertiesTreeDelegate.cpp:153
ccColorScaleEditorDialog
Dialog to edit/create color scales.
Definition: ecvColorScaleEditorDlg.h:27
ecvAdvancedTypes.h
cc2DViewportObject::setParameters
void setParameters(const ecvViewportParameters &params)
Sets perspective view state.
Definition: ecv2DViewportObject.h:27
ecvCameraSensor.h
ccPropertiesTreeDelegate::ccObjectAppearanceChanged
void ccObjectAppearanceChanged(ccHObject *hObject, bool forceRedraw=true) const
ccPropertiesTreeDelegate::fillWithShareable
void fillWithShareable(CCShareable *)
Definition: ecvPropertiesTreeDelegate.cpp:1229
ecvTextureFileSelector
Advanced editor for color scales.
Definition: ecvTextureFileSelector.h:16
ecvSettingManager::getValue
static QVariant getValue(const QString &section, const QString &key, const QVariant &defaultValue=QVariant())
Definition: ecvSettingManager.cpp:283
TextureCoordsContainer
Array of 2D texture coordinates.
Definition: ecvAdvancedTypes.h:151
ccFacet::getRMS
double getRMS() const
Returns associated RMS.
Definition: ecvFacet.h:68
ccPointCloud::waveforms
std::vector< ccWaveform > & waveforms()
Gives access to the associated FWF data.
Definition: ecvPointCloud.h:515
ccDrawableObject::showSF
virtual void showSF(bool state)
Sets active scalarfield visibility.
Definition: ecvDrawableObject.h:108
ccHObjectCaster::To2DViewportObject
static cc2DViewportObject * To2DViewportObject(ccHObject *obj)
Converts current object to cc2DViewportObject (if possible)
Definition: ecvHObjectCaster.cpp:273
ccShiftedObject
Shifted entity interface.
Definition: ecvShiftedObject.h:18
ecvDisplayTools::getDataAxesGridProperties
virtual void getDataAxesGridProperties(const QString &viewID, AxesGridProperties &props, int viewport=0) const
Get Data Axes Grid properties (Virtual interface for derived classes)
Definition: ecvDisplayTools.h:552
ccPropertiesTreeDelegate::ccObjectAndChildrenAppearanceChanged
void ccObjectAndChildrenAppearanceChanged(ccHObject *hObject, bool forceRedraw=true) const
AxesGridProperties::visible
bool visible
Definition: ecvDisplayTools.h:56
image
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:184
ccCameraSensor::frustumPlanesAreDrawn
bool frustumPlanesAreDrawn() const
Returns whether the frustum planes should be displayed or not.
Definition: ecvCameraSensor.h:252
ccPropertiesTreeDelegate::OBJECT_SELECTION_SELECTED_OPACITY
@ OBJECT_SELECTION_SELECTED_OPACITY
Definition: ecvPropertiesTreeDelegate.h:116
ccSensor::applyViewport
virtual bool applyViewport()
Apply sensor 'viewport' to a 3D view.
Definition: ecvSensor.cpp:198
ccHObjectCaster::ToTransBuffer
static ccIndexedTransformationBuffer * ToTransBuffer(ccHObject *obj)
Converts current object to ccIndexedTransformationBuffer (if possible)
Definition: ecvHObjectCaster.cpp:279
ccPropertiesTreeDelegate::OBJECT_MESH_TEXTUREFILE
@ OBJECT_MESH_TEXTUREFILE
Definition: ecvPropertiesTreeDelegate.h:67
cloudViewer::DistanceComputationTools::RMS
@ RMS
Definition: DistanceComputationTools.h:411
ccGenericPrimitive::getTypeName
virtual QString getTypeName() const =0
Returns type name (sphere, cylinder, etc.)
ccDrawableObject::setVisible
virtual void setVisible(bool state)
Sets entity visibility.
Definition: ecvDrawableObject.h:40
ccPropertiesTreeDelegate::OBJECT_SELECTION_HOVER_COLOR
@ OBJECT_SELECTION_HOVER_COLOR
Definition: ecvPropertiesTreeDelegate.h:110
ccPropertiesTreeDelegate::OBJECT_CIRCLE_RESOLUTION
@ OBJECT_CIRCLE_RESOLUTION
Definition: ecvPropertiesTreeDelegate.h:84
ccCameraSensor::drawFrustum
void drawFrustum(bool state)
Sets whether the frustum should be displayed or not.
Definition: ecvCameraSensor.h:249
NormsTableType
Array of (uncompressed) 3D normals (Nx,Ny,Nz)
Definition: ecvAdvancedTypes.h:55
ecvTextureFileSelector::textureFileEditorSummoned
void textureFileEditorSummoned()
ccPropertiesTreeDelegate::OBJECT_NAME
@ OBJECT_NAME
Definition: ecvPropertiesTreeDelegate.h:52
Tuple3Tpl::z
Type z
Definition: CVGeom.h:137
ecvGuiParameters.h
ecvGenericPrimitive.h
ccCameraSensor
Camera (projective) sensor.
Definition: ecvCameraSensor.h:24
AxesGridProperties::lineWidth
double lineWidth
Definition: ecvDisplayTools.h:58
ccScalarField::setColorScale
void setColorScale(ccColorScale::Shared scale)
Sets associated color scale.
Definition: ecvScalarField.cpp:108
ecvTextureFileSelector::init
void init(const QMap< QString, QString > &texturePathMap)
Inits selector with the Empty texture file path.
Definition: ecvTextureFileSelector.cpp:38
ccPropertiesTreeDelegate::fillWithLabel
void fillWithLabel(cc2DLabel *)
Definition: ecvPropertiesTreeDelegate.cpp:1012
SetComboBoxIndex
void SetComboBoxIndex(QWidget *editor, int index)
Definition: ecvPropertiesTreeDelegate.cpp:1955
CVTools::FromQString
static std::string FromQString(const QString &qs)
Definition: CVTools.cpp:100
ccGenericPrimitive::hideShowDrawings
virtual void hideShowDrawings(CC_DRAW_CONTEXT &context)
Definition: ecvGenericPrimitive.cpp:219
ccShiftedObject::toGlobal3d
CCVector3d toGlobal3d(const Vector3Tpl< T > &Plocal) const
Returns the point back-projected into the original coordinates system.
Definition: ecvShiftedObject.h:64
ccPropertiesTreeDelegate::OBJECT_UPDATE_LABEL_VIEWPORT
@ OBJECT_UPDATE_LABEL_VIEWPORT
Definition: ecvPropertiesTreeDelegate.h:80
ccDrawableObject::setOpacity
virtual void setOpacity(float opacity)
Set opacity activation state.
Definition: ecvDrawableObject.h:163
ecvDisplayTools::ChangeEntityProperties
static void ChangeEntityProperties(PROPERTY_PARAM &propertyParam, bool autoUpdate=true)
Definition: ecvDisplayTools.cpp:3892
ccPropertiesTreeDelegate::ccObjectPropertiesChanged
void ccObjectPropertiesChanged(ccHObject *hObject) const
origin
Eigen::Vector3d origin
Definition: VoxelGridIO.cpp:26
ccOctree::DisplayMode
DisplayMode
Octree displaying methods.
Definition: ecvOctree.h:77
ccPropertiesTreeDelegate::OBJECT_CIRCLE_RADIUS
@ OBJECT_CIRCLE_RADIUS
Definition: ecvPropertiesTreeDelegate.h:86
ccPropertiesTreeDelegate::OBJECT_VISIBILITY
@ OBJECT_VISIBILITY
Definition: ecvPropertiesTreeDelegate.h:53
CV_TYPES::POINT_KDTREE
@ POINT_KDTREE
Definition: CVTypes.h:111
ccPropertiesTreeDelegate::OBJECT_APPLY_LABEL_VIEWPORT
@ OBJECT_APPLY_LABEL_VIEWPORT
Definition: ecvPropertiesTreeDelegate.h:79
ccPropertiesTreeDelegate::OBJECT_POLYLINE_WIDTH
@ OBJECT_POLYLINE_WIDTH
Definition: ecvPropertiesTreeDelegate.h:58
ccPropertiesTreeDelegate::OBJECT_OPACITY
@ OBJECT_OPACITY
Definition: ecvPropertiesTreeDelegate.h:54
ccPointCloud::hasFWF
bool hasFWF() const
Returns whether the cloud has associated Full WaveForm data.
Definition: ecvPointCloud.cpp:1401
ccColorScaleSelector::setSelectedScale
void setSelectedScale(QString uuid)
Sets selected combo box item (scale) by UUID.
Definition: ecvColorScaleSelector.cpp:93
ccHObject::getBB_recursive
virtual ccBBox getBB_recursive(bool withGLFeatures=false, bool onlyEnabledChildren=true)
Returns the bounding-box of this entity and it's children.
Definition: ecvHObject.cpp:759
ccPropertiesTreeDelegate::fillWithSelectionProperties
void fillWithSelectionProperties()
AxesGridProperties::xMax
double xMax
Definition: ecvDisplayTools.h:80
ecvGui::Parameters
static const ParamStruct & Parameters()
Returns the stored values of each parameter.
Definition: ecvGuiParameters.cpp:24
ccPropertiesTreeDelegate::m_model
QStandardItemModel * m_model
Definition: ecvPropertiesTreeDelegate.h:282
ccPropertiesTreeDelegate::fillWithCCArray
void fillWithCCArray(ccArray< Type, N, ComponentType > *)
Definition: ecvPropertiesTreeDelegate.cpp:1244
ecvHObjectCaster.h
ccHObject::getChildrenNumber
unsigned getChildrenNumber() const
Returns the number of children.
Definition: ecvHObject.h:312
ccOctree::MEAN_CUBES
@ MEAN_CUBES
Definition: ecvOctree.h:83
ccCone::getHeight
PointCoordinateType getHeight() const
Returns height.
Definition: ecvCone.h:52
ccPointCloud::gridCount
size_t gridCount() const
Returns the number of associated grids.
Definition: ecvPointCloud.h:441
ccGLMatrix
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
cloudViewer::DistanceComputationTools::MAX_DIST_95_PERCENT
@ MAX_DIST_95_PERCENT
Definition: DistanceComputationTools.h:413
ccSensor::getActiveAbsoluteTransformation
bool getActiveAbsoluteTransformation(ccIndexedTransformation &trans) const
Gets currently active absolute transformation.
Definition: ecvSensor.cpp:90
ecvAxesGridDialog.h
ccPropertiesTreeDelegate::fillWithShifted
void fillWithShifted(ccShiftedObject *)
Definition: ecvPropertiesTreeDelegate.cpp:596
ccCoordinateSystem::setDisplayScale
void setDisplayScale(PointCoordinateType scale)
Definition: ecvCoordinateSystem.cpp:66
octree
cloudViewer::DgmOctree * octree
Definition: qCanupoTools.cpp:37
ccOctree::WIRE
@ WIRE
Definition: ecvOctree.h:78
ccObject::getUniqueID
virtual unsigned getUniqueID() const
Returns object unique ID.
Definition: ecvObject.h:86
ccHObjectCaster::ToPrimitive
static ccGenericPrimitive * ToPrimitive(ccHObject *obj)
Converts current object to ccGenericPrimitive (if possible)
Definition: ecvHObjectCaster.cpp:167
ccPropertiesTreeDelegate::OBJECT_NORMALS_SHOWN
@ OBJECT_NORMALS_SHOWN
Definition: ecvPropertiesTreeDelegate.h:56
AxesGridProperties::xMin
double xMin
Definition: ecvDisplayTools.h:80
ccPolyline::getWidth
PointCoordinateType getWidth() const
Returns the width of the line.
Definition: ecvPolyline.h:94
AxesGridProperties::color
CCVector3 color
Definition: ecvDisplayTools.h:57
ecvPS::SelectedImageInputFilter
static const QString SelectedImageInputFilter()
Definition: ecvPersistentSettings.h:45
ccCoordinateSystem::getOrigin
CCVector3 getOrigin() const
Definition: ecvCoordinateSystem.h:75
CV_TYPES::SUB_MESH
@ SUB_MESH
Definition: CVTypes.h:106
ecvDisplayTools::GetContext
static void GetContext(CC_DRAW_CONTEXT &CONTEXT)
Returns context information.
Definition: ecvDisplayTools.cpp:2398
ccFacet::getContour
ccPolyline * getContour()
Returns contour polyline (if any)
Definition: ecvFacet.h:86
ccPointCloud::getCurrentDisplayedScalarFieldIndex
int getCurrentDisplayedScalarFieldIndex() const
Returns the currently displayed scalar field index (or -1 if none)
Definition: ecvPointCloud.cpp:3223
ecvTextureFileSelector::setSelectedTexturefile
void setSelectedTexturefile(QString textureFilepath)
Sets selected combo box item (scale) by UUID.
Definition: ecvTextureFileSelector.cpp:78
cloudViewer::PointCloudTpl::getScalarFieldName
const char * getScalarFieldName(int index) const
Returns the name of a specific scalar field.
Definition: PointCloudTpl.h:365
ccPropertiesTreeDelegate::OBJECT_GLTRANS_MATRIX_EDITOR
@ OBJECT_GLTRANS_MATRIX_EDITOR
Definition: ecvPropertiesTreeDelegate.h:101
ccPropertiesTreeDelegate::clearMeshTexturePathMap
void clearMeshTexturePathMap(ccHObject *mesh)
Clear texture path map for a specific mesh object.
Definition: ecvPropertiesTreeDelegate.cpp:2858
ccCameraSensor::IntrinsicParameters::principal_point
float principal_point[2]
Definition: ecvCameraSensor.h:45
ccPropertiesTreeDelegate::m_lastFocusItemRole
CC_PROPERTY_ROLE m_lastFocusItemRole
Last focused item role (used to force scroll focus after model update)
Definition: ecvPropertiesTreeDelegate.h:291
ITEM
QStandardItem * ITEM(QString name, Qt::ItemFlag additionalFlags=Qt::NoItemFlags, ccPropertiesTreeDelegate::CC_PROPERTY_ROLE role=ccPropertiesTreeDelegate::OBJECT_NO_PROPERTY)
Definition: ecvPropertiesTreeDelegate.cpp:109
CV_TYPES::HIERARCHY_OBJECT
@ HIERARCHY_OBJECT
Definition: CVTypes.h:103
ccDrawableObject::sfShown
virtual bool sfShown() const
Returns whether active scalar field is visible.
Definition: ecvDrawableObject.h:117
ccPropertiesTreeDelegate::fillWithCameraSensor
void fillWithCameraSensor(ccCameraSensor *)
Definition: ecvPropertiesTreeDelegate.cpp:1163
ccGenericMesh::showMaterials
virtual void showMaterials(bool state)
Sets whether textures should be displayed or not.
Definition: ecvGenericMesh.h:201
CVLog::Warning
static bool Warning(const char *format,...)
Prints out a formatted warning message in console.
Definition: CVLog.cpp:133
ecvGBLSensor.h
ccPropertiesTreeDelegate::updateModel
void updateModel()
Updates the current model (assuming object is the same)
Definition: ecvPropertiesTreeDelegate.cpp:2841
ccHObjectCaster::ToCircle
static ccCircle * ToCircle(ccHObject *obj)
Converts current object to ccCircle (if possible)
Definition: ecvHObjectCaster.cpp:146
ecvColorScalesManager.h
ccCameraSensor::IntrinsicParameters::pixelSize_mm
float pixelSize_mm[2]
Definition: ecvCameraSensor.h:37
ccScalarField::getColorScale
const ccColorScale::Shared & getColorScale() const
Returns associated color scale.
Definition: ecvScalarField.h:186
ccPropertiesTreeDelegate::OBJECT_DISC_RADIUS
@ OBJECT_DISC_RADIUS
Definition: ecvPropertiesTreeDelegate.h:87
AxesGridProperties::showLabels
bool showLabels
Definition: ecvDisplayTools.h:61
ccGenericPrimitive::getDrawingPrecision
virtual unsigned getDrawingPrecision() const
Returns drawing precision (or 0 if feature is not supported)
Definition: ecvGenericPrimitive.h:72
ccPolyline::computeLength
PointCoordinateType computeLength() const
Computes the polyline length.
Definition: ecvPolyline.cpp:533
ccPropertiesTreeDelegate::OBJECT_APPLY_SENSOR_VIEWPORT
@ OBJECT_APPLY_SENSOR_VIEWPORT
Definition: ecvPropertiesTreeDelegate.h:72
ccPointCloud::getCurrentDisplayedScalarField
ccScalarField * getCurrentDisplayedScalarField() const
Returns the currently displayed scalar (or 0 if none)
Definition: ecvPointCloud.cpp:3218
ecvDisplayTools::TheInstance
static ecvDisplayTools * TheInstance()
Definition: ecvDisplayTools.cpp:237
ecvMaterialSet.h
ccPropertiesTreeDelegate::OBJECT_SENSOR_DRAW_FRUSTUM
@ OBJECT_SENSOR_DRAW_FRUSTUM
Definition: ecvPropertiesTreeDelegate.h:59
ccPropertiesTreeDelegate::fillWithGBLSensor
void fillWithGBLSensor(ccGBLSensor *)
Definition: ecvPropertiesTreeDelegate.cpp:1113
ccDrawableObject::showNameIn3D
virtual void showNameIn3D(bool state)
Sets whether name should be displayed in 3D.
Definition: ecvDrawableObject.h:125
MatrixDisplayDlg::clear
void clear()
Clears widget.
Definition: matrixDisplayDlg.cpp:94
CV_TYPES::NORMALS_ARRAY
@ NORMALS_ARRAY
Definition: CVTypes.h:134
ccMesh
Triangular mesh.
Definition: ecvMesh.h:35
ccPropertiesTreeDelegate::fillWithImage
void fillWithImage(ccImage *)
Definition: ecvPropertiesTreeDelegate.cpp:990
AxesGridProperties::zMin
double zMin
Definition: ecvDisplayTools.h:82
CV_TYPES::PRIMITIVE
@ PRIMITIVE
Definition: CVTypes.h:119
ccHObjectCaster::ToDisc
static ccDisc * ToDisc(ccHObject *obj)
Converts current object to ccDisc (if possible)
Definition: ecvHObjectCaster.cpp:204
ccHObject::getChild
ccHObject * getChild(unsigned childPos) const
Returns the ith child.
Definition: ecvHObject.h:325
ccShiftedObject::getGlobalScale
virtual double getGlobalScale() const
Returns the scale applied to original coordinates.
Definition: ecvShiftedObject.h:53
ccHObject::isAncestorOf
bool isAncestorOf(const ccHObject *anObject) const
Returns true if the current object is an ancestor of the specified one.
Definition: ecvHObject.cpp:699
ccDrawableObject::isVisible
virtual bool isVisible() const
Returns whether entity is visible or not.
Definition: ecvDrawableObject.h:38
ccPropertiesTreeDelegate::appendRow
void appendRow(QStandardItem *leftItem, QStandardItem *rightItem, bool openPersistentEditor=false)
Definition: ecvPropertiesTreeDelegate.cpp:327
ecvPS::LoadFile
static const QString LoadFile()
Definition: ecvPersistentSettings.h:18
ccPropertiesTreeDelegate::setVisualizer
void setVisualizer(ecvGenericVisualizer3D *viewer)
Set visualizer for other property editors.
Definition: ecvPropertiesTreeDelegate.h:171
ccPropertiesTreeDelegate::OBJECT_VIEW_LIGHT_KIT_INTENSITY
@ OBJECT_VIEW_LIGHT_KIT_INTENSITY
Definition: ecvPropertiesTreeDelegate.h:122
cc2DLabel::update2DLabelView
void update2DLabelView(CC_DRAW_CONTEXT &context, bool updateScreen=true)
Definition: ecv2DLabel.cpp:329
cloudViewer::BoundingBoxTpl::getDiagVec
Vector3Tpl< T > getDiagVec() const
Returns diagonal vector.
Definition: BoundingBox.h:169
ccPropertiesTreeDelegate::OBJECT_VIEW_CAMERA_ORIENTATION_WIDGET
@ OBJECT_VIEW_CAMERA_ORIENTATION_WIDGET
Definition: ecvPropertiesTreeDelegate.h:127
ccCameraSensor::IntrinsicParameters::vFOV_rad
float vFOV_rad
Definition: ecvCameraSensor.h:40
ccPointCloud::fwfData
SharedFWFDataContainer & fwfData()
Gives access to the associated FWF data container.
Definition: ecvPointCloud.h:525
ccDrawableObject::hasColors
virtual bool hasColors() const
Returns whether colors are enabled or not.
Definition: ecvDrawableObject.h:80
ccMaterialSet
Mesh (triangle) material.
Definition: ecvMaterialSet.h:16
ccCameraSensor::drawFrustumPlanes
void drawFrustumPlanes(bool state)
Sets whether the frustum planes should be displayed or not.
Definition: ecvCameraSensor.h:257
ccHObject
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
CV_TYPES::NORMAL_INDEXES_ARRAY
@ NORMAL_INDEXES_ARRAY
Definition: CVTypes.h:135
ccPropertiesTreeDelegate::OBJECT_CONE_BOTTOM_RADIUS
@ OBJECT_CONE_BOTTOM_RADIUS
Definition: ecvPropertiesTreeDelegate.h:89
Tuple3Tpl::y
Type y
Definition: CVGeom.h:137
ecvDisplayTools::RedrawDisplay
static void RedrawDisplay(bool only2D=false, bool forceRedraw=true)
Definition: ecvDisplayTools.cpp:2883
ccPropertiesTreeDelegate::fillWithMesh
void fillWithMesh(ccGenericMesh *)
Definition: ecvPropertiesTreeDelegate.cpp:845
ccObject::getName
virtual QString getName() const
Returns object name.
Definition: ecvObject.h:72
SetSpinBoxValue
void SetSpinBoxValue(QWidget *editor, int value, bool keyboardTracking=false)
Definition: ecvPropertiesTreeDelegate.cpp:1943
ecvCoordinateSystem.h
ccPropertiesTreeDelegate::OBJECT_OCTREE_LEVEL
@ OBJECT_OCTREE_LEVEL
Definition: ecvPropertiesTreeDelegate.h:62
ccPropertiesTreeDelegate::OBJECT_VIEW_DATA_AXES_GRID_EDIT
@ OBJECT_VIEW_DATA_AXES_GRID_EDIT
Definition: ecvPropertiesTreeDelegate.h:126
ccHObjectCaster::ToPlanarEntity
static ccPlanarEntityInterface * ToPlanarEntity(ccHObject *obj)
Converts current object to ccPlanarEntityInterface (if possible)
Definition: ecvHObjectCaster.cpp:156
ecvPolyline.h
ccGenericPrimitive::hasDrawingPrecision
virtual bool hasDrawingPrecision() const
Whether drawing is dependent on 'precision' parameter.
Definition: ecvGenericPrimitive.h:52
ccSensor::getPositions
ccIndexedTransformationBuffer * getPositions()
Returns associated positions.
Definition: ecvSensor.h:63
ecvGui::ParamStruct::showBBOnSelected
bool showBBOnSelected
Show bounding-box on selected objects.
Definition: ecvGuiParameters.h:62
ccSphere::setRadius
void setRadius(PointCoordinateType radius)
Sets radius.
Definition: ecvSphere.cpp:137
CV_TYPES::CIRCLE
@ CIRCLE
Definition: CVTypes.h:113
ccHObjectCaster::ToGBLSensor
static ccGBLSensor * ToGBLSensor(ccHObject *obj)
Definition: ecvHObjectCaster.cpp:245
ccHObjectCaster::ToCameraSensor
static ccCameraSensor * ToCameraSensor(ccHObject *obj)
Definition: ecvHObjectCaster.cpp:251
ccDrawableObject::isGLTransEnabled
virtual bool isGLTransEnabled() const
Returns whether a GL transformation is enabled or not.
Definition: ecvDrawableObject.h:186
ccCone::getTopRadius
PointCoordinateType getTopRadius() const
Returns top radius.
Definition: ecvCone.h:70
ccPropertiesTreeDelegate::getCurrentObject
ccHObject * getCurrentObject()
Returns currently bound object.
Definition: ecvPropertiesTreeDelegate.cpp:196
ccPropertiesTreeDelegate::createEditor
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: ecvPropertiesTreeDelegate.cpp:1293
ccIndexedTransformationBuffer::triherdonsDisplayScale
float triherdonsDisplayScale()
[Display option] Returns trihedron display size
Definition: ecvIndexedTransformationBuffer.h:82
PERSISTENT_EDITOR
QStandardItem * PERSISTENT_EDITOR(ccPropertiesTreeDelegate::CC_PROPERTY_ROLE role)
Definition: ecvPropertiesTreeDelegate.cpp:134
cc2DLabel::isPointLegendDisplayed
bool isPointLegendDisplayed() const
Returns whether the point(s) legend is displayed.
Definition: ecv2DLabel.h:111
cloudViewer::DistanceComputationTools::MAX_DIST
@ MAX_DIST
Definition: DistanceComputationTools.h:415
ecvSettingManager::setValue
static void setValue(const QString &section, const QString &key, const QVariant &value)
Definition: ecvSettingManager.cpp:264
ccColorScalesManager::GetUniqueInstance
static ccColorScalesManager * GetUniqueInstance()
Returns unique instance.
Definition: ecvColorScalesManager.cpp:309
ccPropertiesTreeDelegate::OBJECT_VIEW_DATA_AXES_GRID_VISIBLE
@ OBJECT_VIEW_DATA_AXES_GRID_VISIBLE
Definition: ecvPropertiesTreeDelegate.h:124
ecvPS::TextureFilePath
static const QString TextureFilePath()
Definition: ecvPersistentSettings.h:42
ccPropertiesTreeDelegate::m_view
QAbstractItemView * m_view
Definition: ecvPropertiesTreeDelegate.h:283
ccPropertiesTreeDelegate::OBJECT_MESH_POINTS
@ OBJECT_MESH_POINTS
Definition: ecvPropertiesTreeDelegate.h:65
ccGLDrawContext
Display context.
Definition: ecvDrawContext.h:365
ccPropertiesTreeDelegate::updateEditorGeometry
virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: ecvPropertiesTreeDelegate.cpp:1907
ccPropertiesTreeDelegate::fillWithFacet
void fillWithFacet(ccFacet *)
Definition: ecvPropertiesTreeDelegate.cpp:789
ccPropertiesTreeDelegate::OBJECT_LABEL_POINT_LEGEND
@ OBJECT_LABEL_POINT_LEGEND
Definition: ecvPropertiesTreeDelegate.h:82
ccSensor::getGraphicScale
PointCoordinateType getGraphicScale() const
Returns the sensor graphic representation scale.
Definition: ecvSensor.h:128
ccPropertiesTreeDelegate::OBJECT_SELECTION_SHOW_TOOLTIPS
@ OBJECT_SELECTION_SHOW_TOOLTIPS
Definition: ecvPropertiesTreeDelegate.h:118
ccPropertiesTreeDelegate::OBJECT_COLOR_SOURCE
@ OBJECT_COLOR_SOURCE
Definition: ecvPropertiesTreeDelegate.h:57
CV_TYPES::COORDINATESYSTEM
@ COORDINATESYSTEM
Definition: CVTypes.h:145
ccGenericPrimitive
Generic primitive interface.
Definition: ecvGenericPrimitive.h:16
AxesGridProperties::zCustomLabels
QList< QPair< double, QString > > zCustomLabels
Definition: ecvDisplayTools.h:77
MAX_POINT_SIZE_F
constexpr float MAX_POINT_SIZE_F
Definition: CVConst.h:79
PointCoordinateType
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
ccObject::metaData
const QVariantMap & metaData() const
Returns meta-data map (const only)
Definition: ecvObject.h:184
ccPropertiesTreeDelegate::fillModel
void fillModel(ccHObject *hObject)
Fill property view with QItems corresponding to object's type.
Definition: ecvPropertiesTreeDelegate.cpp:200
ccPropertiesTreeDelegate::OBJECT_CONE_HEIGHT
@ OBJECT_CONE_HEIGHT
Definition: ecvPropertiesTreeDelegate.h:88
ccHObjectCaster::ToKdTree
static ccKdTree * ToKdTree(ccHObject *obj)
Converts current object to ccKdTree (if possible)
Definition: ecvHObjectCaster.cpp:235
ecvTextureFileSelector::textureFileSelected
void textureFileSelected(int)
Signal emitted when a texture file item is selected.
ccHObject::getGLTransformationHistory
virtual const ccGLMatrix & getGLTransformationHistory() const
Returns the transformation 'history' matrix.
Definition: ecvHObject.h:631
ccGenericPrimitive::setDrawingPrecision
virtual bool setDrawingPrecision(unsigned steps)
Sets drawing precision.
Definition: ecvGenericPrimitive.cpp:185
ccCircle::getRadius
double getRadius() const
Returns the radius of the circle.
Definition: ecvCircle.h:50
ccCameraSensor::frustumIsDrawn
bool frustumIsDrawn() const
Returns whether the frustum should be displayed or not.
Definition: ecvCameraSensor.h:246
sfEditDlg.h
ccCone::getBottomRadius
PointCoordinateType getBottomRadius() const
Returns bottom radius.
Definition: ecvCone.h:60
ccFacet
Facet.
Definition: ecvFacet.h:25
ccObject::isLocked
virtual bool isLocked() const
Returns whether the object is locked or not.
Definition: ecvObject.h:112
ccCoordinateSystem
Coordinate System (primitive)
Definition: ecvCoordinateSystem.h:19
ccPropertiesTreeDelegate::OBJECT_SENSOR_UNCERTAINTY
@ OBJECT_SENSOR_UNCERTAINTY
Definition: ecvPropertiesTreeDelegate.h:76
ccGenericPointCloud::getPointSize
unsigned char getPointSize() const
Returns current point size.
Definition: ecvGenericPointCloud.h:283
ccHObjectCaster::ToCone
static ccCone * ToCone(ccHObject *obj)
Converts current object to ccCone (if possible)
Definition: ecvHObjectCaster.cpp:183
ccDrawableObject::getOpacity
virtual float getOpacity() const
Definition: ecvDrawableObject.h:160
ccImage
Generic image.
Definition: ecvImage.h:19
ccPropertiesTreeDelegate::OBJECT_SELECTION_PRESELECTED_COLOR
@ OBJECT_SELECTION_PRESELECTED_COLOR
Definition: ecvPropertiesTreeDelegate.h:111
ccCircle
Circle (as a polyline)
Definition: ecvCircle.h:16
AxesGridProperties::yCustomLabels
QList< QPair< double, QString > > yCustomLabels
Definition: ecvDisplayTools.h:76
ccDisc
Disc (primitive)
Definition: ecvDisc.h:16
CHECKABLE_ITEM
QStandardItem * CHECKABLE_ITEM(bool checkState, ccPropertiesTreeDelegate::CC_PROPERTY_ROLE role)
Definition: ecvPropertiesTreeDelegate.cpp:124
CCShareable
Definition: CVShareable.h:22
ccDisc::getRadius
PointCoordinateType getRadius() const
Returns radius.
Definition: ecvDisc.h:41
ccColorScalesManager::toPersistentSettings
void toPersistentSettings() const
Save custom color scales to persistent settings.
Definition: ecvColorScalesManager.cpp:420
ccGenericMesh::showWired
virtual void showWired(bool state)
Sets whether mesh should be displayed as a wire or with plain facets.
Definition: ecvGenericMesh.h:182
ccIndexedTransformationBuffer::showPathAsPolyline
void showPathAsPolyline(bool state)
Definition: ecvIndexedTransformationBuffer.h:91
CCShareable::getLinkCount
virtual unsigned getLinkCount() const
Returns the current link count.
Definition: CVShareable.h:40
ccPropertiesTreeDelegate::OBJECT_CLOUD_POINT_SIZE
@ OBJECT_CLOUD_POINT_SIZE
Definition: ecvPropertiesTreeDelegate.h:91
ccPolyline::is2DMode
bool is2DMode() const
Returns whether the polyline is considered as 2D or 3D.
Definition: ecvPolyline.h:63
ccMaterial::TextureMapType::DIFFUSE
@ DIFFUSE
ccColorScaleSelector::colorScaleEditorSummoned
void colorScaleEditorSummoned()
ccDrawableObject::isVisibilityLocked
virtual bool isVisibilityLocked() const
Returns whether visibility is locked or not.
Definition: ecvDrawableObject.h:56
ecvHObject.h
SEPARATOR_STYLESHEET
constexpr const char * SEPARATOR_STYLESHEET("QLabel { background-color : darkGray; color : white; }")
ccPointCloud::fwfDescriptors
FWFDescriptorSet & fwfDescriptors()
Gives access to the FWF descriptors.
Definition: ecvPointCloud.h:510
ccHObjectCaster::ToGenericPointCloud
static ccGenericPointCloud * ToGenericPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccGenericPointCloud.
Definition: ecvHObjectCaster.cpp:81
ccPropertiesTreeDelegate::OBJECT_HISTORY_MATRIX_EDITOR
@ OBJECT_HISTORY_MATRIX_EDITOR
Definition: ecvPropertiesTreeDelegate.h:100
ccPropertiesTreeDelegate::OBJECT_COORDINATE_SYSTEM_DISP_PLANES
@ OBJECT_COORDINATE_SYSTEM_DISP_PLANES
Definition: ecvPropertiesTreeDelegate.h:102
ecvOctree.h
ecvGui::ParamStruct
GUI parameters.
Definition: ecvGuiParameters.h:30
ccPropertiesTreeDelegate::OBJECT_VIEW_USE_LIGHT_KIT
@ OBJECT_VIEW_USE_LIGHT_KIT
Definition: ecvPropertiesTreeDelegate.h:121
ccPlane
Plane (primitive)
Definition: ecvPlane.h:17
cloudViewer::DgmOctree::getCellSize
const PointCoordinateType & getCellSize(unsigned char level) const
Returns the octree cells length for a given level of subdivision.
Definition: DgmOctree.h:494
ecvPointCloud.h
AxesGridProperties::yMin
double yMin
Definition: ecvDisplayTools.h:81
ccPropertiesTreeDelegate::fillWithViewProperties
void fillWithViewProperties()
Definition: ecvPropertiesTreeDelegate.cpp:407
ccOctree::getDisplayedLevel
int getDisplayedLevel() const
Returns the currently displayed octree level.
Definition: ecvOctree.h:67
ccHObject::isDisplayed
virtual bool isDisplayed() const
Returns whether the object is actually displayed (visible) or not.
Definition: ecvHObject.cpp:934
ccCameraSensor::IntrinsicParameters::vertFocal_pix
float vertFocal_pix
Definition: ecvCameraSensor.h:35
ECV_POINT_CLOUD
@ ECV_POINT_CLOUD
Definition: ecvDrawContext.h:52
ccPropertiesTreeDelegate::OBJECT_PRIMITIVE_PRECISION
@ OBJECT_PRIMITIVE_PRECISION
Definition: ecvPropertiesTreeDelegate.h:83
ccScalarField
A scalar field associated to display-related parameters.
Definition: ecvScalarField.h:19
ccPlanarEntityInterface
Interface for a planar entity.
Definition: ecvPlanarEntityInterface.h:18
ccPropertiesTreeDelegate::OBJECT_FACET_MESH
@ OBJECT_FACET_MESH
Definition: ecvPropertiesTreeDelegate.h:94
ccPropertiesTreeDelegate::ccPropertiesTreeDelegate
ccPropertiesTreeDelegate(QStandardItemModel *_model, QAbstractItemView *_view, QObject *parent=0)
Default constructor.
Definition: ecvPropertiesTreeDelegate.cpp:139
ecvOctreeProxy.h
ccCoordinateSystem::MIN_AXIS_WIDTH_F
static constexpr float MIN_AXIS_WIDTH_F
Minimum Axis line width.
Definition: ecvCoordinateSystem.h:96
ColorsTableType
Array of RGB colors for each point.
Definition: ecvAdvancedTypes.h:82
ccGenericMesh::enableStippling
void enableStippling(bool state)
Enables polygon stippling.
Definition: ecvGenericMesh.h:207
ccCone::setHeight
void setHeight(PointCoordinateType height)
Sets height.
Definition: ecvCone.cpp:203
ccCircle::setResolution
void setResolution(unsigned resolution)
Sets the resolution of the displayed circle.
Definition: ecvCircle.cpp:71
ccCoordinateSystem::setAxisWidth
void setAxisWidth(PointCoordinateType width)
Definition: ecvCoordinateSystem.cpp:56
ccIndexedTransformation
Definition: ecvIndexedTransformation.h:15
ccHObjectCaster::ToGenericMesh
static ccGenericMesh * ToGenericMesh(ccHObject *obj)
Converts current object to ccGenericMesh (if possible)
Definition: ecvHObjectCaster.cpp:123
name
std::string name
Definition: FileIOFactory.cpp:129
ccPolyline
Colored polyline.
Definition: ecvPolyline.h:23
AxesGridProperties::zTitle
QString zTitle
Definition: ecvDisplayTools.h:68
ccHObject::getViewId
QString getViewId() const
Definition: ecvHObject.h:225
ecv2DViewportObject.h
CV_TYPES::VIEWPORT_2D_OBJECT
@ VIEWPORT_2D_OBJECT
Definition: CVTypes.h:141