23 : QWidget(parent), m_SelfCall(false), m_lastSelection(
mitk::DataNode::
New()), m_lastSelectedName(tr(
"none"))
25 QBoxLayout *mainLayout =
new QVBoxLayout(
this);
27 QLabel *label =
new QLabel(
"region of interest:",
this);
30 mainLayout->addWidget(label);
46 mainLayout->deleteLater();
55 m_ToolManager->GetDataStorage()->RemoveNodeEvent.RemoveListener(
117 if (name.compare(tr(
"")) == 0)
124 if (name.compare(tr(
"none")) == 0)
126 else if (name.compare(tr(
"bounding objects")) == 0)
133 selection =
m_ToolManager->GetDataStorage()->GetNamedNode(name.toLocal8Bit().data());
172 m_ToolManager->GetDataStorage()->GetSubset(segmentationPredicate);
175 for (mitk::DataStorage::SetOfObjects::const_iterator it = allSegmentations->begin(); it != allSegmentations->end();
180 QString name = QString::fromLocal8Bit(node->GetName().c_str());
183 if (names.length() > 0)
void AddListener(const AbstractDelegate &delegate) const
Data management class that handles 'was created by' relations.
DataCollection - Class to facilitate loading/accessing structured data.
itk::SmartPointer< const Self > ConstPointer
static Pointer New(const mitk::NodePredicateBase *_arg)
static Pointer New(const char *_arg)
static Pointer New(const char *_arg)
DataStorageEvent RemoveNodeEvent
RemoveEvent is emitted directly before a node is removed from the DataStorage.
Class for nodes of the DataTree.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.