56 "Select measurement point.",
73 if (pickedObject->
isA(
92 "[ccCompass] Please select a fit-plane to constrain "
93 "true-thickness calculations.",
100 insertPoint = getInsertInterior(insertPoint);
131 "Select second measurement point.",
157 while (p !=
nullptr) {
210 "Select reference plane for thickness measurement.",
242 void ccThicknessTool::recurseChildren(
ccHObject* obj,
243 bool hidePointClouds,
265 recurseChildren(obj->
getChild(i), hidePointClouds, hidePlanes);
Vector3Tpl< PointCoordinateType > CCVector3
Default 3D Vector.
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Type dot(const Vector3Tpl &v) const
Dot product.
virtual bool isVisible() const
Returns whether entity is visible or not.
virtual void setTempColor(const ecvColor::Rgb &col, bool autoActivate=true)
Sets current temporary (unique)
virtual void setVisible(bool state)
Sets entity visibility.
virtual void showNameIn3D(bool state)
Sets whether name should be displayed in 3D.
virtual void enableTempColor(bool state)
Set temporary color activation state.
static const int INTERIOR
ccHObject * getRegion(int mappingRegion)
static bool isGeoObject(ccHObject *object)
Hierarchical CLOUDVIEWER Object.
ccHObject * find(unsigned uniqueID)
Finds an entity in this object hierarchy.
virtual bool isDisplayed() const
Returns whether the object is actually displayed (visible) or not.
unsigned getChildrenNumber() const
Returns the number of children.
virtual bool addChild(ccHObject *child, int dependencyFlags=DP_PARENT_OF_OTHER, int insertIndex=-1)
Adds a child.
ccHObject * getParent() const
Returns parent object.
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
ccHObject * getChild(unsigned childPos) const
Returns the ith child.
virtual unsigned getUniqueID() const
Returns object unique ID.
bool isA(CV_CLASS_ENUM type) const
virtual void setName(const QString &name)
Sets object name.
virtual void setEnabled(bool state)
Sets the "enabled" property.
CCVector3 getCenter() const
Returns the center.
CCVector3 getNormal() const override
Returns the entity normal.
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
void invalidateBoundingBox() override
Invalidates bounding box.
bool reserve(unsigned numberOfPoints) override
Reserves memory for all the active features.
void updateMetadata() override
void addPoint(const CCVector3 &P)
Adds a 3D point to the database.
virtual bool addPointIndex(unsigned globalIndex)
Point global index insertion mechanism.
void invalidateBoundingBox()
Invalidates the bounding-box.
virtual ccHObject * dbRootObject()=0
Returns DB root (as a ccHObject)
virtual const ccHObject::Container & getSelectedEntities() const =0
Returns currently selected entities ("read only")
virtual void setSelectedInDB(ccHObject *obj, bool selected)=0
Selects or unselects an entity (in db tree)
virtual void addToDB(ccHObject *obj, bool updateZoom=false, bool autoExpandDBTree=true, bool checkDimensions=false, bool autoRedraw=true)=0
virtual void dispToConsole(QString message, ConsoleMessageLevel level=STD_CONSOLE_MESSAGE)=0
virtual void removeFromDB(ccHObject *obj, bool autoDelete=true)=0
Removes an entity from main db tree.
__host__ __device__ float2 fabs(float2 v)
static double dist(double x1, double y1, double x2, double y2)
constexpr Rgb red(MAX, 0, 0)