![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Picked point descriptor. More...
#include <ecv2DLabel.h>

Public Member Functions | |
| CCVector3 | getPointPosition () const |
| Returns the point position (3D) More... | |
| ccGenericPointCloud * | cloudOrVertices () const |
| Returns the cloud or the mesh vertices. More... | |
| unsigned | getUniqueID () const |
| Returns the cloud or the mesh unique ID. More... | |
| ccHObject * | entity () const |
| Returns the associated entity (cloud or mesh) More... | |
| QString | itemTitle () const |
| QString | prefix (const char *pointTag) const |
| Returns the point prefix ('Point' or 'Point@Tri' or 'IDXX Center') More... | |
| PickedPoint () | |
| Default constructor. More... | |
| PickedPoint (ccGenericPointCloud *_cloud, unsigned pointIndex, bool centerPoint=false) | |
| Constructor from a point and its index. More... | |
| PickedPoint (ccGenericMesh *_mesh, unsigned triIindex, const CCVector2d &_uv, bool centerPoint=false) | |
| Constructor from a triangle, its index and barycentric coordinates. More... | |
Public Attributes | |
| ccGenericPointCloud * | cloud |
| Cloud. More... | |
| ccGenericMesh * | mesh |
| Mesh. More... | |
| unsigned | index |
| Point/triangle index. More... | |
| CCVector3d | pos2D |
| Last known '2D' position (i.e. in screen space) More... | |
| float | markerScale |
| Last known marker scale. More... | |
| CCVector2d | uv |
| Barycentric coordinates (for triangles) More... | |
| bool | entityCenterPoint |
| Entity center mode (index will be invalid) More... | |
Picked point descriptor.
Label 'points' can be shared between multiple entities
Definition at line 122 of file ecv2DLabel.h.
|
inline |
Default constructor.
Definition at line 155 of file ecv2DLabel.h.
|
inline |
Constructor from a point and its index.
Definition at line 165 of file ecv2DLabel.h.
|
inline |
Constructor from a triangle, its index and barycentric coordinates.
Definition at line 177 of file ecv2DLabel.h.
| ccGenericPointCloud* cc2DLabel::PickedPoint::cloudOrVertices | ( | ) | const |
Returns the cloud or the mesh vertices.
Referenced by define_cc2DLabel(), and ccMPlanePoint::getCoordinates().
| ccHObject* cc2DLabel::PickedPoint::entity | ( | ) | const |
Returns the associated entity (cloud or mesh)
Referenced by ccGraphicalSegmentationTool::applySegmentation(), define_cc2DLabel(), and RemoveUnusedLabelsAndUpdateTheOthers().
| CCVector3 cc2DLabel::PickedPoint::getPointPosition | ( | ) | const |
Returns the point position (3D)
Referenced by define_cc2DLabel().
| unsigned cc2DLabel::PickedPoint::getUniqueID | ( | ) | const |
Returns the cloud or the mesh unique ID.
Referenced by define_cc2DLabel().
| QString cc2DLabel::PickedPoint::itemTitle | ( | ) | const |
Returns the item 'title' (either its index or 'Center' if it's a center point)
Referenced by define_cc2DLabel().
| QString cc2DLabel::PickedPoint::prefix | ( | const char * | pointTag | ) | const |
Returns the point prefix ('Point' or 'Point@Tri' or 'IDXX Center')
Referenced by define_cc2DLabel().
| ccGenericPointCloud* cc2DLabel::PickedPoint::cloud |
Cloud.
Definition at line 124 of file ecv2DLabel.h.
Referenced by ccDBRoot::alignCameraWithEntity(), define_cc2DLabel(), ccDBRoot::editLabelScalarValue(), ccPointPropertiesDlg::exportCurrentLabel(), ccPointListPickingDlg::exportToASCII(), ccPointListPickingDlg::exportToNewCloud(), ccPointListPickingDlg::exportToNewPolyline(), ccDBRoot::showContextMenu(), MinimumCutSegmentationDlg::updateForeGroundPoint(), and ccPointListPickingDlg::updateList().
| bool cc2DLabel::PickedPoint::entityCenterPoint |
Entity center mode (index will be invalid)
Definition at line 138 of file ecv2DLabel.h.
Referenced by define_cc2DLabel().
| unsigned cc2DLabel::PickedPoint::index |
Point/triangle index.
Definition at line 128 of file ecv2DLabel.h.
Referenced by ccDBRoot::alignCameraWithEntity(), define_cc2DLabel(), ccDBRoot::editLabelScalarValue(), ccPointListPickingDlg::exportToASCII(), ccPointListPickingDlg::exportToNewCloud(), ccPointListPickingDlg::exportToNewPolyline(), ccMPlanePoint::getIndex(), RemoveUnusedLabelsAndUpdateTheOthers(), MinimumCutSegmentationDlg::updateForeGroundPoint(), and ccPointListPickingDlg::updateList().
| float cc2DLabel::PickedPoint::markerScale |
Last known marker scale.
Definition at line 134 of file ecv2DLabel.h.
| ccGenericMesh* cc2DLabel::PickedPoint::mesh |
| CCVector3d cc2DLabel::PickedPoint::pos2D |
Last known '2D' position (i.e. in screen space)
This position is updated on each call to drawMeOnly3D
Definition at line 132 of file ecv2DLabel.h.
Referenced by define_cc2DLabel().
| CCVector2d cc2DLabel::PickedPoint::uv |
Barycentric coordinates (for triangles)
Definition at line 136 of file ecv2DLabel.h.
Referenced by define_cc2DLabel().