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