| 22 | const std::string mitk::Annotation::US_PROPKEY_AR_ID = US_INTERFACE_NAME + ".arId"; |
| 23 | |
| 24 | mitk::Annotation::Annotation() : m_PropertyListModifiedObserverTag(0) |
| 25 | { |
| 26 | m_PropertyList = mitk::PropertyList::New(); |
| 27 | itk::MemberCommand<mitk::Annotation>::Pointer _PropertyListModifiedCommand = |
| 28 | itk::MemberCommand<mitk::Annotation>::New(); |
| 29 | _PropertyListModifiedCommand->SetCallbackFunction(this, &mitk::Annotation::PropertyListModified); |
| 30 | m_PropertyListModifiedObserverTag = m_PropertyList->AddObserver(itk::ModifiedEvent(), _PropertyListModifiedCommand); |
| 31 | this->SetName(this->GetNameOfClass()); |
| 32 | this->SetVisibility(true); |
| 33 | this->SetOpacity(1.0); |
| 34 | } |
| 35 | |
| 36 | void mitk::Annotation::PropertyListModified(const itk::Object * /*caller*/, const itk::EventObject &) |
| 37 | { |
nothing calls this directly
no test coverage detected