qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
Picked point descriptor. More...
#include <cc2DLabel.h>
Public Member Functions | |
CCVector3 | getPointPosition () const |
Returns the point position (3D) | |
ccGenericPointCloud * | cloudOrVertices () const |
Returns the cloud or the mesh vertices. | |
unsigned | getUniqueID () const |
Returns the cloud or the mesh unique ID. | |
ccHObject * | entity () const |
Returns the associated entity (cloud or mesh) | |
QString | itemTitle () const |
Returns the item 'title' (either its index or 'Center' if it's a center point) | |
QString | prefix (const char *pointTag) const |
Returns the point prefix ('Point' or 'Point@Tri' or 'IDXX Center') | |
PickedPoint () | |
Default constructor. | |
PickedPoint (ccGenericPointCloud *_cloud, unsigned pointIndex, bool centerPoint=false) | |
Constructor from a point and its index. | |
PickedPoint (ccGenericMesh *_mesh, unsigned triIindex, const CCVector2d &_uv, bool centerPoint=false) | |
Constructor from a triangle, its index and barycentric coordinates. | |
Public Attributes | |
ccGenericPointCloud * | _cloud |
Cloud. | |
ccGenericMesh * | _mesh |
Mesh. | |
unsigned | index |
Point/triangle index. | |
CCVector3d | pos2D |
Last known '2D' position (i.e. in screen space) More... | |
float | markerScale |
Last known marker scale. | |
CCVector2d | uv |
Barycentric coordinates (for triangles) | |
bool | entityCenterPoint |
Entity center mode (index will be invalid) | |
Picked point descriptor.
Label 'points' can be shared between multiple entities
CCVector3d cc2DLabel::PickedPoint::pos2D |
Last known '2D' position (i.e. in screen space)
This position is updated on each call to drawMeOnly3D