qCC  version 2.5.4 (Qt) - 19 Apr. 2014
 All Classes Functions Variables Typedefs Enumerations
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
ccClippingBoxTool Class Reference

Dialog for managing a clipping box. More...

#include <ccClippingBoxTool.h>

Inheritance diagram for ccClippingBoxTool:
Inheritance graph
[legend]
Collaboration diagram for ccClippingBoxTool:
Collaboration graph
[legend]

Public Slots

void toggleInteractors (bool)
 

Public Member Functions

 ccClippingBoxTool (QWidget *parent)
 Default constructor.
 
virtual ~ccClippingBoxTool ()
 Default destructor.
 
virtual bool linkWith (ccGLWindow *win)
 Links the overlay dialog with a MDI window. More...
 
virtual bool start ()
 Starts process. More...
 
virtual void stop (bool state)
 Stops process/dialog. More...
 
const ccClipBox * box () const
 Returns box.
 
bool setAssociatedEntity (ccHObject *anObject)
 Sets the 'clipped' entity. More...
 
- Public Member Functions inherited from ccOverlayDialog
 ccOverlayDialog (QWidget *parent=0)
 Default constructor.
 
virtual ~ccOverlayDialog ()
 Destructor.
 
virtual void reject ()
 
void addOverridenShortcut (Qt::Key key)
 Adds a keyboard shortcut (single key) that will be overridden from the associated window. More...
 

Protected Slots

void editBox ()
 
void reset ()
 
void closeDialog ()
 
void extractContour ()
 
void removeLastContour ()
 
void exportCloud ()
 
void exportMultCloud ()
 
void onBoxModified (const ccBBox *box)
 
void thicknessChanged (double)
 
void shiftXMinus ()
 
void shiftXPlus ()
 
void shiftYMinus ()
 
void shiftYPlus ()
 
void shiftZMinus ()
 
void shiftZPlus ()
 
void setFrontView ()
 
void setBottomView ()
 
void setTopView ()
 
void setBackView ()
 
void setLeftView ()
 
void setRightView ()
 
- Protected Slots inherited from ccOverlayDialog
virtual void onLinkedWindowDeletion (QObject *object=0)
 Slot called when the linked window is deleted (calls 'onClose')
 

Protected Member Functions

void extractSlicesAndContours (bool extractSlices, bool extractContours, bool singleContourMode)
 Extracts slices and/or contours.
 
void shiftBox (unsigned char dim, bool minus)
 Shift box.
 
void setView (CC_VIEW_ORIENTATION orientation)
 Sets predefined view.
 
- Protected Member Functions inherited from ccOverlayDialog
bool eventFilter (QObject *obj, QEvent *e)
 

Protected Attributes

ccClipBox * m_clipBox
 Clipping box.
 
- Protected Attributes inherited from ccOverlayDialog
ccGLWindow * m_associatedWin
 Associated (MDI) window.
 
bool m_processing
 Running/processing state.
 
QList< int > m_overriddenKeys
 Overridden keys.
 

Additional Inherited Members

- Signals inherited from ccOverlayDialog
void processFinished (bool accepted)
 Signal emitted when process is finished. More...
 
void shortcutTriggered (int key)
 Signal emitted when an overridden key shortcut is pressed. More...
 

Detailed Description

Dialog for managing a clipping box.

Member Function Documentation

bool ccClippingBoxTool::linkWith ( ccGLWindow *  win)
virtual

Links the overlay dialog with a MDI window.

Warning: link can't be modified while dialog is displayed/process is running!

Returns
success

Reimplemented from ccOverlayDialog.

bool ccClippingBoxTool::setAssociatedEntity ( ccHObject *  anObject)

Sets the 'clipped' entity.

Returns
success, if the entitiy is elligible for clipping
bool ccClippingBoxTool::start ( )
virtual

Starts process.

Returns
success

Reimplemented from ccOverlayDialog.

void ccClippingBoxTool::stop ( bool  accepted)
virtual

Stops process/dialog.

Automatically emits the 'processFinished' signal (with input state as argument).

Parameters
acceptedprocess/dialog result

Reimplemented from ccOverlayDialog.


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