#include <cloud_composer_item.h>
Public Types | |
enum | ItemType { CLOUD_COMPOSER_ITEM = QStandardItem::UserType, CLOUD_ITEM, NORMALS_ITEM, FPFH_ITEM } |
Public Member Functions | |
void | addChild (CloudComposerItem *item_arg) |
virtual CloudComposerItem * | clone () const |
CloudComposerItem (const QString name="default item") | |
CloudComposerItem (const CloudComposerItem &to_copy) | |
QList< CloudComposerItem * > | getChildren (ItemType type) const |
Returns all children of item type type. | |
QString | getId () const |
Convenience function to get Item's ID String. | |
virtual QMap< QString, QWidget * > | getInspectorTabs () |
Inspector additional tabs paint function - reimpliment in item subclass if item has additional tabs to show in Inspector. | |
PropertiesModel * | getPropertiesModel () const |
Convenience function to get Item's Property Pointer. | |
virtual bool | isSanitized () const |
virtual void | paintView (boost::shared_ptr< pcl::visualization::PCLVisualizer > vis) const |
Convenience function which pulls out a cloud Ptr of type CloudPtrT. | |
void | propertyChanged () |
The property model calls this when a property changes. | |
virtual void | removeFromView (boost::shared_ptr< pcl::visualization::PCLVisualizer > vis) const |
Remove from View function - reimpliment in item subclass if it can be displayed in PCLVisualizer. | |
virtual int | type () const |
virtual | ~CloudComposerItem () |
Protected Attributes | |
PropertiesModel * | properties_ |
Model for storing the properties of the item - pointer kept for convenience. |
Definition at line 77 of file cloud_composer_item.h.
Definition at line 82 of file cloud_composer_item.h.
pcl::cloud_composer::CloudComposerItem::CloudComposerItem | ( | const QString | name = "default item" | ) |
Definition at line 7 of file cloud_composer_item.cpp.
pcl::cloud_composer::CloudComposerItem::CloudComposerItem | ( | const CloudComposerItem & | to_copy | ) |
Definition at line 24 of file cloud_composer_item.cpp.
void pcl::cloud_composer::CloudComposerItem::addChild | ( | CloudComposerItem * | item_arg | ) |
Definition at line 57 of file cloud_composer_item.cpp.
pcl::cloud_composer::CloudComposerItem * pcl::cloud_composer::CloudComposerItem::clone | ( | ) | const [virtual] |
Reimplemented in pcl::cloud_composer::CloudItem, pcl::cloud_composer::FPFHItem, and pcl::cloud_composer::NormalsItem.
Definition at line 31 of file cloud_composer_item.cpp.
QList< pcl::cloud_composer::CloudComposerItem * > pcl::cloud_composer::CloudComposerItem::getChildren | ( | CloudComposerItem::ItemType | type | ) | const |
Returns all children of item type type.
Definition at line 42 of file cloud_composer_item.cpp.
QString pcl::cloud_composer::CloudComposerItem::getId | ( | ) | const [inline] |
Convenience function to get Item's ID String.
Definition at line 99 of file cloud_composer_item.h.
QMap< QString, QWidget * > pcl::cloud_composer::CloudComposerItem::getInspectorTabs | ( | ) | [virtual] |
Inspector additional tabs paint function - reimpliment in item subclass if item has additional tabs to show in Inspector.
Reimplemented in pcl::cloud_composer::FPFHItem.
Definition at line 75 of file cloud_composer_item.cpp.
PropertiesModel* pcl::cloud_composer::CloudComposerItem::getPropertiesModel | ( | ) | const [inline] |
Convenience function to get Item's Property Pointer.
Definition at line 103 of file cloud_composer_item.h.
virtual bool pcl::cloud_composer::CloudComposerItem::isSanitized | ( | ) | const [inline, virtual] |
Reimplemented in pcl::cloud_composer::CloudItem.
Definition at line 140 of file cloud_composer_item.h.
void pcl::cloud_composer::CloudComposerItem::paintView | ( | boost::shared_ptr< pcl::visualization::PCLVisualizer > | vis | ) | const [virtual] |
Convenience function which pulls out a cloud Ptr of type CloudPtrT.
Paint View function - reimpliment in item subclass if it can be displayed in PCLVisualizer
Reimplemented in pcl::cloud_composer::CloudItem, and pcl::cloud_composer::NormalsItem.
Definition at line 63 of file cloud_composer_item.cpp.
void pcl::cloud_composer::CloudComposerItem::propertyChanged | ( | ) | [inline] |
The property model calls this when a property changes.
Definition at line 134 of file cloud_composer_item.h.
void pcl::cloud_composer::CloudComposerItem::removeFromView | ( | boost::shared_ptr< pcl::visualization::PCLVisualizer > | vis | ) | const [virtual] |
Remove from View function - reimpliment in item subclass if it can be displayed in PCLVisualizer.
Reimplemented in pcl::cloud_composer::CloudItem, and pcl::cloud_composer::NormalsItem.
Definition at line 69 of file cloud_composer_item.cpp.
virtual int pcl::cloud_composer::CloudComposerItem::type | ( | ) | const [inline, virtual] |
Reimplemented in pcl::cloud_composer::CloudItem, pcl::cloud_composer::FPFHItem, and pcl::cloud_composer::NormalsItem.
Definition at line 95 of file cloud_composer_item.h.
Model for storing the properties of the item - pointer kept for convenience.
Definition at line 144 of file cloud_composer_item.h.