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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkShowSegmentationAsSurface.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 MITK_SHOW_SEGMENTATION_AS_SURFACE_H_INCLUDET_WAD
18
#define MITK_SHOW_SEGMENTATION_AS_SURFACE_H_INCLUDET_WAD
19
20
#include "
mitkSegmentationSink.h
"
21
#include "
mitkSurface.h
"
22
#include "
mitkUIDGenerator.h
"
23
#include <
MitkSegmentationExports.h
>
24
25
namespace
mitk
26
{
27
class
MITKSEGMENTATION_EXPORT
ShowSegmentationAsSurface
:
public
SegmentationSink
28
{
29
public
:
30
mitkClassMacro
(
ShowSegmentationAsSurface
,
SegmentationSink
)
mitkAlgorithmNewMacro
(
ShowSegmentationAsSurface
);
31
32
protected
:
33
ShowSegmentationAsSurface
();
// use smart pointers
34
virtual
~
ShowSegmentationAsSurface
();
35
36
virtual
void
Initialize(
const
NonBlockingAlgorithm
*other = NULL)
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
UIDGenerator
m_UIDGeneratorSurfaces;
45
46
Surface::Pointer
m_Surface;
47
DataNode::Pointer
m_Node
;
48
49
bool
m_AddToTree;
50
};
51
52
}
// namespace
53
54
#endif
mitkAlgorithmNewMacro
#define mitkAlgorithmNewMacro(classname)
Definition:
mitkNonBlockingAlgorithm.h:43
mitk::UIDGenerator
Generated unique IDs.
Definition:
mitkUIDGenerator.h:44
mitk::NonBlockingAlgorithm
Definition:
mitkNonBlockingAlgorithm.h:83
mitkUIDGenerator.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitkSurface.h
m_Node
mitk::DataNode::Pointer m_Node
Definition:
QtFreeRender.cpp:71
mitk::ShowSegmentationAsSurface
Definition:
mitkShowSegmentationAsSurface.h:27
mitk::SegmentationSink
Definition:
mitkSegmentationSink.h:25
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:44
MitkSegmentationExports.h
itk::SmartPointer< Self >
mitkSegmentationSink.h
git
MITK
Modules
Segmentation
Algorithms
mitkShowSegmentationAsSurface.h
Generated on Fri Feb 3 2017 20:52:08 for Medical Imaging Interaction Toolkit by
1.8.9.1