Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
pcl::cloud_composer::CloudItem Class Reference

#include <cloud_item.h>

Inheritance diagram for pcl::cloud_composer::CloudItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual CloudItemclone () const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CloudItem (const QString name, const pcl::PCLPointCloud2::Ptr cloud_ptr, const Eigen::Vector4f &origin=Eigen::Vector4f(), const Eigen::Quaternionf &orientation=Eigen::Quaternionf(), bool make_templated_cloud=true)
 CloudItem (const CloudItem &to_copy)
virtual QVariant data (int role=Qt::UserRole+1) const
 virtual data getter which calls QStandardItem::data; used to create template cloud if not created yet WARNING : This function modifies "this" - it sets up the templated type if you request one when it doesn't exist yet! It had to remain const because it is virtual, and we need to keep run-time polymorphism
int getPointType () const
virtual bool isSanitized () const
virtual void paintView (boost::shared_ptr< pcl::visualization::PCLVisualizer > vis) const
 Paint View function - puts this cloud item into a PCLVisualizer object.
template<typename PointT >
void printNumPoints () const
virtual void removeFromView (boost::shared_ptr< pcl::visualization::PCLVisualizer > vis) const
 Remove from View function - removes this cloud from a PCLVisualizer object.
virtual void setData (const QVariant &value, int role=Qt::UserRole+1)
 Virtual data setter which calls QStandardItem::data; used to ensure that template_cloud_set_ is set when a templated cloud is added.
void setTemplateCloudFromBlob ()
 Initializes and stores a templated PointCloud object with point type matching the blob.
virtual int type () const
virtual ~CloudItem ()

Static Public Member Functions

template<typename PointT >
static CloudItemcreateCloudItemFromTemplate (const QString name, typename PointCloud< PointT >::Ptr cloud_ptr)
 This creates a CloudItem from a templated cloud type.

Private Member Functions

bool checkIfFinite ()
template<typename PointT >
void setPointType ()

Private Attributes

pcl::PCLPointCloud2::Ptr cloud_blob_ptr_
ColorHandler::ConstPtr color_handler_
GeometryHandler::ConstPtr geometry_handler_
bool is_sanitized_
Eigen::Quaternionf orientation_
Eigen::Vector4f origin_
int point_type_
bool template_cloud_set_

Detailed Description

Definition at line 66 of file cloud_item.h.


Constructor & Destructor Documentation

pcl::cloud_composer::CloudItem::CloudItem ( const QString  name,
const pcl::PCLPointCloud2::Ptr  cloud_ptr,
const Eigen::Vector4f &  origin = Eigen::Vector4f (),
const Eigen::Quaternionf &  orientation = Eigen::Quaternionf (),
bool  make_templated_cloud = true 
)

Definition at line 10 of file cloud_item.cpp.

Definition at line 69 of file cloud_item.cpp.


Member Function Documentation

Definition at line 192 of file cloud_item.cpp.

Reimplemented from pcl::cloud_composer::CloudComposerItem.

Definition at line 57 of file cloud_item.cpp.

template<typename PointT >
pcl::cloud_composer::CloudItem * pcl::cloud_composer::CloudItem::createCloudItemFromTemplate ( const QString  name,
typename PointCloud< PointT >::Ptr  cloud_ptr 
) [static]

This creates a CloudItem from a templated cloud type.

Definition at line 68 of file cloud_item.hpp.

QVariant pcl::cloud_composer::CloudItem::data ( int  role = Qt::UserRole +1) const [virtual]

virtual data getter which calls QStandardItem::data; used to create template cloud if not created yet WARNING : This function modifies "this" - it sets up the templated type if you request one when it doesn't exist yet! It had to remain const because it is virtual, and we need to keep run-time polymorphism

Definition at line 91 of file cloud_item.cpp.

Definition at line 118 of file cloud_item.h.

virtual bool pcl::cloud_composer::CloudItem::isSanitized ( ) const [inline, virtual]

Reimplemented from pcl::cloud_composer::CloudComposerItem.

Definition at line 124 of file cloud_item.h.

void pcl::cloud_composer::CloudItem::paintView ( boost::shared_ptr< pcl::visualization::PCLVisualizer vis) const [virtual]

Paint View function - puts this cloud item into a PCLVisualizer object.

Reimplemented from pcl::cloud_composer::CloudComposerItem.

Definition at line 76 of file cloud_item.cpp.

template<typename PointT >
void pcl::cloud_composer::CloudItem::printNumPoints ( ) const

Definition at line 46 of file cloud_item.hpp.

void pcl::cloud_composer::CloudItem::removeFromView ( boost::shared_ptr< pcl::visualization::PCLVisualizer vis) const [virtual]

Remove from View function - removes this cloud from a PCLVisualizer object.

Reimplemented from pcl::cloud_composer::CloudComposerItem.

Definition at line 85 of file cloud_item.cpp.

void pcl::cloud_composer::CloudItem::setData ( const QVariant &  value,
int  role = Qt::UserRole + 1 
) [virtual]

Virtual data setter which calls QStandardItem::data; used to ensure that template_cloud_set_ is set when a templated cloud is added.

Definition at line 103 of file cloud_item.cpp.

Definition at line 149 of file cloud_item.h.

Initializes and stores a templated PointCloud object with point type matching the blob.

Definition at line 112 of file cloud_item.cpp.

virtual int pcl::cloud_composer::CloudItem::type ( ) const [inline, virtual]

Reimplemented from pcl::cloud_composer::CloudComposerItem.

Definition at line 100 of file cloud_item.h.


Member Data Documentation

Definition at line 128 of file cloud_item.h.

Definition at line 129 of file cloud_item.h.

Definition at line 130 of file cloud_item.h.

Definition at line 145 of file cloud_item.h.

Eigen::Quaternionf pcl::cloud_composer::CloudItem::orientation_ [private]

Definition at line 136 of file cloud_item.h.

Eigen::Vector4f pcl::cloud_composer::CloudItem::origin_ [private]

Definition at line 135 of file cloud_item.h.

Definition at line 139 of file cloud_item.h.

Definition at line 140 of file cloud_item.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:47