#include <abstract_tool.h>
Public Member Functions | |
AbstractTool (PropertiesModel *parameter_model, QObject *parent) | |
virtual CloudCommand * | createCommand (QList< const CloudComposerItem * > input_data)=0 |
QString | getActionText () const |
virtual QString | getToolName () const =0 |
virtual QList < CloudComposerItem * > | performAction (QList< const CloudComposerItem * > input_data, PointTypeFlags::PointType type=PointTypeFlags::NONE)=0 |
Function called which does work in plugin. | |
void | setActionText (const QString text) |
virtual | ~AbstractTool () |
Protected Attributes | |
PropertiesModel * | parameter_model_ |
Private Attributes | |
QString | action_text_ |
Definition at line 52 of file abstract_tool.h.
pcl::cloud_composer::AbstractTool::AbstractTool | ( | PropertiesModel * | parameter_model, |
QObject * | parent | ||
) |
Definition at line 3 of file abstract_tool.cpp.
virtual pcl::cloud_composer::AbstractTool::~AbstractTool | ( | ) | [inline, virtual] |
Definition at line 59 of file abstract_tool.h.
virtual CloudCommand* pcl::cloud_composer::AbstractTool::createCommand | ( | QList< const CloudComposerItem * > | input_data | ) | [pure virtual] |
QString pcl::cloud_composer::AbstractTool::getActionText | ( | ) | const [inline] |
Definition at line 73 of file abstract_tool.h.
virtual QString pcl::cloud_composer::AbstractTool::getToolName | ( | ) | const [pure virtual] |
Implemented in pcl::cloud_composer::MergeCloudTool, pcl::cloud_composer::SplitItemTool, pcl::cloud_composer::NewItemTool, pcl::cloud_composer::ModifyItemTool, pcl::cloud_composer::OrganizedSegmentationTool, pcl::cloud_composer::SupervoxelsTool, pcl::cloud_composer::FPFHEstimationTool, pcl::cloud_composer::EuclideanClusteringTool, pcl::cloud_composer::NormalEstimationTool, pcl::cloud_composer::SanitizeCloudTool, pcl::cloud_composer::StatisticalOutlierRemovalTool, pcl::cloud_composer::VoxelGridDownsampleTool, pcl::cloud_composer::MergeSelection, and pcl::cloud_composer::TransformClouds.
QList< pcl::cloud_composer::CloudComposerItem * > pcl::cloud_composer::AbstractTool::performAction | ( | QList< const CloudComposerItem * > | input_data, |
PointTypeFlags::PointType | type = PointTypeFlags::NONE |
||
) | [pure virtual] |
Function called which does work in plugin.
data | input_data from the model - const for good reason Returned list will become the output, replacing input_data in the model - you must deep copy the input_data, since undo works by switching back and forth |
Implemented in pcl::cloud_composer::MergeCloudTool, pcl::cloud_composer::SplitItemTool, pcl::cloud_composer::NewItemTool, pcl::cloud_composer::ModifyItemTool, pcl::cloud_composer::FPFHEstimationTool, pcl::cloud_composer::EuclideanClusteringTool, pcl::cloud_composer::NormalEstimationTool, pcl::cloud_composer::OrganizedSegmentationTool, pcl::cloud_composer::SanitizeCloudTool, pcl::cloud_composer::StatisticalOutlierRemovalTool, pcl::cloud_composer::SupervoxelsTool, pcl::cloud_composer::VoxelGridDownsampleTool, pcl::cloud_composer::MergeSelection, and pcl::cloud_composer::TransformClouds.
Definition at line 19 of file abstract_tool.cpp.
void pcl::cloud_composer::AbstractTool::setActionText | ( | const QString | text | ) | [inline] |
Definition at line 76 of file abstract_tool.h.
QString pcl::cloud_composer::AbstractTool::action_text_ [private] |
Definition at line 86 of file abstract_tool.h.
Definition at line 83 of file abstract_tool.h.