Zivid C++ API 2.11.1+de9b5dae-1
Classes | Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::Settings::Processing::Filters::Cluster Class Reference

Removes floating points and isolated clusters from the point cloud. More...

#include <Zivid/Settings.h>

Classes

class  Removal
 Removal. More...
 

Public Types

using Descendants = std::tuple< Settings::Processing::Filters::Cluster::Removal, Settings::Processing::Filters::Cluster::Removal::Enabled, Settings::Processing::Filters::Cluster::Removal::MaxNeighborDistance, Settings::Processing::Filters::Cluster::Removal::MinArea >
 

Public Member Functions

 Cluster ()
 Default constructor.
 
template<typename... Args>
 Cluster (Args &&...args)
 Constructor taking variadic number of arguments.
 
template<typename... Args>
void set (Args &&...args)
 Set multiple arguments.
 
template<typename... Args>
Cluster copyWith (Args &&...args) const
 Returns a copy of this object with the given argument(s) set to the new value(s)
 
const Removalremoval () const
 Get Removal.
 
Removalremoval ()
 Get Removal.
 
Clusterset (const Removal &value)
 Set Removal.
 
Clusterset (const Removal::Enabled &value)
 Set Removal::Enabled.
 
Clusterset (const Removal::MaxNeighborDistance &value)
 Set Removal::MaxNeighborDistance.
 
Clusterset (const Removal::MinArea &value)
 Set Removal::MinArea.
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal::MaxNeighborDistance >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal::MaxNeighborDistanceget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal::MinArea >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal::MinAreaget () const
 
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removalget () const
 
template<typename F >
void forEach (const F &f) const
 Run the given function on each direct member with the value of the member as parameter.
 
template<typename F >
void forEach (const F &f)
 Run the given function on each direct member with the value of the member as parameter.
 
bool operator== (const Cluster &other) const
 Equality operator.
 
bool operator!= (const Cluster &other) const
 Inequality operator.
 
std::string toString () const
 Get the value as string.
 

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::group
 The type of this node.
 
static constexpr const charpath { "Processing/Filters/Cluster" }
 The full path for this value.
 
static constexpr const charname { "Cluster" }
 The name of this value.
 
static constexpr const chardescription
 The description for this value.
 

Friends

struct DataModel::Detail::Befriend< Cluster >
 
std::ostream & operator<< (std::ostream &stream, const Cluster &value)
 Operator to send the value as string to a stream.
 

Detailed Description

Removes floating points and isolated clusters from the point cloud.

Member Typedef Documentation

◆ Descendants

Constructor & Destructor Documentation

◆ Cluster() [1/2]

Zivid::Settings::Processing::Filters::Cluster::Cluster ( )

Default constructor.

◆ Cluster() [2/2]

template<typename... Args>
Zivid::Settings::Processing::Filters::Cluster::Cluster ( Args &&...  args)
inlineexplicit

Constructor taking variadic number of arguments.

One or more descendant types can be provided. All types not provided will be set to their default value. The result is the same as default constructing Cluster then invoking set(args).

The provided arguments must be descendants of Cluster. These types can be provided:

Member Function Documentation

◆ copyWith()

template<typename... Args>
Cluster Zivid::Settings::Processing::Filters::Cluster::copyWith ( Args &&...  args) const
inline

Returns a copy of this object with the given argument(s) set to the new value(s)

Creates a copy of this Cluster object, then invokes set(args) on the copy, and finally returns the copy. This method does not modify the original object.

The provided arguments must be descendants of Cluster. These types can be provided:

◆ forEach() [1/2]

template<typename F >
void Zivid::Settings::Processing::Filters::Cluster::forEach ( const F f)
inline

Run the given function on each direct member with the value of the member as parameter.

◆ forEach() [2/2]

template<typename F >
void Zivid::Settings::Processing::Filters::Cluster::forEach ( const F f) const
inline

Run the given function on each direct member with the value of the member as parameter.

◆ get() [1/5]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal & Zivid::Settings::Processing::Filters::Cluster::get ( ) const
inline

◆ get() [2/5]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal::Enabled & Zivid::Settings::Processing::Filters::Cluster::get ( ) const
inline

◆ get() [3/5]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal::MaxNeighborDistance >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal::MaxNeighborDistance & Zivid::Settings::Processing::Filters::Cluster::get ( ) const
inline

◆ get() [4/5]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Cluster::Removal::MinArea >::value, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal::MinArea & Zivid::Settings::Processing::Filters::Cluster::get ( ) const
inline

◆ get() [5/5]

template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const Settings::Processing::Filters::Cluster::Removal & Zivid::Settings::Processing::Filters::Cluster::get ( ) const
inline

◆ operator!=()

Inequality operator.

◆ operator==()

Equality operator.

◆ removal() [1/2]

Removal & Zivid::Settings::Processing::Filters::Cluster::removal ( )
inline

Get Removal.

◆ removal() [2/2]

const Removal & Zivid::Settings::Processing::Filters::Cluster::removal ( ) const
inline

Get Removal.

◆ set() [1/5]

template<typename... Args>
void Zivid::Settings::Processing::Filters::Cluster::set ( Args &&...  args)
inline

Set multiple arguments.

The method invokes set(arg) with each of the provided arguments.

The provided arguments must be descendants of Cluster. These types can be provided:

◆ set() [2/5]

Cluster & Zivid::Settings::Processing::Filters::Cluster::set ( const Removal value)
inline

Set Removal.

◆ set() [3/5]

Cluster & Zivid::Settings::Processing::Filters::Cluster::set ( const Removal::Enabled value)
inline

◆ set() [4/5]

Cluster & Zivid::Settings::Processing::Filters::Cluster::set ( const Removal::MaxNeighborDistance value)
inline

◆ set() [5/5]

Cluster & Zivid::Settings::Processing::Filters::Cluster::set ( const Removal::MinArea value)
inline

◆ toString()

std::string Zivid::Settings::Processing::Filters::Cluster::toString ( ) const

Get the value as string.

Friends And Related Symbol Documentation

◆ DataModel::Detail::Befriend< Cluster >

friend struct DataModel::Detail::Befriend< Cluster >
friend

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const Cluster value 
)
friend

Operator to send the value as string to a stream.

Member Data Documentation

◆ description

constexpr const char* Zivid::Settings::Processing::Filters::Cluster::description
staticconstexpr
Initial value:
{
R"description(Removes floating points and isolated clusters from the point cloud.
)description"
}

The description for this value.

◆ name

constexpr const char* Zivid::Settings::Processing::Filters::Cluster::name { "Cluster" }
staticconstexpr

The name of this value.

◆ nodeType

constexpr DataModel::NodeType Zivid::Settings::Processing::Filters::Cluster::nodeType = DataModel::NodeType::group
staticconstexpr

The type of this node.

◆ path

constexpr const char* Zivid::Settings::Processing::Filters::Cluster::path { "Processing/Filters/Cluster" }
staticconstexpr

The full path for this value.


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