Hi Sascha,
thanks for the clarification, that helped.
Miklos
On Mon, Jun 18, 2012 at 5:00 PM, Sascha Zelzer
wrote:
> Hi Miklos,
>
> To get things straight, it is not possible to "select a node" via the API.
> All you can do is to select a GUI representation of a node in some Qt
> widget (ther
Hi Miklos,
To get things straight, it is not possible to "select a node" via the
API. All you can do is to select a GUI representation of a node in some
Qt widget (there might exist several Qt widgets in the same application
allowing to "select the node").
Further, "GetCurrentSelection()" al
Hi Sascha,
I want to achieve that the GetCurrentSelection() function returns the node
that I want to select. If the selection event is fired and the
OnSelectionChanged function of the view is invoked automatically, that is a
plus, but I can invoke it myself.
I tried this now, but did not help:
Hi Miklos,
I guess what you want is to change the selection state of some widget in
your application (for example the selection in the datamanager).
You can either use the Qt API of the widget directly (if you have access
to it) or you could work with the selection provider of a particular
v
Hi Andreas,
now I tried, but did not help.
d->referenceNode->SetSelected(false);
d->surfaceNode->SetSelected(true);
FireNodeSelected(d->surfaceNode);
QList < itk::SmartPointer > currentSelection =
this->GetCurrentSelection();
MITK_INFO << "SurfaceExtractorView::createSurfaceNode() selec