Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkLabelSetImageToSurfaceThreadedFilter.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkLabelSetImageToSurfaceThreadedFilter_h
14 #define mitkLabelSetImageToSurfaceThreadedFilter_h
15 
16 #include "mitkSegmentationSink.h"
17 #include "mitkSurface.h"
18 #include <MitkMultilabelExports.h>
19 
20 namespace mitk
21 {
23  {
24  public:
27 
28  protected:
29  LabelSetImageToSurfaceThreadedFilter(); // use smart pointers
31 
32  void Initialize(const NonBlockingAlgorithm *other = nullptr) override;
33  bool ReadyToRun() override;
34 
35  bool ThreadedUpdateFunction() override; // will be called from a thread after calling StartAlgorithm
36 
37  void ThreadedUpdateSuccessful() override; // will be called from a thread after calling StartAlgorithm
38 
39  private:
40  int m_RequestedLabel;
41  Surface::Pointer m_Result;
42  };
43 
44 } // namespace
45 
46 #endif
MITKMULTILABEL_EXPORT
#define MITKMULTILABEL_EXPORT
Definition: MitkMultilabelExports.h:15
mitkSegmentationSink.h
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitkSurface.h
mitk::NonBlockingAlgorithm
Definition: mitkNonBlockingAlgorithm.h:78
mitkAlgorithmNewMacro
#define mitkAlgorithmNewMacro(classname)
Definition: mitkNonBlockingAlgorithm.h:38
mitk::SegmentationSink
Definition: mitkSegmentationSink.h:21
mitk::LabelSetImageToSurfaceThreadedFilter
Definition: mitkLabelSetImageToSurfaceThreadedFilter.h:22
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkMultilabelExports.h