33 : QWidget(parent), m_SelfCall(false), m_DisplayMode(ListDataIfAnyToolMatches), m_ToolGroupsForFiltering(
"default")
105 m_ToolManager->SetReferenceData(const_cast<mitk::DataNode *>(selectedNode));
116 for (mitk::DataStorage::SetOfObjects::const_iterator nodeIter = allImageNodes->begin();
117 nodeIter != allImageNodes->end();
150 std::vector<mitk::NodePredicateBase::ConstPointer> m_Predicates;
151 m_Predicates.clear();
156 for (mitk::ToolManager::ToolVectorTypeConst::const_iterator iter = allTools.begin(); iter != allTools.end(); ++iter)
163 if (completePredicate)
167 m_Predicates.push_back(
172 m_Predicates.push_back(
175 completePredicate = m_Predicates.back();
184 return completePredicate;
202 if (completePredicate.IsNotNull())
204 allObjects = dataStorage->
GetSubset(completePredicate);
208 allObjects = dataStorage->
GetAll();
213 for (mitk::DataStorage::SetOfObjects::const_iterator objectIter = allObjects->begin();
214 objectIter != allObjects->end();
218 resultVector.push_back(node);
Data management class that handles 'was created by' relations.
void SetVisibility(bool visible, const mitk::BaseRenderer *renderer=nullptr, const char *propertyKey="visible")
Convenience method for setting visibility properties (instances of BoolProperty)
Displays all or a subset (defined by a predicate) of nodes of the Data Storage.
itk::SmartPointer< const Self > ConstPointer
virtual SetOfObjects::ConstPointer GetAll() const =0
returns a set of all data objects that are stored in the data storage
SetOfObjects::ConstPointer GetSubset(const NodePredicateBase *condition) const
returns a set of data objects that meet the given condition(s)
static RenderingManager * GetInstance()
void SetPredicate(const mitk::NodePredicateBase *_Predicate)
Set the predicate for this ComboBox. (QmitkDataStorageComboBox is now owner of the predicate) ...
void RequestUpdateAll(RequestType type=REQUEST_UPDATE_ALL)
Class for nodes of the DataTree.
void SetDataStorage(mitk::DataStorage *dataStorage)
Set the DataStorage this ComboBox should listen to.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.