Public Member Functions | Private Member Functions | Private Attributes
Select1DTool Class Reference

#include <select1DTool.h>

Inheritance diagram for Select1DTool:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void draw () const
 This function does nothing.
void end (int x, int y, BitMask modifiers, BitMask buttons)
 Select or deselect the point under the mouse using GL's selection facility.
 Select1DTool (SelectionPtr selection_ptr, CloudPtr cloud_ptr)
 Constructor.
void start (int, int, BitMask, BitMask)
 Does nothing for 1D selection.
void update (int, int, BitMask, BitMask)
 Does nothing for 1D selection.
 ~Select1DTool ()
 Destructor.

Private Member Functions

 Select1DTool ()
 Default constructor - object is not default constructable.

Private Attributes

CloudPtr cloud_ptr_
 a shared pointer pointing to the cloud object
SelectionPtr selection_ptr_
 a shared pointer pointing to the selection object

Detailed Description

Definition at line 46 of file select1DTool.h.


Constructor & Destructor Documentation

Select1DTool::Select1DTool ( SelectionPtr  selection_ptr,
CloudPtr  cloud_ptr 
)

Constructor.

Parameters:
selection_ptra shared pointer pointing to the selection object.
cloud_ptra shared pointer pointing to the cloud object.

Definition at line 47 of file select1DTool.cpp.

Destructor.

Definition at line 55 of file select1DTool.h.

Select1DTool::Select1DTool ( ) [inline, private]

Default constructor - object is not default constructable.

Definition at line 99 of file select1DTool.h.


Member Function Documentation

void Select1DTool::draw ( ) const [inline, virtual]

This function does nothing.

Implements ToolInterface.

Definition at line 93 of file select1DTool.h.

void Select1DTool::end ( int  x,
int  y,
BitMask  modifiers,
BitMask  buttons 
) [virtual]

Select or deselect the point under the mouse using GL's selection facility.

If shift is pressed when the selection is made, the selected point is appended to the existing selection. If instead ctrl is pressed, the selected point will be removed from the existing selection. If neither shift nor ctrl is pressed when the selection is made then the selected point, if any, will replace any current selection. Note that the ctrl key may be evaluated as the command key in OSX.

Parameters:
xthe x value of the mouse screen coordinates.
ythe y value of the mouse screen coordinates.
modifiersthe key modifier. SHIFT adds selected points to the selection. CTRL removes points and if neither are pressed then a new selection is made.
buttonsThe state of the mouse buttons. All interaction with this tool requires the LEFT mouse button. All others are ignored.

Implements ToolInterface.

Definition at line 53 of file select1DTool.cpp.

void Select1DTool::start ( int  ,
int  ,
BitMask  ,
BitMask   
) [inline, virtual]

Does nothing for 1D selection.

See also:
end

Implements ToolInterface.

Definition at line 62 of file select1DTool.h.

void Select1DTool::update ( int  ,
int  ,
BitMask  ,
BitMask   
) [inline, virtual]

Does nothing for 1D selection.

See also:
end

Implements ToolInterface.

Definition at line 69 of file select1DTool.h.


Member Data Documentation

a shared pointer pointing to the cloud object

Definition at line 108 of file select1DTool.h.

a shared pointer pointing to the selection object

Definition at line 105 of file select1DTool.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:53