18#include <pcl/sample_consensus/sac_model.h>
43 pcl::SampleConsensusModel<pcl::PointXYZ>::Ptr
createModelT(pcl::PointCloud<pcl::PointXYZ>::Ptr &cloudPtr, std::string &msg);
44 pcl::SampleConsensusModel<pcl::PointXYZLNormal>::Ptr
createModelT(pcl::PointCloud<pcl::PointXYZLNormal>::Ptr &cloudPtr, std::string &msg);
45 pcl::SampleConsensusModel<pcl::PointXYZRGBNormal>::Ptr
createModelT(pcl::PointCloud<pcl::PointXYZRGBNormal>::Ptr &cloudPtr, std::string &msg);
46 pcl::SampleConsensusModel<pcl::PointXYZINormal>::Ptr
createModelT(pcl::PointCloud<pcl::PointXYZINormal>::Ptr &cloudPtr, std::string &msg);
66 template <
typename POINT_CLOUD_TYPE_PTR>
67 typename pcl::SampleConsensusModel<typename POINT_CLOUD_TYPE_PTR::element_type::PointType>::Ptr
68 _createModelTWithNormals(POINT_CLOUD_TYPE_PTR &cloudPtr, std::string &msg);
76 template <
typename POINT_CLOUD_TYPE_PTR>
77 typename pcl::SampleConsensusModel<typename POINT_CLOUD_TYPE_PTR::element_type::PointType>::Ptr
78 _createModelTWithoutNormals(POINT_CLOUD_TYPE_PTR &cloudPtr, std::string &msg);
85 template <
typename POINT_CLOUD_TYPE_PTR>
86 typename pcl::SampleConsensusModel<typename POINT_CLOUD_TYPE_PTR::element_type::PointType>::Ptr
87 _createRegistrationModel(POINT_CLOUD_TYPE_PTR &cloudPtr,
115#ifdef _COMPILE_SAC_MODEL_PCL_SAMPLE_OUTPUT
118 void _createSampleAndSetOutput();
121 template <
typename POINT_CLOUD_PTR_TYPE>
122 void _createSampleAndSetOutputT(
const POINT_CLOUD_PTR_TYPE );
Project global and OS specific declarations.
#define MLPCL_SampleConsensus_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.
PCLModule(int numImageInputs=0, int numImageOutputs=0, int numPCLInputs=0, int numPCLOutputs=0, bool createEnumAndNotify=false)
pcl::SampleConsensusModel< pcl::PointXYZ >::Ptr createModelT(pcl::PointCloud< pcl::PointXYZ >::Ptr &cloudPtr, std::string &msg)
pcl::SampleConsensusModel< pcl::PointXYZINormal >::Ptr createModelT(pcl::PointCloud< pcl::PointXYZINormal >::Ptr &cloudPtr, std::string &msg)
bool needsNormalsInPoints() const
Returns true if the currently selected model type needs normals in points, otherwise false.
void activateAttachments() override
Updates internal state after changes of fields without field notifications.
PCLSampleConsensusModels()
Initializes an ML module wrapping a pcl::SampleConsensusModel classes.
pcl::SampleConsensusModel< pcl::PointXYZRGBNormal >::Ptr createModelT(pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr &cloudPtr, std::string &msg)
pcl::SampleConsensusModel< pcl::PointXYZLNormal >::Ptr createModelT(pcl::PointCloud< pcl::PointXYZLNormal >::Ptr &cloudPtr, std::string &msg)
void handleNotification(Field *field) override
Handles field changes of the field field.
#define ML_MODULE_CLASS_HEADER(className)
ML Module base class for algorithms from the Point Cloud Library (PCL).
#define ML_PCL_TEST_INTERFACE(BASE_OBJECT_NAME)
Implements a dedicated interface for PCL related modules which is required in automatic tests.