PointCloud Class Reference

The PointCloud class. More...

#include <RobotAPI/libraries/aron/core/type/variant/ndarray/PointCloud.h>

+ Inheritance diagram for PointCloud:

Public Member Functions

std::string getFullName () const override
 get the full name of this specific type More...
 
std::string getShortName () const override
 get a short name of this specific type More...
 
type::pointcloud::VoxelType getVoxelType () const
 
 PointCloud (const Path &path=Path())
 
 PointCloud (const type::dto::PointCloud &, const Path &path)
 
void setVoxelType (type::pointcloud::VoxelType)
 
type::dto::PointCloudPtr toPointCloudDTO () const
 
- Public Member Functions inherited from NDArrayVariant< type::dto::PointCloud, PointCloud >
size_t childrenSize () const override
 
std::vector< VariantPtrgetChildren () const override
 get all child elements More...
 
std::string getDefaultValue () const
 
VariantPtr navigateAbsolute (const Path &path) const override
 naviate absolute More...
 
void setDefaultValue (const std::string &v)
 
virtual ~NDArrayVariant ()=default
 
- Public Member Functions inherited from SpecializedVariantBase< type::dto::PointCloud, PointCloud >
type::Maybe getMaybe () const override
 get the maybe type More...
 
VariantPtr navigateRelative (const Path &path) const override
 navigate relative More...
 
 operator type::dto::PointCloud ()
 
bool operator== (const PointCloud &other) const
 
bool operator== (const Variant &other) const override
 
void setMaybe (const type::Maybe m) override
 set the maybetype of this type More...
 
 SpecializedVariantBase (const type::Descriptor &descriptor, const Path &path)
 
 SpecializedVariantBase (const type::dto::PointCloud &o, const type::Descriptor &descriptor, const Path &path)
 
type::dto::GenericTypePtr toAronDTO () const override
 convert this variant to a dto object. More...
 
virtual ~SpecializedVariantBase ()=default
 
- Public Member Functions inherited from Variant
virtual size_t childrenSize () const =0
 
virtual std::vector< VariantPtrgetChildren () const =0
 get all child elements More...
 
type::Descriptor getDescriptor () const
 
virtual type::Maybe getMaybe () const =0
 get the maybe type More...
 
Path getPath () const
 
bool operator== (const VariantPtr &other) const
 
std::string pathToString () const
 
virtual type::dto::GenericTypePtr toAronDTO () const =0
 convert this variant to a dto object. More...
 
 Variant (const type::Descriptor &descriptor, const Path &path=Path())
 
virtual ~Variant ()=default
 

Static Public Attributes

static const std::map< std::string, pointcloud::VoxelType > String2Voxeltype
 
static const std::map< pointcloud::VoxelType, std::string > Voxeltype2String
 

Additional Inherited Members

- Public Types inherited from Variant
using PointerType = VariantPtr
 
- Static Public Member Functions inherited from SpecializedVariantBase< type::dto::PointCloud, PointCloud >
static const PointCloudDynamicCast (const Variant &n)
 
static std::shared_ptr< PointCloudDynamicCast (const VariantPtr &n)
 
static PointCloudDynamicCast (Variant &n)
 
static std::shared_ptr< PointCloudDynamicCastAndCheck (const VariantPtr &n)
 
- Static Public Member Functions inherited from Variant
static VariantPtr FromAronDTO (const type::dto::GenericType &, const Path &=Path())
 create a variant object from an dto object More...
 
- Protected Attributes inherited from SpecializedVariantBase< type::dto::PointCloud, PointCloud >
type::dto::PointCloud ::PointerType aron
 
- Protected Attributes inherited from Variant
const type::Descriptor descriptor
 
const Path path
 

Detailed Description

The PointCloud class.

It represents the pointcloud type. A pointcloud is defined through a type. The dimension is NOT part of the type description

Definition at line 39 of file PointCloud.h.

Constructor & Destructor Documentation

◆ PointCloud() [1/2]

PointCloud ( const Path path = Path())

Definition at line 42 of file PointCloud.cpp.

◆ PointCloud() [2/2]

PointCloud ( const type::dto::PointCloud &  o,
const Path path 
)

Definition at line 48 of file PointCloud.cpp.

Member Function Documentation

◆ getFullName()

std::string getFullName ( ) const
overridevirtual

get the full name of this specific type

Implements Variant.

Definition at line 81 of file PointCloud.cpp.

◆ getShortName()

std::string getShortName ( ) const
overridevirtual

get a short name of this specific type

Implements Variant.

Definition at line 75 of file PointCloud.cpp.

◆ getVoxelType()

type::pointcloud::VoxelType getVoxelType ( ) const

Definition at line 62 of file PointCloud.cpp.

+ Here is the caller graph for this function:

◆ setVoxelType()

void setVoxelType ( type::pointcloud::VoxelType  u)

Definition at line 68 of file PointCloud.cpp.

◆ toPointCloudDTO()

type::dto::PointCloudPtr toPointCloudDTO ( ) const

Definition at line 56 of file PointCloud.cpp.

Member Data Documentation

◆ String2Voxeltype

const std::map< std::string, pointcloud::VoxelType > String2Voxeltype
static
Initial value:

Definition at line 58 of file PointCloud.h.

◆ Voxeltype2String

const std::map< pointcloud::VoxelType, std::string > Voxeltype2String
static
Initial value:
{
{pointcloud::VoxelType::POINT_XYZ, "POINT_XYZ"},
{pointcloud::VoxelType::POINT_XYZI, "POINT_XYZI"},
{pointcloud::VoxelType::POINT_XYZL, "POINT_XYZL"},
{pointcloud::VoxelType::POINT_XYZRGB, "POINT_XYZRGB"},
{pointcloud::VoxelType::POINT_XYZRGBL, "POINT_XYZRGBL"},
{pointcloud::VoxelType::POINT_XYZRGBA, "POINT_XYZRGBA"},
{pointcloud::VoxelType::POINT_XYZHSV, "POINT_XYZHSV"}}

Definition at line 57 of file PointCloud.h.


The documentation for this class was generated from the following files:
armarx::aron::conversion::util::InvertMap
std::map< T2, T1 > InvertMap(const std::map< T1, T2 > &m)
Definition: Descriptor.h:42
armarx::aron::type::PointCloud::Voxeltype2String
static const std::map< pointcloud::VoxelType, std::string > Voxeltype2String
Definition: PointCloud.h:57