Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MultiPickingWidget Class Reference

The multipicking action widget (a table with the pixel coordinates/3D indexes + some buttons to interact with it) More...

#include <MultiPickingWidget.h>

+ Inheritance diagram for MultiPickingWidget:

Public Slots

void addPixelinTable ()
 Slot called when the button add is clicked. More...
 
void manuallyModified (int, int)
 Slot called when the user manually changes a value in the table. More...
 
void openPixelList ()
 Slot called when open CSV file button is clicked. More...
 
void removePixelFromTable ()
 Slot called when remove button is clicked. More...
 
void removeSeedNumber (int, int)
 
void savePixelList ()
 Slot called when save as button is clicked. More...
 
void setPointTypeTable ()
 Slot called when the state of the radioButton pixel index changed. More...
 
void updateTable ()
 Update the tableWidget when it's necessary. More...
 

Public Member Functions

PickedPixelMapgetPickedPixelMap (camitk::ImageComponent *image)
 Give the picked pixel map (for other actions needing picking) More...
 
 MultiPickingWidget (QWidget *parent=0)
 basic constructor More...
 
void updateComponent (camitk::ImageComponent *image)
 Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points) More...
 
virtual ~MultiPickingWidget ()
 destructor More...
 

Protected Member Functions

void createItems (QList< QVector3D > *liste, QList< double > *valueList)
 allows to construct the table More...
 
void resizeGraphicalTable ()
 allows to resize the QtableWidget More...
 

Protected Attributes

camitk::ImageComponentimg
 the current Image Component More...
 
QMap< camitk::ImageComponent
*, PickedPixelMap * > 
map
 
PickedPixelMappPM
 the current PickedPixelMap More...
 
Ui::MultiPickingWidget ui
 

Detailed Description

The multipicking action widget (a table with the pixel coordinates/3D indexes + some buttons to interact with it)

Constructor & Destructor Documentation

MultiPickingWidget::MultiPickingWidget ( QWidget *  parent = 0)

basic constructor

virtual MultiPickingWidget::~MultiPickingWidget ( )
virtual

destructor

Member Function Documentation

void MultiPickingWidget::addPixelinTable ( )
slot

Slot called when the button add is clicked.

void MultiPickingWidget::createItems ( QList< QVector3D > *  liste,
QList< double > *  valueList 
)
protected

allows to construct the table

Parameters
listethe * list to display in the QtableWidget
valueListthe pointer to the values
PickedPixelMap* MultiPickingWidget::getPickedPixelMap ( camitk::ImageComponent image)

Give the picked pixel map (for other actions needing picking)

void MultiPickingWidget::manuallyModified ( int  ,
int   
)
slot

Slot called when the user manually changes a value in the table.

void MultiPickingWidget::openPixelList ( )
slot

Slot called when open CSV file button is clicked.

void MultiPickingWidget::removePixelFromTable ( )
slot

Slot called when remove button is clicked.

void MultiPickingWidget::removeSeedNumber ( int  ,
int   
)
slot
void MultiPickingWidget::resizeGraphicalTable ( )
protected

allows to resize the QtableWidget

void MultiPickingWidget::savePixelList ( )
slot

Slot called when save as button is clicked.

void MultiPickingWidget::setPointTypeTable ( )
slot

Slot called when the state of the radioButton pixel index changed.

void MultiPickingWidget::updateComponent ( camitk::ImageComponent image)

Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points)

void MultiPickingWidget::updateTable ( )
slot

Update the tableWidget when it's necessary.

Member Data Documentation

camitk::ImageComponent* MultiPickingWidget::img
protected

the current Image Component

QMap<camitk::ImageComponent *, PickedPixelMap *> MultiPickingWidget::map
protected
PickedPixelMap* MultiPickingWidget::pPM
protected

the current PickedPixelMap

Ui::MultiPickingWidget MultiPickingWidget::ui
protected

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