NorMIT-nav  22.09
An IGT application
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 32 of file cxClipperWidget.h.

Constructor & Destructor Documentation

◆ ClipperWidget()

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

Definition at line 33 of file cxClipperWidget.cpp.

◆ ~ClipperWidget()

cx::ClipperWidget::~ClipperWidget ( )

Definition at line 46 of file cxClipperWidget.cpp.

Member Function Documentation

◆ connectToNewClipper()

void cx::ClipperWidget::connectToNewClipper ( )
protected

Definition at line 168 of file cxClipperWidget.cpp.

◆ createNewCheckboxesBasedOnData()

void cx::ClipperWidget::createNewCheckboxesBasedOnData ( )
protected

Definition at line 236 of file cxClipperWidget.cpp.

◆ dataSelectorClicked

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

Definition at line 306 of file cxClipperWidget.cpp.

◆ dataTableWidget()

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

Definition at line 147 of file cxClipperWidget.cpp.

◆ dataTypeSelectorClicked

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

Definition at line 332 of file cxClipperWidget.cpp.

◆ enable

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

Definition at line 116 of file cxClipperWidget.cpp.

◆ getDatas()

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

Definition at line 298 of file cxClipperWidget.cpp.

◆ getDataTypeRegExp()

QString cx::ClipperWidget::getDataTypeRegExp ( )
protected

Definition at line 282 of file cxClipperWidget.cpp.

◆ onToolChanged

void cx::ClipperWidget::onToolChanged ( )
protectedslot

Definition at line 189 of file cxClipperWidget.cpp.

◆ planeLayout()

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

Definition at line 123 of file cxClipperWidget.cpp.

◆ prePaintEvent()

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 337 of file cxClipperWidget.cpp.

◆ selectAllTableData

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

Definition at line 316 of file cxClipperWidget.cpp.

◆ setClipper()

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

Definition at line 207 of file cxClipperWidget.cpp.

◆ setupDataSelectorUI

void cx::ClipperWidget::setupDataSelectorUI ( )
protectedslot

Definition at line 259 of file cxClipperWidget.cpp.

◆ setupDataStructures()

void cx::ClipperWidget::setupDataStructures ( )
protected

Definition at line 59 of file cxClipperWidget.cpp.

◆ setupUI()

void cx::ClipperWidget::setupUI ( )
protected

Definition at line 98 of file cxClipperWidget.cpp.

◆ toolLayout()

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

Definition at line 136 of file cxClipperWidget.cpp.

◆ updateSelectAllCheckbox()

void cx::ClipperWidget::updateSelectAllCheckbox ( )
protected

Definition at line 219 of file cxClipperWidget.cpp.

Member Data Documentation

◆ mAttachedToTool

QCheckBox* cx::ClipperWidget::mAttachedToTool
protected

Definition at line 56 of file cxClipperWidget.h.

◆ mClipper

InteractiveClipperPtr cx::ClipperWidget::mClipper
protected

Definition at line 51 of file cxClipperWidget.h.

◆ mDataTableWidget

QTableWidget* cx::ClipperWidget::mDataTableWidget
protected

Definition at line 67 of file cxClipperWidget.h.

◆ mDataToClip

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

Definition at line 66 of file cxClipperWidget.h.

◆ mInitializedWithClipper

bool cx::ClipperWidget::mInitializedWithClipper
protected

Definition at line 69 of file cxClipperWidget.h.

◆ mInvertPlane

QCheckBox* cx::ClipperWidget::mInvertPlane
protected

Definition at line 58 of file cxClipperWidget.h.

◆ mLayout

QVBoxLayout* cx::ClipperWidget::mLayout
protected

Definition at line 54 of file cxClipperWidget.h.

◆ mSelectAllData

QCheckBox* cx::ClipperWidget::mSelectAllData
protected

Definition at line 57 of file cxClipperWidget.h.

◆ mServices

VisServicesPtr cx::ClipperWidget::mServices
protected

Definition at line 65 of file cxClipperWidget.h.

◆ mShowImages

QCheckBox* cx::ClipperWidget::mShowImages
protected

Definition at line 60 of file cxClipperWidget.h.

◆ mShowMeshes

QCheckBox* cx::ClipperWidget::mShowMeshes
protected

Definition at line 61 of file cxClipperWidget.h.

◆ mShowMetrics

QCheckBox* cx::ClipperWidget::mShowMetrics
protected

Definition at line 62 of file cxClipperWidget.h.

◆ mShowTrackedStreams

QCheckBox* cx::ClipperWidget::mShowTrackedStreams
protected

Definition at line 63 of file cxClipperWidget.h.

◆ mToolSelector

StringPropertySelectToolPtr cx::ClipperWidget::mToolSelector
protected

Definition at line 70 of file cxClipperWidget.h.

◆ mUseClipperCheckBox

QCheckBox* cx::ClipperWidget::mUseClipperCheckBox
protected

Definition at line 55 of file cxClipperWidget.h.


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