Spec-Zone.ru › PointCloudLibrary

Абстрактный класс ветви октрее Подробнее...

#include <pcl/octree/octree_nodes.h>

Inheritance graph
[легенда]
Collaboration graph
[легенда]

Публичные функции-члены

OctreeBranchNode ()
Пустой конструктор. Подробнее...
OctreeBranchNode (const OctreeBranchNode &source)
Конструктор копирования. Подробнее...
OctreeBranchNode & operator= (const OctreeBranchNode &source)
Оператор копирования. Подробнее...
OctreeBranchNode * deepCopy () const override
Метод глубокого копирования Octree. Подробнее...
~OctreeBranchNode () override=default
Пустой деструктор. Подробнее...
OctreeNode *& operator[] (unsigned char child_idx_arg)
Оператор доступа. Подробнее...
OctreeNode * getChildPtr (unsigned char child_idx_arg) const
Получить указатель на дочерний элемент. Подробнее...
void setChildPtr (OctreeNode *child, unsigned char index)
Получить указатель на дочерний элемент. Подробнее...
bool hasChild (unsigned char child_idx_arg) const
Проверить, указывает ли ветвь на определенный дочерний узел. Подробнее...
node_type_t getNodeType () const override
Проверить, можно ли обрезать ветвь. Подробнее...
void reset ()
const ContainerT * operator-> () const
Получить константный указатель на контейнер. Подробнее...
ContainerT * operator-> ()
Получить указатель на контейнер. Подробнее...
const ContainerT & operator* () const
Получить константную ссылку на контейнер. Подробнее...
ContainerT & operator* ()
Получить ссылку на контейнер. Подробнее...
const ContainerT & getContainer () const
Получить константную ссылку на контейнер. Подробнее...
ContainerT & getContainer ()
Получить ссылку на контейнер. Подробнее...
const ContainerT * getContainerPtr () const
Получить константный указатель на контейнер. Подробнее...
ContainerT * getContainerPtr ()
Получить указатель на контейнер. Подробнее...
- Публичные члены-функции, унаследованные от pcl::octree::OctreeNode
OctreeNode ()=default
virtual ~OctreeNode ()=default

Защищенные атрибуты

std::array< OctreeNode *, 8 > child_node_array_ {}
ContainerT container_

Подробное описание

шаблон<typename ContainerT>
класс pcl::octree::OctreeBranchNode< ContainerT >

Абстрактный класс ветви ок-дерева

Примечание
Классы ветвей ок-дерева могут собирать данные типа DataT
Автор
Julius Kammerl (juliu.nosp@m.s@ka.nosp@m.mmerl.nosp@m..de)

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

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

OctreeBranchNode() [1/2]

шаблон<typename ContainerT >
pcl::octree::OctreeBranchNode< ContainerT >::OctreeBranchNode ( )
inline

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

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

OctreeBranchNode() [2/2]

шаблон<typename ContainerT >
pcl::octree::OctreeBranchNode< ContainerT >::OctreeBranchNode ( const OctreeBranchNode< ContainerT > & source )
inline

Конструктор копирования.

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

Ссылки pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.

~OctreeBranchNode()

шаблон<typename ContainerT >
pcl::octree::OctreeBranchNode< ContainerT >::~OctreeBranchNode ( )
overridedefault

Пустой деструктор.

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

deepCopy()

шаблон<typename ContainerT >
OctreeBranchNode* pcl::octree::OctreeBranchNode< ContainerT >::deepCopy ( ) const
inlineoverridevirtual

Метод глубокого копирования ок-дерева.

Реализует pcl::octree::OctreeNode.

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

getChildPtr()

шаблон<typename ContainerT >
OctreeNode* pcl::octree::OctreeBranchNode< ContainerT >::getChildPtr ( unsigned char child_idx_arg ) const
inline

Получить указатель на дочерний элемент.

Аргументы
child_idx_arg индекс дочернего узла
Возвращает
указатель на OctreeNode

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

Ссылки pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.

Ссылка на pcl::octree::OctreeBase< LeafContainerT, BranchContainerT >::branchHasChild(), pcl::octree::OctreeBase< LeafContainerT, BranchContainerT >::getBranchBitPattern(), pcl::octree::OctreeBase< LeafContainerT, BranchContainerT >::getBranchChildPtr(), и pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafContainerT, BranchContainerT >::getVoxelCentroidsRecursive().

getContainer() [1/2]

template<typename ContainerT >
ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::getContainer ( )
inline

Получить ссылку на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

getContainer() [2/2]

template<typename ContainerT >
const ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::getContainer ( ) const
inline

Получить константную ссылку на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

getContainerPtr() [1/2]

template<typename ContainerT >
ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::getContainerPtr ( )
inline

Получить указатель на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

