#include <VTKViewer_MarkerWidget.h>

Public Member Functions | |
| VTKViewer_MarkerWidget (QWidget *) | |
| virtual | ~VTKViewer_MarkerWidget () |
| void | setCustomMarkerMap (VTK::MarkerMap) |
| VTK::MarkerMap | getCustomMarkerMap () |
| void | setStandardMarker (VTK::MarkerType, VTK::MarkerScale) |
| void | setCustomMarker (int) |
| VTK::MarkerType | getMarkerType () const |
| VTK::MarkerScale | getStandardMarkerScale () const |
| int | getCustomMarkerID () const |
| void | addExtraStdMarker (VTK::MarkerType, const QPixmap &) |
Private Slots | |
| void | onStdMarkerChanged (int) |
| void | onBrowse () |
Private Member Functions | |
| void | init () |
| void | addTexture (int, bool=false) |
| QPixmap | markerFromData (const VTK::MarkerData &) |
Private Attributes | |
| QButtonGroup * | myTypeGroup |
| QStackedWidget * | myWGStack |
| QtxComboBox * | myStdTypeCombo |
| QtxComboBox * | myStdScaleCombo |
| QtxComboBox * | myCustomTypeCombo |
| VTK::MarkerMap | myCustomMarkerMap |
| QList< VTK::MarkerType > | myExtraMarkerList |
Class : VTKViewer_MarkerWidget Description : Widget for specifying point marker parameters
| VTKViewer_MarkerWidget::VTKViewer_MarkerWidget | ( | QWidget * | theParent | ) |
Class : VTKViewer_MarkerWidget Description : Widget for specifying point marker parameters
Constructor
References init(), MARGIN, myCustomTypeCombo, myStdScaleCombo, myStdTypeCombo, myTypeGroup, myWGStack, onBrowse(), onStdMarkerChanged(), and SPACING.
| VTKViewer_MarkerWidget::~VTKViewer_MarkerWidget | ( | ) | [virtual] |
Destructor
| void VTKViewer_MarkerWidget::setCustomMarkerMap | ( | VTK::MarkerMap | theMarkerMap | ) |
References markerFromData(), myCustomMarkerMap, myCustomTypeCombo, and QtxComboBox.setId().
| VTK::MarkerMap VTKViewer_MarkerWidget::getCustomMarkerMap | ( | ) |
References myCustomMarkerMap.
| void VTKViewer_MarkerWidget::setStandardMarker | ( | VTK::MarkerType | theMarkerType, |
| VTK::MarkerScale | theMarkerScale | ||
| ) |
References VTK.MS_10, VTK.MS_70, VTK.MT_NONE, VTK.MT_USER, myExtraMarkerList, myStdScaleCombo, myStdTypeCombo, myTypeGroup, myWGStack, and QtxComboBox.setCurrentId().
| void VTKViewer_MarkerWidget::setCustomMarker | ( | int | theId | ) |
References addTexture(), myCustomTypeCombo, myTypeGroup, myWGStack, and QtxComboBox.setCurrentId().
| VTK::MarkerType VTKViewer_MarkerWidget::getMarkerType | ( | ) | const |
References QtxComboBox.currentId(), VTK.MT_USER, myStdTypeCombo, and myWGStack.
| VTK::MarkerScale VTKViewer_MarkerWidget::getStandardMarkerScale | ( | ) | const |
References QtxComboBox.currentId(), VTK.MS_NONE, myStdScaleCombo, and myWGStack.
| int VTKViewer_MarkerWidget::getCustomMarkerID | ( | ) | const |
References QtxComboBox.currentId(), myCustomTypeCombo, and myWGStack.
| void VTKViewer_MarkerWidget::addExtraStdMarker | ( | VTK::MarkerType | theMarkerType, |
| const QPixmap & | thePixmap | ||
| ) |
References myExtraMarkerList, myStdTypeCombo, and QtxComboBox.setId().
| void VTKViewer_MarkerWidget::init | ( | ) | [private] |
| void VTKViewer_MarkerWidget::addTexture | ( | int | id, |
| bool | select = false |
||
| ) | [private] |
| QPixmap VTKViewer_MarkerWidget::markerFromData | ( | const VTK::MarkerData & | theMarkerData | ) | [private] |
References VTK.ConvertToQImage(), and VTK.MakeVTKImage().
| void VTKViewer_MarkerWidget::onStdMarkerChanged | ( | int | index | ) | [private, slot] |
References QtxComboBox.id(), myExtraMarkerList, myStdScaleCombo, and myStdTypeCombo.
| void VTKViewer_MarkerWidget::onBrowse | ( | ) | [private, slot] |
QButtonGroup* VTKViewer_MarkerWidget.myTypeGroup [private] |
QStackedWidget* VTKViewer_MarkerWidget.myWGStack [private] |
QtxComboBox* VTKViewer_MarkerWidget.myStdTypeCombo [private] |