Spec-Zone.ru › PointCloudLibrary

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

Author
Nicola Fioraio

Definition at line 85 of file graph_handler.h.

Описания типов-членов

ConstPtr

template<typename GraphT >
using pcl::registration::GraphHandler< GraphT >::ConstPtr = shared_ptr<const GraphHandler<GraphT> >

Definition at line 88 of file graph_handler.h.

Edge

template<typename GraphT >
using pcl::registration::GraphHandler< GraphT >::Edge = typename boost::graph_traits<GraphT>::edge_descriptor

Definition at line 93 of file graph_handler.h.

GraphConstPtr

template<typename GraphT >
using pcl::registration::GraphHandler< GraphT >::GraphConstPtr = shared_ptr<const GraphT>

Definition at line 90 of file graph_handler.h.

GraphPtr

template<typename GraphT >
using pcl::registration::GraphHandler< GraphT >::GraphPtr = shared_ptr<GraphT>

Определение в строке 89 файла graph_handler.h.

Ptr

template<typename GraphT >
using pcl::registration::GraphHandler< GraphT >::Ptr = shared_ptr<GraphHandler<GraphT> >

Определение в строке 87 файла graph_handler.h.

Vertex

template<typename GraphT >
using pcl::registration::GraphHandler< GraphT >::Vertex = typename boost::graph_traits<GraphT>::vertex_descriptor

Определение в строке 92 файла graph_handler.h.

Конструктор и деструктор документации

GraphHandler()

template<typename GraphT >
pcl::registration::GraphHandler< GraphT >::GraphHandler ( )
inline

Пустой конструктор.

Определение в строке 96 файла graph_handler.h.

Ссылки на pcl::registration::GraphHandler< GraphT >::init().

~GraphHandler()

template<typename GraphT >
pcl::registration::GraphHandler< GraphT >::~GraphHandler ( )
inline

Деструктор.

Определение в строке 106 файла graph_handler.h.

Ссылки на pcl::registration::GraphHandler< GraphT >::deinit().

Документация по функциям-членам

addGenericConstraint()

template<typename GraphT >
template<class MeasurementT >
Edge pcl::registration::GraphHandler< GraphT >::addGenericConstraint ( const MeasurementT & measurement )
inline

Добавить общее ограничение, созданное в соответствии с заданным измерением.

Параметры
measurement измерение
Возвращает
ссылку на новый ребро

Определение в строке 184 файла graph_handler.h.

addGenericVertex()

template<typename GraphT >
template<class EstimateT >
Vertex pcl::registration::GraphHandler< GraphT >::addGenericVertex ( const EstimateT & estimate )
inline

Добавить новую общую вершину, созданную в соответствии с заданной оценкой.

Параметры
estimate оценка параметров
Возвращает
ссылку на новую вершину

Определение в строке 154 файла graph_handler.h.

addPointCloud()

template<typename GraphT >
template<class PointT >
Vertex pcl::registration::GraphHandler< GraphT >::addPointCloud ( const typename pcl::PointCloud< PointT >::ConstPtr & cloud,
const Eigen::Matrix4f & pose
)
inline

Добавить новую облако точек в граф и вернуть новую вершину.

Параметры
cloud новая облако точек
pose оценка позы
Возвращает
ссылку на новую вершину

Определение в строке 142 файла graph_handler.h.

addPoseConstraint()

template<typename GraphT >
template<class InformationT >
Edge pcl::registration::GraphHandler< GraphT >::addPoseConstraint ( const Vertex & v_start,
const Vertex & v_end,
const Eigen::Matrix4f & relative_transformation,
const InformationT & information_matrix
)
inline

Добавить новое ограничение между двумя положениями.

Parameters
v_start первое положение
v_end второе положение
relative_transformation преобразование от v_start к v_end
information_matrix неопределённость
Returns
ссылка на новый ребро

Определение в строке 168 файла graph_handler.h.

clear()

template<typename GraphT >
void pcl::registration::GraphHandler< GraphT >::clear ( )
inline

Очистить граф.

Определение в строке 110 файла graph_handler.h.

Ссылки на pcl::registration::GraphHandler< GraphT >::deinit() и pcl::registration::GraphHandler< GraphT >::init().

deinit()

template<typename GraphT >
bool pcl::registration::GraphHandler< GraphT >::deinit ( )
inlineprotected

Этот метод вызывается при разрушении graph_impl_.

Определение в строке 217 файла graph_handler.h.

Используется в pcl::registration::GraphHandler< GraphT >::clear() и pcl::registration::GraphHandler< GraphT >::~GraphHandler().

getGraph() [1/2]

template<typename GraphT >
GraphPtr pcl::registration::GraphHandler< GraphT >::getGraph ( )
inline

Получить указатель на граф BGL.

Определение в строке 130 файла graph_handler.h.

getGraph() [2/2]

template<typename GraphT >
GraphConstPtr pcl::registration::GraphHandler< GraphT >::getGraph ( ) const
inline

Получить указатель на граф BGL.

Определение в строке 123 файла graph_handler.h.

init()

template<typename GraphT >
bool pcl::registration::GraphHandler< GraphT >::init ( )
inlineprotected

Этот метод вызывается сразу после создания graph_impl_.

Определение в строке 210 файла graph_handler.h.

Обращается из pcl::registration::GraphHandler< GraphT >::clear() и pcl::registration::GraphHandler< GraphT >::GraphHandler().

removeConstraint()

template<typename GraphT >
void pcl::registration::GraphHandler< GraphT >::removeConstraint ( const Edge & e )
inline

Удалить ограничение из графа.

Параметры
e ребро

Определение в строке 202 файла graph_handler.h.

removeVertex()

template<typename GraphT >
void pcl::registration::GraphHandler< GraphT >::removeVertex ( const Vertex & v )
inline

Удалить вершину из графа.

Параметры
v вершина

Определение в строке 193 файла graph_handler.h.


Документация для этого класса была сгенерирована из следующего файла:
  • 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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API