getContainerPtr() [2/2]

template<typename ContainerT >
const ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::getContainerPtr ( ) const
inline

Получить константный указатель на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

getNodeType()

template<typename ContainerT >
node_type_t pcl::octree::OctreeBranchNode< ContainerT >::getNodeType ( ) const
inlineoverridevirtual

Проверить, можно ли обрезать ветвь.

Заметка
если все дочерние узлы являются листовыми узлами И содержат идентичные контейнеры, ветвь можно обрезать
Возвращает
"true", если ветвь можно обрезать; "false" в противном случае

Получить тип узла октодерева. Возвращает тип LEAVE_NODE

Реализует pcl::octree::OctreeNode.

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

Ссылки на pcl::octree::BRANCH_NODE.

hasChild()

template<typename ContainerT >
bool pcl::octree::OctreeBranchNode< ContainerT >::hasChild ( unsigned char child_idx_arg ) const
inline

Проверить, указывает ли ветвь на конкретный дочерний узел.

Parameters
child_idx_arg индекс дочернего узла
Возвращает
"true", если указатель на дочерний узел существует; "false" в противном случае

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.

Используется в pcl::octree::OctreeBase< LeafContainerT, BranchContainerT >::deleteBranchChild(), pcl::octree::OctreeBase< OctreeContainerPointIndices, OctreeContainerEmpty >::deleteTree(), pcl::octree::OctreePointCloudVoxelCentroid< PointT, LeafContainerT, BranchContainerT >::getVoxelCentroidsRecursive() и pcl::octree::OctreeBase< OctreeContainerPointIndices, OctreeContainerEmpty >::serializeLeafs().

operator*() [1/2]

template<typename ContainerT >
ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::operator* ( )
inline

Получить ссылку на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

operator*() [2/2]

template<typename ContainerT >
const ContainerT& pcl::octree::OctreeBranchNode< ContainerT >::operator* ( ) const
inline

Получить константную ссылку на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

operator->() [1/2]

template<typename ContainerT >
ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::operator-> ( )
inline

Получить указатель на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

operator->() [2/2]

template<typename ContainerT >
const ContainerT* pcl::octree::OctreeBranchNode< ContainerT >::operator-> ( ) const
inline

Получить константный указатель на контейнер.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::container_.

operator=()

template<typename ContainerT >
OctreeBranchNode& pcl::octree::OctreeBranchNode< ContainerT >::operator= ( const OctreeBranchNode< ContainerT > & source )
inline

Оператор копирования.

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.

operator[]()

template<typename ContainerT >
OctreeNode*& pcl::octree::OctreeBranchNode< ContainerT >::operator[] ( unsigned char child_idx_arg )
inline

Оператор доступа.

Parameters
child_idx_arg индекс дочернего узла
Returns
Указатель на узел OctreeNode

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.

reset()

template<typename ContainerT >
void pcl::octree::OctreeBranchNode< ContainerT >::reset ( )
inline

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_ и pcl::octree::OctreeBranchNode< ContainerT >::container_.

setChildPtr()

template<typename ContainerT >
void pcl::octree::OctreeBranchNode< ContainerT >::setChildPtr ( OctreeNode * child,
unsigned char index
)
inline

Получить указатель на дочерний элемент.

Returns
Указатель на узел OctreeNode

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

Ссылки на pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_.

Документация по данным члена

child_node_array_

template<typename ContainerT >
std::array<OctreeNode*, 8> pcl::octree::OctreeBranchNode< ContainerT >::child_node_array_ {}
protected

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

Ссылка на pcl::octree::OctreeBranchNode< ContainerT >::getChildPtr(), pcl::octree::OctreeBranchNode< ContainerT >::hasChild(), pcl::octree::OctreeBranchNode< ContainerT >::OctreeBranchNode(), pcl::octree::OctreeBranchNode< ContainerT >::operator=(), pcl::octree::OctreeBranchNode< ContainerT >::operator[](), pcl::octree::OctreeBranchNode< ContainerT >::reset() и pcl::octree::OctreeBranchNode< ContainerT >::setChildPtr().

container_

template<typename ContainerT >
ContainerT pcl::octree::OctreeBranchNode< ContainerT >::container_
protected

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

Используется в pcl::octree::OctreeBranchNode< ContainerT >::getContainer(), pcl::octree::OctreeBranchNode< ContainerT >::getContainerPtr(), pcl::octree::OctreeBranchNode< ContainerT >::operator*(), pcl::octree::OctreeBranchNode< ContainerT >::operator->() и pcl::octree::OctreeBranchNode< ContainerT >::reset().


Документация для этого класса была сгенерирована из следующего файла:
  • pcl/octree/octree_nodes.h

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1octree_1_1_octree_branch_node.html

Spec-Zone.ru

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