23#include <pcl/pcl_base.h>
24#include <pcl/PointIndices.h>
Project global and OS specific declarations.
#define MLPCLSUPPORT_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Disables warnings from PCL headers which otherwise cannot be avoided.
Restores disabled warnings from PCL headers which otherwise cannot be avoided.
Base object containing pointers (as MLPCLObjectPtrsContainer) to objects from the Point Cloud Library...
const MLPCLObjectPtrsContainer & getConstPCLObjectPtrsContainer() const
Returns the non modifiable currently set structure of point cloud pointers.
void setPCLObjectPtrsContainer(const MLPCLObjectPtrsContainer &newPointCloudsStruct)
Sets the internal MLPCLObjectPtrsContainer container to newPointCloudsStruct.
const MLPCLPointIndexVector & getPointIndexVector() const
Get the reference to the constant vector of point indexes if the algorithm produces them.
void setPointIndices(pcl::IndicesPtr indicesPtr)
Clears getPointIndexVector(); if indicesPtr is valid then it appends a copy of *indices (for non cons...
void getComposedIndices(pcl::PointIndices &composedIndices) const
Clear composedIndices.indices and append all PointIndices from getPointIndexVector() to it.
PCLBaseObject()
Construct a base object where all pointers in the internal MLPCLObjectPtrsContainer container are set...
void setPointIndices(const std::vector< int > &indices=std::vector< int >())
Clears getPointIndexVector() and appends a copy of indices.
~PCLBaseObject() override
Destructor, usually called automatically when the last RefCountedBase reference is removed.
void setPointIndices(pcl::IndicesConstPtr indicesPtr)
Clears getPointIndexVector(); if indicesPtr is valid then it appends a copy of *indices (for constant...
bool hasValidPointCloudPointer() const
Returns true if any point cloud pointers in the internal MLPCLObjectPtrsContainer container is non nu...
PCLBaseObject(MLPCLObjectPtrsContainer newPCLObjectPtrsContainer)
Construct a base object where a copy of newPointCloudsStruct is stored in the internal MLPCLObjectPtr...
MLPCLObjectPtrsContainer & getPCLObjectPtrsContainer()
Returns the internal MLPCLObjectPtrsContainer container as modifiable object to get access to the poi...
MLPCLPointIndexVector & getPointIndexVector()
Get the reference to the freely accessible vector of point indexes if the algorithm produces them.
static void _checkRuntimeInterfaceResults(const RuntimeType *classTypeId, const RuntimeType *typeId, const char *typeIdName, bool alsoCallDestroyClass)
Helper function for tests which checks the return values getClassTypeId(), getTypeId(),...
RefCountedBase class adds intrusive reference counting support to the Base class.
RuntimeType contains type and inheritance information of a class and a static dictionary with informa...
A container with pointers from the PCL (Point Cloud Library) passed in BaseObjects between PCL module...
#define ML_PCL_TEST_INTERFACE_NO_OVERRIDE(BASE_OBJECT_NAME)
Implements a dedicated interface for PCL related modules which is required in automatic tests.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#define ML_REFCOUNTED_PTR(CLASSNAME)
Macro that defines convenience Ptr/ConstPtr typedefs to be used instead of intrusive_ptr templates.
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non existing export symbol.
std::vector< pcl::PointIndices > MLPCLPointIndexVector
Vector of point indexes which are generated by a number of algorithms.
A container with pointers from the PCL (Point Cloud Library) passed in BaseObjects between PCL module...