Фильтр представляет базовый класс фильтра. Подробнее...
#include <pcl/filters/filter.h>
Публичные типы | |
| using | Ptr = shared_ptr< Filter< PointT > > |
| using | ConstPtr = shared_ptr< const Filter< PointT > > |
| using | PointCloud = pcl::PointCloud< PointT > |
| using | PointCloudPtr = typename PointCloud::Ptr |
| using | PointCloudConstPtr = typename PointCloud::ConstPtr |
|
| |
| using | PointCloud = pcl::PointCloud< PointT > |
| using | PointCloudPtr = typename PointCloud::Ptr |
| using | PointCloudConstPtr = typename PointCloud::ConstPtr |
| using | PointIndicesPtr = PointIndices::Ptr |
| using | PointIndicesConstPtr = PointIndices::ConstPtr |
Публичные члены-функции | |
| Filter (bool extract_removed_indices=false) | |
| Пустой конструктор. Подробнее... |
|
| IndicesConstPtr const | getRemovedIndices () const |
| Получить индексы удаляемых точек. Подробнее... |
|
| void | getRemovedIndices (PointIndices &pi) |
| Получить индексы удаляемых точек. Подробнее... |
|
| void | filter (PointCloud &output) |
| Вызывает метод фильтрации и возвращает отфильтрованный набор данных в output. Подробнее... |
|
|
| |
| PCLBase () | |
| Пустой конструктор. Подробнее... |
|
| PCLBase (const PCLBase &base) | |
| Конструктор копирования. Подробнее... |
|
| virtual | ~PCLBase ()=default |
| Деструктор. Подробнее... |
|
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Предоставьте указатель на входные данные. Подробнее... |
|
| PointCloudConstPtr const | getInputCloud () const |
| Получить указатель на входное облако точек. Подробнее... |
|
| virtual void | setIndices (const IndicesPtr &indices) |
| Предоставьте указатель на вектор индексов, представляющий входные данные. Подробнее... |
|
| virtual void | setIndices (const IndicesConstPtr &indices) |
| Предоставьте указатель на вектор индексов, представляющий входные данные. Подробнее... |
|
| virtual void | setIndices (const PointIndicesConstPtr &indices) |
| Предоставьте указатель на вектор индексов, представляющий входные данные. Подробнее... |
|
| virtual void | setIndices (std::size_t row_start, std::size_t col_start, std::size_t nb_rows, std::size_t nb_cols) |
| Установить индексы для точек, расположенных в области интереса облака точек. Подробнее... |
|
| IndicesPtr | getIndices () |
| Получить указатель на вектор индексов, используемых. Подробнее... |
|
| IndicesConstPtr const | getIndices () const |
| Получить указатель на вектор индексов, используемых. Подробнее... |
|
| const PointT & | operator[] (std::size_t pos) const |
| Переопределяет оператор [] класса PointCloud для сокращения кода. Подробнее... |
|
Защищенные члены-функции | |
| virtual void | applyFilter (PointCloud &output)=0 |
| Абстрактный метод фильтрации. Подробнее... |
|
| const std::string & | getClassName () const |
| Получить строковое представление имени класса. Подробнее... |
|
|
| |
| bool | initCompute () |
| Этот метод должен вызываться перед началом фактических вычислений. Подробнее... |
|
| bool | deinitCompute () |
| Этот метод должен вызываться после завершения фактических вычислений. Подробнее... |
|
Защищенные атрибуты | |
| IndicesPtr | removed_indices_ |
| Индексы точек, которые были удалены. Подробнее... |
|
| std::string | filter_name_ |
| Имя фильтра. Подробнее... |
|
| bool | extract_removed_indices_ |
| Устанавливается в true, если необходимо вернуть индексы удаленных точек. Подробнее... |
|
|
| |
| PointCloudConstPtr | input_ |
| Входной набор точек. Подробнее... |
|
| IndicesPtr | indices_ |
| Указатель на вектор индексов точек для использования. Подробнее... |
|
| bool | use_indices_ |
| Устанавливается в true, если используются индексы точек. Подробнее... |
|
| bool | fake_indices_ |
| Если набор индексов не задан, создается набор фиктивных индексов, имитирующих входной набор точек PointCloud. Подробнее... |
|
Подробное описание
шаблон<typename PointT>
класс pcl::Filter< PointT >
Класс Filter представляет собой базовый класс фильтра.
Все фильтры должны наследовать от этого интерфейса.
Документация по перечислениям членов
ConstPtr
| используя pcl::Filter< PointT >::ConstPtr = shared_ptr<const Filter<PointT> > |
PointCloud
| using pcl::Filter< PointT >::PointCloud = pcl::PointCloud<PointT> |
PointCloudConstPtr
| using pcl::Filter< PointT >::PointCloudConstPtr = typename PointCloud::ConstPtr |
PointCloudPtr
| using pcl::Filter< PointT >::PointCloudPtr = typename PointCloud::Ptr |
Ptr
| using pcl::Filter< PointT >::Ptr = shared_ptr<Filter<PointT> > |
Конструктор и деструктор
Filter()
| inline |
Документация по функциям-членам
applyFilter()
| protectedpure virtual |
Абстрактный метод фильтрации.
Реализация должна установить output.{points, width, height, is_dense}.
- Параметры
-
[выход] output результирующее облако точек после фильтрации
Реализовано в pcl::VoxelGridLabel, pcl::VoxelGridCovariance< PointT >, pcl::VoxelGridCovariance< PointTarget >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< pcl::PointXYZRGB >, pcl::VoxelGrid< PointTarget >, pcl::VoxelGrid< pcl::PointXYZRGBL >, pcl::UniformSampling< PointT >, pcl::ShadowPoints< PointT, NormalT >, pcl::SamplingSurfaceNormal< PointT >, pcl::ProjectInliers< PointT >, pcl::NormalRefinement< NormalT >, pcl::MedianFilter< PointT >, pcl::LocalMaximum< PointT >, pcl::GridMinimum< PointT >, pcl::FilterIndices< PointT >, pcl::FastBilateralFilterOMP< PointT >, pcl::FastBilateralFilter< PointT >, pcl::ExtractIndices< PointT >, pcl::ConditionalRemoval< PointT >, pcl::BilateralFilter< PointT >, pcl::ApproximateVoxelGrid< PointT >, и pcl::CovarianceSampling< PointT, PointNT >.
Ссылка на pcl::Filter< PointT >::filter().
filter()
| inline |
Вызывает метод фильтрации и возвращает отфильтрованный набор данных в output.
- Parameters
-
[out] output результирующий отфильтрованный набор точек облака
Определение в строке 121 файла filter.h.
Ссылки на pcl::Filter< PointT >::applyFilter(), pcl::copyPointCloud(), pcl::PCLBase< PointT >::deinitCompute(), pcl::PointCloud< PointT >::header, pcl::PCLBase< PointT >::initCompute(), pcl::PCLBase< PointT >::input_, pcl::PointCloud< PointT >::sensor_orientation_, и pcl::PointCloud< PointT >::sensor_origin_.
Используется в pcl::LocalMaximum< PointT >::applyFilterIndices(), pcl::GRSDEstimation< PointInT, PointNT, PointOutT >::computeFeature(), pcl::CrfSegmentation< PointT >::createVoxelGrid(), pcl::SIFTKeypoint< PointInT, PointOutT >::detectKeypoints(), pcl::people::GroundBasedPeopleDetectionApp< PointT >::filter(), pcl::kinfuLS::WorldModel< PointT >::getExistingData(), pcl::HypothesisVerification< ModelT, SceneT >::setSceneCloud(), pcl::kinfuLS::WorldModel< PointT >::setSliceAsNans(), и pcl::ism::ImplicitShapeModelEstimation< FeatureSize, PointT, NormalT >::simplifyCloud().
getClassName()
| inlineprotected |
Получить строковое представление имени этого класса.
Определение в строке 174 файла filter.h.
Ссылки на pcl::Filter< PointT >::filter_name_.
Используется в pcl::VoxelGridCovariance< PointT >::filter(), pcl::VoxelGridCovariance< PointT >::nearestKSearch(), pcl::VoxelGridCovariance< PointT >::radiusSearch(), и pcl::VoxelGridCovariance< PointT >::setMinPointPerVoxel().
getRemovedIndices() [1/2]
| inline |
Получить индексы удаляемых точек.
Определение в строке 103 файла filter.h.
Ссылки на pcl::Filter< PointT >::removed_indices_.
Используется в pcl::kinfuLS::WorldModel< PointT >::setSliceAsNans().
getRemovedIndices() [2/2]
| inline |
Получить индексы удаляемых точек.
- Parameters
-
[out] pi результирующие индексы точек, которые были удалены
Определение в строке 112 файла filter.h.
Ссылки на pcl::PointIndices::indices, и pcl::Filter< PointT >::removed_indices_.
Данные члена
extract_removed_indices_
| protected |
Устанавливается в true, если требуется вернуть индексы удалённых точек.
Определение в строке 161 файла filter.h.
Используется в pcl::experimental::advanced::FunctorFilter< PointT, FunctionObject >::applyFilter().
filter_name_
| protected |
Имя фильтра.
Определение в строке 158 файла filter.h.
Используется в pcl::ApproximateVoxelGrid< PointT >::ApproximateVoxelGrid(), pcl::ConditionalRemoval< PointT >::ConditionalRemoval(), pcl::CovarianceSampling< PointT, PointNT >::CovarianceSampling(), pcl::CropBox< PointT >::CropBox(), pcl::CropHull< PointT >::CropHull(), pcl::ExtractIndices< PointT >::ExtractIndices(), pcl::FarthestPointSampling< PointT >::FarthestPointSampling(), pcl::FrustumCulling< PointT >::FrustumCulling(), pcl::experimental::advanced::FunctorFilter< PointT, FunctionObject >::FunctorFilter(), pcl::Filter< PointT >::getClassName(), pcl::GridMinimum< PointT >::GridMinimum(), pcl::LocalMaximum< PointT >::LocalMaximum(), pcl::ModelOutlierRemoval< PointT >::ModelOutlierRemoval(), pcl::NormalSpaceSampling< PointT, NormalT >::NormalSpaceSampling(), pcl::PassThrough< PointT >::PassThrough(), pcl::ProjectInliers< PointT >::ProjectInliers(), pcl::RadiusOutlierRemoval< PointT >::RadiusOutlierRemoval(), pcl::RandomSample< PointT >::RandomSample(), pcl::SamplingSurfaceNormal< PointT >::SamplingSurfaceNormal(), pcl::ShadowPoints< PointT, NormalT >::ShadowPoints(), pcl::StatisticalOutlierRemoval< PointT >::StatisticalOutlierRemoval(), pcl::UniformSampling< PointT >::UniformSampling(), pcl::VoxelGrid< PointT >::VoxelGrid(), и pcl::VoxelGridCovariance< PointT >::VoxelGridCovariance().
removed_indices_
| protected |
Индексы точек, которые были удалены.
Определение в строке 155 файла filter.h.
Используется в pcl::experimental::advanced::FunctorFilter< PointT, FunctionObject >::applyFilter(), и pcl::Filter< PointT >::getRemovedIndices().
Документация для этого класса была сгенерирована из следующего файла:
- pcl/filters/filter.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_filter.html
