ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvTools Namespace Reference

Functions

static std::vector< int > IntersectionVector (std::vector< int > &a, std::vector< int > &b)
 
static std::vector< int > UnionVector (std::vector< int > &a, std::vector< int > &b)
 
static std::vector< int > DiffVector (std::vector< int > a, std::vector< int > b)
 
static ecvColor::Rgbf TransFormRGB (const ecvColor::Rgb &col)
 
static ecvColor::Rgbf TransFormRGB (const ecvColor::Rgbf &col)
 
static ccPolylineGetPolylines (PCLCloud::Ptr &curve_sm, const QString &name="curve", bool closed=true, const ecvColor::Rgb &color=ecvColor::green)
 
static void AddPointCloud (ccHObject *ecvGroup, PCLCloud::Ptr sm_cloud, bool &error, QString label, const ccPointCloud *ccCloud=nullptr, bool randomColors=true)
 
static ccHObjectGetClousterGroup (const ccPointCloud *ccCloud, const PointCloudT::ConstPtr xyzCloud, const std::vector< pcl::PointIndices > &cluster_indices, unsigned minPointsPerComponent, bool randomColors, bool &error)
 
static ccHObjectGetClousterGroup (const ccPointCloud *ccCloud, const std::vector< std::vector< size_t >> &cluster_indices, unsigned minPointsPerComponent, bool randomColors, bool &error)
 
static ccHObjectGetSegmentationGroup (const ccPointCloud *ccCloud, const PointCloudT::ConstPtr cloudRemained, const std::vector< PointCloudT::Ptr > &cloudExtractions, bool randomColors, bool &error)
 

Function Documentation

◆ AddPointCloud()

static void ecvTools::AddPointCloud ( ccHObject ecvGroup,
PCLCloud::Ptr  sm_cloud,
bool &  error,
QString  label,
const ccPointCloud ccCloud = nullptr,
bool  randomColors = true 
)
static

◆ DiffVector()

static std::vector<int> ecvTools::DiffVector ( std::vector< int >  a,
std::vector< int >  b 
)
static

Definition at line 45 of file ecvTools.h.

References a.

Referenced by PclAnnotationTool::areaPickingEventProcess(), and PclFiltersTool::areaPickingEventProcess().

◆ GetClousterGroup() [1/2]

static ccHObject* ecvTools::GetClousterGroup ( const ccPointCloud ccCloud,
const PointCloudT::ConstPtr  xyzCloud,
const std::vector< pcl::PointIndices > &  cluster_indices,
unsigned  minPointsPerComponent,
bool  randomColors,
bool &  error 
)
static

◆ GetClousterGroup() [2/2]

static ccHObject* ecvTools::GetClousterGroup ( const ccPointCloud ccCloud,
const std::vector< std::vector< size_t >> &  cluster_indices,
unsigned  minPointsPerComponent,
bool  randomColors,
bool &  error 
)
static

◆ GetPolylines()

◆ GetSegmentationGroup()

static ccHObject* ecvTools::GetSegmentationGroup ( const ccPointCloud ccCloud,
const PointCloudT::ConstPtr  cloudRemained,
const std::vector< PointCloudT::Ptr > &  cloudExtractions,
bool  randomColors,
bool &  error 
)
static

◆ IntersectionVector()

static std::vector<int> ecvTools::IntersectionVector ( std::vector< int > &  a,
std::vector< int > &  b 
)
static

Definition at line 30 of file ecvTools.h.

References a.

Referenced by PclAnnotationTool::areaPickingEventProcess(), and PclFiltersTool::areaPickingEventProcess().

◆ TransFormRGB() [1/2]

◆ TransFormRGB() [2/2]

static ecvColor::Rgbf ecvTools::TransFormRGB ( const ecvColor::Rgbf col)
static

◆ UnionVector()

static std::vector<int> ecvTools::UnionVector ( std::vector< int > &  a,
std::vector< int > &  b 
)
static

Definition at line 39 of file ecvTools.h.

References a.

Referenced by PclAnnotationTool::areaPickingEventProcess(), and PclFiltersTool::areaPickingEventProcess().