Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
DenoiseCommand Class Reference

#include <denoiseCommand.h>

Inheritance diagram for DenoiseCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DenoiseCommand (SelectionPtr selection_ptr, CloudPtr cloud_ptr, float mean, float threshold)
 Constructor.
 ~DenoiseCommand ()
 Destructor.

Protected Member Functions

void execute ()
 Runs the denois algorithm to remove all the outliers.
void undo ()
 Adds the removed noisy points back to the cloud.

Private Member Functions

 DenoiseCommand ()
 Default Constructor.
 DenoiseCommand (const DenoiseCommand &)
 Copy constructor - commands are non-copyable.
DenoiseCommandoperator= (const DenoiseCommand &)
 Equal operator - commands are non-copyable.

Private Attributes

CloudPtr cloud_ptr_
 A pointer pointing to the cloud of the widget.
float mean_
 The number of points to use for mean distance estimation.
Selection removed_indices_
 A selection object which backs up the indices of the noisy points removed.
CopyBuffer removed_points_
 A copy buffer which backs up the noisy point removed after denoising.
SelectionPtr selection_ptr_
 A shared pointer pointing to the selection object of the widget.
float threshold_
 The standard deviation multiplier threshold.

Detailed Description

Definition at line 51 of file denoiseCommand.h.


Constructor & Destructor Documentation

DenoiseCommand::DenoiseCommand ( SelectionPtr  selection_ptr,
CloudPtr  cloud_ptr,
float  mean,
float  threshold 
) [inline]

Constructor.

Parameters:
selection_ptra shared pointer pointing to the selection object.
cloud_ptra shared pointer pointing to the cloud object.
meanthe number of points to use for mean distance estimation.
thresholdthe standard deviation multiplier threshold

Definition at line 59 of file denoiseCommand.h.

Destructor.

Definition at line 67 of file denoiseCommand.h.

DenoiseCommand::DenoiseCommand ( ) [inline, private]

Default Constructor.

Definition at line 82 of file denoiseCommand.h.

DenoiseCommand::DenoiseCommand ( const DenoiseCommand ) [inline, private]

Copy constructor - commands are non-copyable.

Definition at line 87 of file denoiseCommand.h.


Member Function Documentation

void DenoiseCommand::execute ( ) [protected, virtual]

Runs the denois algorithm to remove all the outliers.

Implements Command.

Definition at line 48 of file denoiseCommand.cpp.

DenoiseCommand& DenoiseCommand::operator= ( const DenoiseCommand ) [inline, private]

Equal operator - commands are non-copyable.

Definition at line 95 of file denoiseCommand.h.

void DenoiseCommand::undo ( ) [protected, virtual]

Adds the removed noisy points back to the cloud.

Implements Command.

Definition at line 75 of file denoiseCommand.cpp.


Member Data Documentation

A pointer pointing to the cloud of the widget.

Definition at line 104 of file denoiseCommand.h.

float DenoiseCommand::mean_ [private]

The number of points to use for mean distance estimation.

Definition at line 107 of file denoiseCommand.h.

A selection object which backs up the indices of the noisy points removed.

Definition at line 116 of file denoiseCommand.h.

A copy buffer which backs up the noisy point removed after denoising.

Definition at line 113 of file denoiseCommand.h.

A shared pointer pointing to the selection object of the widget.

Definition at line 101 of file denoiseCommand.h.

float DenoiseCommand::threshold_ [private]

The standard deviation multiplier threshold.

Definition at line 110 of file denoiseCommand.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:50