GraphHandler class is a wrapper for a general SLAM graph. The actual graph class must fulfill the following boost::graph concepts: More...
#include <pcl/registration/graph_handler.h>
Public Types | |
| using | Ptr = shared_ptr< GraphHandler< GraphT > > |
| using | ConstPtr = shared_ptr< const GraphHandler< GraphT > > |
| using | GraphPtr = shared_ptr< GraphT > |
| using | GraphConstPtr = shared_ptr< const GraphT > |
| using | Vertex = typename boost::graph_traits< GraphT >::vertex_descriptor |
| using | Edge = typename boost::graph_traits< GraphT >::edge_descriptor |
Общедоступные члены-функции | |
| GraphHandler () | |
| Пустой конструктор. Подробнее... |
|
| ~GraphHandler () | |
| Деструктор. Подробнее... |
|
| void | clear () |
| Очистить граф. Подробнее... |
|
| GraphConstPtr | getGraph () const |
| Получить указатель на граф BGL. Подробнее... |
|
| GraphPtr | getGraph () |
| Получить указатель на граф BGL. Подробнее... |
|
| template<class PointT > | |
| Vertex | addPointCloud (const typename pcl::PointCloud< PointT >::ConstPtr &cloud, const Eigen::Matrix4f &pose) |
| Добавить новую точку облака в граф и вернуть новую вершину. Подробнее... |
|
| template<class EstimateT > | |
| Vertex | addGenericVertex (const EstimateT &estimate) |
| Добавить новую общую вершину, созданную в соответствии с заданной оценкой. Подробнее... |
|
| template<class InformationT > | |
| Edge | addPoseConstraint (const Vertex &v_start, const Vertex &v_end, const Eigen::Matrix4f &relative_transformation, const InformationT &information_matrix) |
| Добавить новое ограничение между двумя позициями. Подробнее... |
|
| template<class MeasurementT > | |
| Edge | addGenericConstraint (const MeasurementT &measurement) |
| Добавить общее ограничение, созданное в соответствии с заданным измерением. Подробнее... |
|
| void | removeVertex (const Vertex &v) |
| Удалить вершину из графа. Подробнее... |
|
| void | removeConstraint (const Edge &e) |
| Удалить ограничение из графа. Подробнее... |
|
Защищенные члены-функции | |
| bool | init () |
| Этот метод вызывается сразу после создания graph_impl_. Подробнее... |
|
| bool | deinit () |
| Этот метод вызывается, когда graph_impl_ собирается быть уничтожен. Подробнее... |
|
Подробное описание
template<typename GraphT>
class pcl::registration::GraphHandler< GraphT >
GraphHandler class is a wrapper for a general SLAM graph The actual graph class must fulfill the following boost::graph concepts:
- BidirectionalGraph
- AdjacencyGraph
- VertexAndEdgeListGraph
- MutableGraph
Other valid expressions:
- add_edge (m,g) add a new edge according to the given measurement. Return type: std::pair<edge_descriptor, bool>
- add_vertex (e,g) add a new vertex according to the given estimate. Return type: vertex_descriptor
- get_pose (v,g) retrieve the pose estimate for v, if any. Return type: Eigen::Matrix4f
- get_cloud (v,g) retrieve the cloud pointer associated to v, if any. Return type: pcl::PointCloud<PointT>::ConstPtr
- set_estimate (v,e,g) set the estimate for an existing vertex. Return type: void.
- set_measurement (d,m,g) set the measurement for an existing edge. Return type: void. Notation:
- m an edge measurement
- e a vertex estimate
- v a vertex
- d an edge
- g a graph A valid graph implementation should accept at least the PoseEstimate estimate and the PoseMeasurement measurement
If a specific graph implementation needs initialization and/or finalization, specialize the protected methods init() and deinit() for your graph type
Definition at line 85 of file graph_handler.h.
Описания типов-членов
ConstPtr
| using pcl::registration::GraphHandler< GraphT >::ConstPtr = shared_ptr<const GraphHandler<GraphT> > |
Definition at line 88 of file graph_handler.h.
Edge
| using pcl::registration::GraphHandler< GraphT >::Edge = typename boost::graph_traits<GraphT>::edge_descriptor |
Definition at line 93 of file graph_handler.h.
GraphConstPtr
| using pcl::registration::GraphHandler< GraphT >::GraphConstPtr = shared_ptr<const GraphT> |
Definition at line 90 of file graph_handler.h.
GraphPtr
| using pcl::registration::GraphHandler< GraphT >::GraphPtr = shared_ptr<GraphT> |
Определение в строке 89 файла graph_handler.h.
Ptr
| using pcl::registration::GraphHandler< GraphT >::Ptr = shared_ptr<GraphHandler<GraphT> > |
Определение в строке 87 файла graph_handler.h.
Vertex
| using pcl::registration::GraphHandler< GraphT >::Vertex = typename boost::graph_traits<GraphT>::vertex_descriptor |
Определение в строке 92 файла graph_handler.h.
Конструктор и деструктор документации
GraphHandler()
| inline |
Пустой конструктор.
Определение в строке 96 файла graph_handler.h.
Ссылки на pcl::registration::GraphHandler< GraphT >::init().
~GraphHandler()
| inline |
Деструктор.
Определение в строке 106 файла graph_handler.h.
Ссылки на pcl::registration::GraphHandler< GraphT >::deinit().
Документация по функциям-членам
addGenericConstraint()
| inline |
Добавить общее ограничение, созданное в соответствии с заданным измерением.
- Параметры
-
measurement измерение
- Возвращает
- ссылку на новый ребро
Определение в строке 184 файла graph_handler.h.
addGenericVertex()
| inline |
Добавить новую общую вершину, созданную в соответствии с заданной оценкой.
- Параметры
-
estimate оценка параметров
- Возвращает
- ссылку на новую вершину
Определение в строке 154 файла graph_handler.h.
addPointCloud()
| inline |
Добавить новую облако точек в граф и вернуть новую вершину.
- Параметры
-
cloud новая облако точек pose оценка позы
- Возвращает
- ссылку на новую вершину
Определение в строке 142 файла graph_handler.h.
addPoseConstraint()
| inline |
Добавить новое ограничение между двумя положениями.
- Parameters
-
v_start первое положение v_end второе положение relative_transformation преобразование от v_start к v_end information_matrix неопределённость
- Returns
- ссылка на новый ребро
Определение в строке 168 файла graph_handler.h.
clear()
| inline |
Очистить граф.
Определение в строке 110 файла graph_handler.h.
Ссылки на pcl::registration::GraphHandler< GraphT >::deinit() и pcl::registration::GraphHandler< GraphT >::init().
deinit()
| inlineprotected |
Этот метод вызывается при разрушении graph_impl_.
Определение в строке 217 файла graph_handler.h.
Используется в pcl::registration::GraphHandler< GraphT >::clear() и pcl::registration::GraphHandler< GraphT >::~GraphHandler().
getGraph() [1/2]
| inline |
Получить указатель на граф BGL.
Определение в строке 130 файла graph_handler.h.
getGraph() [2/2]
| inline |
Получить указатель на граф BGL.
Определение в строке 123 файла graph_handler.h.
init()
| inlineprotected |
Этот метод вызывается сразу после создания graph_impl_.
Определение в строке 210 файла graph_handler.h.
Обращается из pcl::registration::GraphHandler< GraphT >::clear() и pcl::registration::GraphHandler< GraphT >::GraphHandler().
removeConstraint()
| inline |
removeVertex()
| inline |
Документация для этого класса была сгенерирована из следующего файла:
- pcl/registration/graph_handler.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1registration_1_1_graph_handler.html