 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
13 #include <ui_pointPropertiesDlg.h>
21 public Ui::PointPropertiesDlg {
31 virtual bool start()
override;
32 virtual void stop(
bool state)
override;
33 virtual bool linkWith(QWidget* win)
override;
bool addPickedPoint(ccGenericPointCloud *cloud, unsigned pointIndex, bool entityCenter=false)
Adds a point to this label.
Definition: ecv2DLabel.cpp:400
static QString s_last2DLabelComment("")
2D viewport label
Definition: ecv2DViewportLabel.h:14
void activatePointPropertiesDisplay()
Definition: ecvPointPropertiesDlg.cpp:119
ccPointPropertiesDlg(ccPickingHub *pickingHub, QWidget *parent)
Default constructor.
Definition: ecvPointPropertiesDlg.cpp:30
void setDisplayedIn2D(bool state)
Whether to display the label in 2D.
Definition: ecv2DLabel.h:114
void initializeState()
Definition: ecvPointPropertiesDlg.cpp:170
virtual bool linkWith(QWidget *win) override
Links the overlay dialog with a MDI window.
Definition: ecvPointPropertiesDlg.cpp:70
@ POINT_POINT_DISTANCE
Definition: ecvPointPropertiesDlg.h:55
normal_z x
Definition: my_point_types.h:165
Type x
Definition: CVGeom.h:137
void displayPointLegend(bool state)
Whether to display the point(s) legend (title only)
Definition: ecv2DLabel.h:108
void updateLabel()
Definition: ecv2DLabel.cpp:312
void activateAngleDisplay()
Definition: ecvPointPropertiesDlg.cpp:145
const float * roi() const
Returns ROI (relative to screen)
Definition: ecv2DViewportLabel.h:26
void clear(bool ignoreDependencies=false, bool ignoreCaption=true)
Clears label.
Definition: ecv2DLabel.cpp:240
cc2DViewportLabel * m_rect2DLabel
Associated 2D label.
Definition: ecvPointPropertiesDlg.h:70
#define signals
Definition: PythonPlugin.cpp:26
virtual void setName(const QString &name)
Sets object name.
Definition: ecvObject.h:75
static bool Print(const char *format,...)
Prints out a formatted message in console.
Definition: CVLog.cpp:113
virtual bool start() override
Starts process.
Definition: ecvPointPropertiesDlg.cpp:102
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
2D label (typically attached to points)
Definition: ecv2DLabel.h:22
virtual void setSelected(bool state)
Selects/Unselects entity.
Definition: ecvDrawableObject.h:70
QStringList getLabelContent(int precision) const
Gets label content (as it will be displayed)
Definition: ecv2DLabel.cpp:700
Mode m_pickingMode
Current picking mode.
Definition: ecvPointPropertiesDlg.h:64
void setRoi(const float *roi)
Sets ROI (relative to screen)
Definition: ecv2DViewportLabel.cpp:29
const PickedPoint & getPickedPoint(unsigned index) const
Returns a given point.
Definition: ecv2DLabel.h:194
void setPosition(float x, float y)
Sets relative position.
Definition: ecv2DLabel.cpp:225
virtual bool isSelected() const
Returns whether entity is selected or not.
Definition: ecvDrawableObject.h:68
#define slots
Definition: PythonPlugin.cpp:25
normal_z y
Definition: my_point_types.h:168
bool linkWith(QWidget *win) override
Links the overlay dialog with a MDI window.
Definition: ecvPointPickingGenericInterface.cpp:30
void updateLabel()
Definition: ecv2DViewportLabel.cpp:78
Definition: sfEditDlg.h:16
void onClose()
Definition: ecvPointPropertiesDlg.cpp:117
@ POINTS_ANGLE
Definition: ecvPointPropertiesDlg.h:55
cc2DLabel * m_label
Associated 3D label.
Definition: ecvPointPropertiesDlg.h:67
unsigned size() const
Returns current size.
Definition: ecv2DLabel.h:74
void close2DZone()
Definition: ecvPointPropertiesDlg.cpp:337
void activate2DZonePicking()
Definition: ecvPointPropertiesDlg.cpp:157
void setParameters(const ecvViewportParameters ¶ms)
Sets perspective view state.
Definition: ecv2DViewportObject.h:27
Dialog for simple point picking (information, distance, etc.)
Definition: ecvPointPropertiesDlg.h:20
void processClickedPoint(int x, int y)
Definition: ecvPointPropertiesDlg.cpp:268
void activateDistanceDisplay()
Definition: ecvPointPropertiesDlg.cpp:133
virtual void setVisible(bool state)
Sets entity visibility.
Definition: ecvDrawableObject.h:40
virtual QString getName() const override
Returns object name.
Definition: ecv2DLabel.cpp:196
Mode
Picking mode.
Definition: ecvPointPropertiesDlg.h:55
void update2DZone(int x, int y, Qt::MouseButtons buttons)
Definition: ecvPointPropertiesDlg.cpp:308
static const ParamStruct & Parameters()
Returns the stored values of each parameter.
Definition: ecvGuiParameters.cpp:24
void stop(bool state) override
Stops process/dialog.
Definition: ecvPointPickingGenericInterface.cpp:64
virtual void setRedraw(bool state)
Sets entity redraw mode.
Definition: ecvDrawableObject.h:48
Point/triangle picking hub.
Definition: ecvPickingHub.h:29
virtual bool isVisible() const
Returns whether entity is visible or not.
Definition: ecvDrawableObject.h:38
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Type y
Definition: CVGeom.h:137
void processPickedPoint(ccPointCloud *cloud, unsigned pointIndex, int x, int y) override
Generic method to process picked points.
Definition: ecvPointPropertiesDlg.cpp:222
ccGenericPointCloud * cloud
Cloud.
Definition: ecv2DLabel.h:124
void exportCurrentLabel()
Definition: ecvPointPropertiesDlg.cpp:177
virtual ~ccPointPropertiesDlg()
Default destructor.
Definition: ecvPointPropertiesDlg.cpp:62
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
Definition: ecvHObject.cpp:534
bool start() override
Starts process.
Definition: ecvPointPickingGenericInterface.cpp:45
virtual void setEnabled(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:102
@ POINT_INFO
Definition: ecvPointPropertiesDlg.h:55
virtual void stop(bool state) override
Stops process/dialog.
Definition: ecvPointPropertiesDlg.cpp:107
@ RECT_ZONE
Definition: ecvPointPropertiesDlg.h:55
void newLabel(ccHObject *)
Signal emitted when a new label is created.
Definition: ecvPointPickingGenericInterface.h:28