Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef __mitkLabelSetImageToSurfaceThreadedFilter_H_
18
#define __mitkLabelSetImageToSurfaceThreadedFilter_H_
19
20
#include "
mitkSegmentationSink.h
"
21
#include "
mitkSurface.h
"
22
#include <
MitkMultilabelExports.h
>
23
24
namespace
mitk
25
{
26
class
MITKMULTILABEL_EXPORT
LabelSetImageToSurfaceThreadedFilter
:
public
SegmentationSink
27
{
28
public
:
29
mitkClassMacro
(
LabelSetImageToSurfaceThreadedFilter
,
SegmentationSink
)
30
mitkAlgorithmNewMacro
(
LabelSetImageToSurfaceThreadedFilter
);
31
32
protected
:
33
LabelSetImageToSurfaceThreadedFilter
();
// use smart pointers
34
virtual
~
LabelSetImageToSurfaceThreadedFilter
();
35
36
virtual
void
Initialize(
const
NonBlockingAlgorithm
*other =
nullptr
)
override
;
37
virtual
bool
ReadyToRun()
override
;
38
39
virtual
bool
ThreadedUpdateFunction()
override
;
// will be called from a thread after calling StartAlgorithm
40
41
virtual
void
ThreadedUpdateSuccessful()
override
;
// will be called from a thread after calling StartAlgorithm
42
43
private
:
44
int
m_RequestedLabel;
45
Surface::Pointer
m_Result;
46
};
47
48
}
// namespace
49
50
#endif // __mitkLabelSetImageToSurfaceThreadedFilter_H_
mitkAlgorithmNewMacro
#define mitkAlgorithmNewMacro(classname)
Definition:
mitkNonBlockingAlgorithm.h:43
MitkMultilabelExports.h
mitk::NonBlockingAlgorithm
Definition:
mitkNonBlockingAlgorithm.h:83
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
MITKMULTILABEL_EXPORT
#define MITKMULTILABEL_EXPORT
Definition:
MitkMultilabelExports.h:15
mitkSurface.h
mitk::SegmentationSink
Definition:
mitkSegmentationSink.h:25
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:44
mitk::LabelSetImageToSurfaceThreadedFilter
Definition:
mitkLabelSetImageToSurfaceThreadedFilter.h:26
itk::SmartPointer< Self >
mitkSegmentationSink.h
git
MITK
Modules
Multilabel
mitkLabelSetImageToSurfaceThreadedFilter.h
Generated on Fri Feb 3 2017 20:52:02 for Medical Imaging Interaction Toolkit by
1.8.9.1