![]() |
Computer Assited Medical Intervention Tool Kit
|
The corresponding widget (a table with the pixel coordinates/3D indexes + some buttons to interact with it) More...
#include <MultiPickingWidget.h>
Public Slots | |
void | addPixelinTable () |
Slot called when the button add is clicked. | |
void | manuallyModified (int, int) |
Slot called when the user manually changes a value in the table. | |
void | openPixelList () |
Slot called when open CSV file button is clicked. | |
void | removePixelFromTable () |
Slot called when remove button is clicked. | |
void | removeSeedNumber (int, int) |
void | savePixelList () |
Slot called when save as button is clicked. | |
void | setPointTypeTable () |
Slot called when the state of the radioButton pixel index changed. | |
void | updateTable () |
Update the tableWidget when it's necessary. |
Public Member Functions | |
PickedPixelMap * | getPickedPixelMap (ImageComponent *image) |
Give the picked pixel map (for other actions needing picking) | |
MultiPickingWidget (QWidget *parent=0) | |
basic constructor | |
void | updateComponent (ImageComponent *image) |
Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points) | |
virtual | ~MultiPickingWidget () |
destructor |
Protected Member Functions | |
void | createItems (QList< QVector3D > *liste, QList< double > *valueList) |
allows to construct the table | |
void | resizeGraphicalTable () |
allows to resize the QtableWidget |
Protected Attributes | |
ImageComponent * | img |
the current Image Component | |
QMap< ImageComponent *, PickedPixelMap * > | map |
PickedPixelMap * | pPM |
the current PickedPixelMap | |
Ui::MultiPickingWidget | ui |
The corresponding widget (a table with the pixel coordinates/3D indexes + some buttons to interact with it)
MultiPickingWidget::MultiPickingWidget | ( | QWidget * | parent = 0 | ) |
|
virtual |
destructor
|
slot |
Slot called when the button add is clicked.
References PickedPixelMap::addPixel(), pPM, and updateTable().
|
protected |
allows to construct the table
liste | the * list to display in the QtableWidget |
References EDIT_TABLE_FILE, EDIT_TABLE_INDEX, REMOVE_TABLE_FILE, REMOVE_TABLE_INDEX, ui, VALUE_TABLE_INDEX, VIEW_TABLE_FILE, VIEW_TABLE_INDEX, X_TABLE_INDEX, Y_TABLE_INDEX, and Z_TABLE_INDEX.
Referenced by updateTable().
PickedPixelMap * MultiPickingWidget::getPickedPixelMap | ( | ImageComponent * | image | ) |
Give the picked pixel map (for other actions needing picking)
References map.
Referenced by RegionGrowingWidget::getSeedPoints().
|
slot |
Slot called when the user manually changes a value in the table.
References PickedPixelMap::changePixelIndexList(), PickedPixelMap::changePixelIndexListFromRealCoordinates(), camitk::ImageComponent::getImageData(), camitk::Component::getName(), img, pPM, ui, updateTable(), VALUE_TABLE_INDEX, X_TABLE_INDEX, Y_TABLE_INDEX, and Z_TABLE_INDEX.
|
slot |
Slot called when open CSV file button is clicked.
References PickedPixelMap::openPixelList(), pPM, and updateTable().
|
slot |
Slot called when remove button is clicked.
References pPM, PickedPixelMap::removePixel(), ui, and updateTable().
|
slot |
|
protected |
|
slot |
Slot called when save as button is clicked.
References camitk::ImageComponent::getImageName(), img, pPM, and PickedPixelMap::savePixelList().
|
slot |
Slot called when the state of the radioButton pixel index changed.
References updateTable().
void MultiPickingWidget::updateComponent | ( | ImageComponent * | image | ) |
Update the widget with the correct PickedPixelMap (ImageComponent + Qlist of the selected points)
References img, map, pPM, and updateTable().
Referenced by MultiPicking::getWidget(), and RegionGrowingWidget::updateComponent().
|
slot |
Update the tableWidget when it's necessary.
References createItems(), PickedPixelMap::getCoordIndexList(), PickedPixelMap::getPixelIndexList(), PickedPixelMap::getPixelValueList(), HEADER_TABLE, NB_TABLE_COLUMNS, pPM, resizeGraphicalTable(), and ui.
Referenced by addPixelinTable(), manuallyModified(), openPixelList(), removePixelFromTable(), removeSeedNumber(), setPointTypeTable(), and updateComponent().
|
protected |
the current Image Component
Referenced by manuallyModified(), MultiPickingWidget(), removeSeedNumber(), savePixelList(), and updateComponent().
|
protected |
Referenced by getPickedPixelMap(), and updateComponent().
|
protected |
the current PickedPixelMap
Referenced by addPixelinTable(), manuallyModified(), MultiPickingWidget(), openPixelList(), removePixelFromTable(), removeSeedNumber(), savePixelList(), updateComponent(), and updateTable().
|
protected |