Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Predicate that evaluates if the given DataNode has a specific property. If the second parameter is nullptr, it will only be checked whether there is a property with the specified name. If a renderer is specified in the third parameter the renderer-specific property will be checked. If this parameter is nullptr or not specified, then the non-renderer-specific property will be checked. More...
#include <mitkNodePredicateProperty.h>
Public Types | |
typedef NodePredicateProperty | Self |
typedef NodePredicateBase | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
![]() | |
typedef NodePredicateBase | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
~NodePredicateProperty () override | |
Standard Destructor. More... | |
bool | CheckNode (const mitk::DataNode *node) const override |
Checks, if the nodes contains a property that is equal to m_ValidProperty. More... | |
![]() | |
~NodePredicateBase () override | |
Standard Destructor. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (const char *_arg) |
static Pointer | New (const char *_arga, mitk::BaseProperty *_argb) |
static Pointer | New (const char *_arga, mitk::BaseProperty *_argb, const mitk::BaseRenderer *_argc) |
![]() | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
NodePredicateProperty (const char *propertyName, mitk::BaseProperty *p=nullptr, const mitk::BaseRenderer *renderer=nullptr) | |
Constructor to check for a named property. More... | |
Protected Attributes | |
mitk::BaseProperty::Pointer | m_ValidProperty |
std::string | m_ValidPropertyName |
const mitk::BaseRenderer * | m_Renderer |
Predicate that evaluates if the given DataNode has a specific property. If the second parameter is nullptr, it will only be checked whether there is a property with the specified name. If a renderer is specified in the third parameter the renderer-specific property will be checked. If this parameter is nullptr or not specified, then the non-renderer-specific property will be checked.
Definition at line 31 of file mitkNodePredicateProperty.h.
typedef itk::SmartPointer<const Self> mitk::NodePredicateProperty::ConstPointer |
Definition at line 34 of file mitkNodePredicateProperty.h.
Definition at line 34 of file mitkNodePredicateProperty.h.
Definition at line 34 of file mitkNodePredicateProperty.h.
Definition at line 34 of file mitkNodePredicateProperty.h.
|
override |
Standard Destructor.
Definition at line 23 of file mitkNodePredicateProperty.cpp.
|
protected |
Constructor to check for a named property.
Definition at line 16 of file mitkNodePredicateProperty.cpp.
|
overridevirtual |
Checks, if the nodes contains a property that is equal to m_ValidProperty.
Implements mitk::NodePredicateBase.
Definition at line 27 of file mitkNodePredicateProperty.cpp.
References mitk::DataNode::GetProperty(), m_Renderer, m_ValidProperty, and m_ValidPropertyName.
|
inlineoverridevirtual |
Reimplemented from mitk::NodePredicateBase.
Definition at line 34 of file mitkNodePredicateProperty.h.
|
virtual |
Reimplemented from mitk::NodePredicateBase.
|
inlinestatic |
Definition at line 34 of file mitkNodePredicateProperty.h.
|
inlinestatic |
Definition at line 35 of file mitkNodePredicateProperty.h.
Referenced by mitk::SegTool2D::AddContourmarker(), QmitkDataManagerView::CreateQtPartControl(), mitk::LevelWindowManager::DataStorageRemovedNode(), QmitkBoundingObjectWidget::GetAllBoundingObjects(), mitk::GetImageStatisticsImagePredicate(), mitk::GetImageStatisticsMaskPredicate(), mitk::DataStorage::GetNamedDerivedNode(), mitk::DataStorage::GetNamedNode(), mitk::GetNoHelperObjectPredicate(), mitk::LevelWindowManager::GetRelevantNodes(), QmitkNodeDescriptorManager::Initialize(), mitk::RenderWindowViewDirectionController::InitializeViewByBoundingObjects(), mitk::RenderingManager::InitializeViewsByBoundingObjects(), QmitkSlicesInterpolator::On3DInterpolationActivated(), QmitkSlicesInterpolator::OnReinit3DInterpolation(), QmitkSurfaceBasedInterpolatorWidget::OnShowMarkers(), QmitkSlicesInterpolator::OnShowMarkers(), QmitkDataStorageFavoriteNodesInspector::QmitkDataStorageFavoriteNodesInspector(), QmitkMaskStampWidget::QmitkMaskStampWidget(), QmitkSurfaceStampWidget::QmitkSurfaceStampWidget(), QmitkXnatUploadFromDataStorageDialog::QmitkXnatUploadFromDataStorageDialog(), ReinitAction::Run(), QmitkExtFileSaveProjectAction::Run(), QmitkCloseProjectAction::Run(), QmitkToFCompositeFilterWidget::SetDataStorage(), TestDataStorage(), and QmitkToolRoiDataSelectionBox::UpdateComboBoxData().
|
inlinestatic |
Definition at line 36 of file mitkNodePredicateProperty.h.
|
inlinestatic |
Definition at line 37 of file mitkNodePredicateProperty.h.
|
protected |
Definition at line 57 of file mitkNodePredicateProperty.h.
Referenced by CheckNode().
|
protected |
Definition at line 54 of file mitkNodePredicateProperty.h.
Referenced by CheckNode().
|
protected |
Definition at line 56 of file mitkNodePredicateProperty.h.
Referenced by CheckNode().