NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::PointSamplingWidget Class Reference

#include <cxPointSamplingWidget.h>

Inheritance diagram for cx::PointSamplingWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Public Member Functions

 PointSamplingWidget (QWidget *parent)
 
virtual ~PointSamplingWidget ()
 
- 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 Types

typedef std::vector< LandmarkLandmarkVector
 

Protected Slots

void updateSlot ()
 
void itemSelectionChanged ()
 
void addButtonClickedSlot ()
 
void editButtonClickedSlot ()
 
void removeButtonClickedSlot ()
 
void gotoButtonClickedSlot ()
 
void loadReferencePointsSlot ()
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 updates internal info before showing the widget More...
 
virtual void hideEvent (QHideEvent *event)
 
void setManualTool (const Vector3D &p_r)
 
Vector3D getSample () const
 
void enablebuttons ()
 
void addPoint (Vector3D point)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Protected Attributes

QVBoxLayout * mVerticalLayout
 vertical layout is used More...
 
QTableWidget * mTable
 the table widget presenting the landmarks More...
 
LandmarkVector mSamples
 
QString mActiveLandmark
 uid of surrently selected landmark. More...
 
QPushButton * mAddButton
 the Add Landmark button More...
 
QPushButton * mEditButton
 the Edit Landmark button More...
 
QPushButton * mRemoveButton
 the Remove Landmark button More...
 
QPushButton * mLoadReferencePointsButton
 button for loading a reference tools reference points More...
 

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

Early version of metric/label system. Replaced by MetricWidget.

See Also
MetricWidget
Date
2010.05.05
Author
Christian Askeland, SINTEF

Definition at line 66 of file cxPointSamplingWidget.h.

Member Typedef Documentation

typedef std::vector<Landmark> cx::PointSamplingWidget::LandmarkVector
protected

Definition at line 96 of file cxPointSamplingWidget.h.

Constructor & Destructor Documentation

cx::PointSamplingWidget::PointSamplingWidget ( QWidget *  parent)

Definition at line 56 of file cxPointSamplingWidget.cpp.

cx::PointSamplingWidget::~PointSamplingWidget ( )
virtual

Definition at line 94 of file cxPointSamplingWidget.cpp.

Member Function Documentation

void cx::PointSamplingWidget::addButtonClickedSlot ( )
protectedslot

Definition at line 241 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::addPoint ( Vector3D  point)
protected

Definition at line 198 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::editButtonClickedSlot ( )
protectedslot

Definition at line 254 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::enablebuttons ( )
protected

Definition at line 190 of file cxPointSamplingWidget.cpp.

Vector3D cx::PointSamplingWidget::getSample ( ) const
protected

Definition at line 246 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::gotoButtonClickedSlot ( )
protectedslot

Definition at line 280 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::hideEvent ( QHideEvent *  event)
protectedvirtual

Definition at line 128 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::itemSelectionChanged ( )
protectedslot

Definition at line 97 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::loadReferencePointsSlot ( )
protectedslot

Definition at line 285 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::removeButtonClickedSlot ( )
protectedslot

Definition at line 265 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::setManualTool ( const Vector3D p_r)
protected

Definition at line 214 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::showEvent ( QShowEvent *  event)
protectedvirtual

updates internal info before showing the widget

Reimplemented from cx::BaseWidget.

Definition at line 116 of file cxPointSamplingWidget.cpp.

void cx::PointSamplingWidget::updateSlot ( )
protectedslot

Definition at line 133 of file cxPointSamplingWidget.cpp.

Member Data Documentation

QString cx::PointSamplingWidget::mActiveLandmark
protected

uid of surrently selected landmark.

Definition at line 98 of file cxPointSamplingWidget.h.

QPushButton* cx::PointSamplingWidget::mAddButton
protected

the Add Landmark button

Definition at line 100 of file cxPointSamplingWidget.h.

QPushButton* cx::PointSamplingWidget::mEditButton
protected

the Edit Landmark button

Definition at line 101 of file cxPointSamplingWidget.h.

QPushButton* cx::PointSamplingWidget::mLoadReferencePointsButton
protected

button for loading a reference tools reference points

Definition at line 103 of file cxPointSamplingWidget.h.

QPushButton* cx::PointSamplingWidget::mRemoveButton
protected

the Remove Landmark button

Definition at line 102 of file cxPointSamplingWidget.h.

LandmarkVector cx::PointSamplingWidget::mSamples
protected

Definition at line 97 of file cxPointSamplingWidget.h.

QTableWidget* cx::PointSamplingWidget::mTable
protected

the table widget presenting the landmarks

Definition at line 95 of file cxPointSamplingWidget.h.

QVBoxLayout* cx::PointSamplingWidget::mVerticalLayout
protected

vertical layout is used

Definition at line 94 of file cxPointSamplingWidget.h.


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