ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccGeomFeaturesDlg Class Reference

Dialog for computing the density of a point clouds. More...

#include <ecvGeomFeaturesDlg.h>

Inheritance diagram for ccGeomFeaturesDlg:
[legend]
Collaboration diagram for ccGeomFeaturesDlg:
[legend]

Classes

struct  Option
 

Public Member Functions

 ccGeomFeaturesDlg (QWidget *parent=nullptr)
 Default constructor. More...
 
void setSelectedFeatures (const ccLibAlgorithms::GeomCharacteristicSet &features)
 Sets selected features. More...
 
bool getSelectedFeatures (ccLibAlgorithms::GeomCharacteristicSet &features) const
 Returns selected features. More...
 
void setRadius (double r)
 Sets the default kernel radius (for 'precise' mode only) More...
 
double getRadius () const
 Returns the kernel radius (for 'precise' mode only) More...
 
void setUpDirection (const CCVector3 &upDir)
 Sets the 'up direction' (and enables the group at the same time) More...
 
CCVector3 * getUpDirection () const
 Returns the 'up direction' if any is defined (nullptr otherwise) More...
 
void reset ()
 reset the whole dialog More...
 

Protected Attributes

std::vector< Option > m_options
 

Detailed Description

Dialog for computing the density of a point clouds.

Constructor & Destructor Documentation

◆ ccGeomFeaturesDlg()

Member Function Documentation

◆ getRadius()

double ccGeomFeaturesDlg::getRadius ( ) const

Returns the kernel radius (for 'precise' mode only)

◆ getSelectedFeatures()

bool ccGeomFeaturesDlg::getSelectedFeatures ( ccLibAlgorithms::GeomCharacteristicSet &  features) const

Returns selected features.

References m_options.

◆ getUpDirection()

CCVector3 * ccGeomFeaturesDlg::getUpDirection ( ) const

Returns the 'up direction' if any is defined (nullptr otherwise)

References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.

◆ reset()

void ccGeomFeaturesDlg::reset ( )

reset the whole dialog

References m_options.

Referenced by ccGeomFeaturesDlg(), and setSelectedFeatures().

◆ setRadius()

void ccGeomFeaturesDlg::setRadius ( double  r)

Sets the default kernel radius (for 'precise' mode only)

◆ setSelectedFeatures()

void ccGeomFeaturesDlg::setSelectedFeatures ( const ccLibAlgorithms::GeomCharacteristicSet &  features)

Sets selected features.

References m_options, and reset().

◆ setUpDirection()

void ccGeomFeaturesDlg::setUpDirection ( const CCVector3 &  upDir)

Sets the 'up direction' (and enables the group at the same time)

References Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.

Member Data Documentation

◆ m_options

std::vector<Option> ccGeomFeaturesDlg::m_options
protected

The documentation for this class was generated from the following files: