Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ClipperWidget Class Reference

#include <cxClipperWidget.h>

Inheritance diagram for cx::ClipperWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 ClipperWidget (VisServicesPtr services, QWidget *parent)
 
 ~ClipperWidget ()
 
void setClipper (InteractiveClipperPtr clipper)
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Slots

void setupDataSelectorUI ()
 
void enable (bool checked)
 
void dataTypeSelectorClicked (bool checked)
 
void selectAllTableData (bool checked)
 
void dataSelectorClicked (QCheckBox *checkBox, DataPtr data)
 
void onToolChanged ()
 

Protected Member Functions

void setupUI ()
 
virtual void prePaintEvent ()
 
std::map< QString, DataPtrgetDatas ()
 
void setupDataStructures ()
 
void connectToNewClipper ()
 
QGroupBox * dataTableWidget ()
 
QLayout * planeLayout ()
 
QLayout * toolLayout ()
 
QString getDataTypeRegExp ()
 
void updateSelectAllCheckbox ()
 
void createNewCheckboxesBasedOnData ()
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

InteractiveClipperPtr mClipper
 
QVBoxLayout * mLayout
 
QCheckBox * mUseClipperCheckBox
 
QCheckBox * mAttachedToTool
 
QCheckBox * mSelectAllData
 
QCheckBox * mInvertPlane
 
QCheckBox * mShowImages
 
QCheckBox * mShowMeshes
 
QCheckBox * mShowMetrics
 
QCheckBox * mShowTrackedStreams
 
VisServicesPtr mServices
 
std::map< QString, DataPtrmDataToClip
 
QTableWidget * mDataTableWidget
 
bool mInitializedWithClipper
 
StringPropertySelectToolPtr mToolSelector
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 

Detailed Description

Definition at line 53 of file cxClipperWidget.h.

Constructor & Destructor Documentation

cx::ClipperWidget::ClipperWidget ( VisServicesPtr  services,
QWidget *  parent 
)

Definition at line 53 of file cxClipperWidget.cpp.

cx::ClipperWidget::~ClipperWidget ( )

Definition at line 66 of file cxClipperWidget.cpp.

Member Function Documentation

void cx::ClipperWidget::connectToNewClipper ( )
protected

Definition at line 188 of file cxClipperWidget.cpp.

void cx::ClipperWidget::createNewCheckboxesBasedOnData ( )
protected

Definition at line 256 of file cxClipperWidget.cpp.

void cx::ClipperWidget::dataSelectorClicked ( QCheckBox *  checkBox,
DataPtr  data 
)
protectedslot

Definition at line 326 of file cxClipperWidget.cpp.

QGroupBox * cx::ClipperWidget::dataTableWidget ( )
protected

Definition at line 167 of file cxClipperWidget.cpp.

void cx::ClipperWidget::dataTypeSelectorClicked ( bool  checked)
protectedslot

Definition at line 352 of file cxClipperWidget.cpp.

void cx::ClipperWidget::enable ( bool  checked)
protectedslot

Definition at line 136 of file cxClipperWidget.cpp.

std::map< QString, DataPtr > cx::ClipperWidget::getDatas ( )
protected

Definition at line 318 of file cxClipperWidget.cpp.

QString cx::ClipperWidget::getDataTypeRegExp ( )
protected

Definition at line 302 of file cxClipperWidget.cpp.

void cx::ClipperWidget::onToolChanged ( )
protectedslot

Definition at line 209 of file cxClipperWidget.cpp.

QLayout * cx::ClipperWidget::planeLayout ( )
protected

Definition at line 143 of file cxClipperWidget.cpp.

void cx::ClipperWidget::prePaintEvent ( )
protectedvirtual

Implement to perform expensive operations that need only be called once per paint. Use setModified() to trigger this method.

Reimplemented from cx::OptimizedUpdateWidget.

Definition at line 357 of file cxClipperWidget.cpp.

void cx::ClipperWidget::selectAllTableData ( bool  checked)
protectedslot

Definition at line 336 of file cxClipperWidget.cpp.

void cx::ClipperWidget::setClipper ( InteractiveClipperPtr  clipper)

Definition at line 227 of file cxClipperWidget.cpp.

void cx::ClipperWidget::setupDataSelectorUI ( )
protectedslot

Definition at line 279 of file cxClipperWidget.cpp.

void cx::ClipperWidget::setupDataStructures ( )
protected

Definition at line 79 of file cxClipperWidget.cpp.

void cx::ClipperWidget::setupUI ( )
protected

Definition at line 118 of file cxClipperWidget.cpp.

QLayout * cx::ClipperWidget::toolLayout ( )
protected

Definition at line 156 of file cxClipperWidget.cpp.

void cx::ClipperWidget::updateSelectAllCheckbox ( )
protected

Definition at line 239 of file cxClipperWidget.cpp.

Member Data Documentation

QCheckBox* cx::ClipperWidget::mAttachedToTool
protected

Definition at line 77 of file cxClipperWidget.h.

InteractiveClipperPtr cx::ClipperWidget::mClipper
protected

Definition at line 72 of file cxClipperWidget.h.

QTableWidget* cx::ClipperWidget::mDataTableWidget
protected

Definition at line 88 of file cxClipperWidget.h.

std::map<QString, DataPtr> cx::ClipperWidget::mDataToClip
protected

Definition at line 87 of file cxClipperWidget.h.

bool cx::ClipperWidget::mInitializedWithClipper
protected

Definition at line 90 of file cxClipperWidget.h.

QCheckBox* cx::ClipperWidget::mInvertPlane
protected

Definition at line 79 of file cxClipperWidget.h.

QVBoxLayout* cx::ClipperWidget::mLayout
protected

Definition at line 75 of file cxClipperWidget.h.

QCheckBox* cx::ClipperWidget::mSelectAllData
protected

Definition at line 78 of file cxClipperWidget.h.

VisServicesPtr cx::ClipperWidget::mServices
protected

Definition at line 86 of file cxClipperWidget.h.

QCheckBox* cx::ClipperWidget::mShowImages
protected

Definition at line 81 of file cxClipperWidget.h.

QCheckBox* cx::ClipperWidget::mShowMeshes
protected

Definition at line 82 of file cxClipperWidget.h.

QCheckBox* cx::ClipperWidget::mShowMetrics
protected

Definition at line 83 of file cxClipperWidget.h.

QCheckBox* cx::ClipperWidget::mShowTrackedStreams
protected

Definition at line 84 of file cxClipperWidget.h.

StringPropertySelectToolPtr cx::ClipperWidget::mToolSelector
protected

Definition at line 91 of file cxClipperWidget.h.

QCheckBox* cx::ClipperWidget::mUseClipperCheckBox
protected

Definition at line 76 of file cxClipperWidget.h.


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