Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkImageMaskGenerator.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 mitkImageMaskGenerator_h
14
#define mitkImageMaskGenerator_h
15
16
#include <
mitkImage.h
>
17
#include <
MitkImageStatisticsExports.h
>
18
#include <
mitkMaskGenerator.h
>
19
#include <itkObject.h>
20
#include <itkSmartPointer.h>
21
22
namespace
mitk
23
{
24
class
MITKIMAGESTATISTICS_EXPORT
ImageMaskGenerator
:
public
MaskGenerator
25
{
26
public
:
28
typedef
ImageMaskGenerator
Self
;
29
typedef
MaskGenerator
Superclass
;
30
typedef
itk::SmartPointer< Self >
Pointer
;
31
typedef
itk::SmartPointer< const Self >
ConstPointer
;
32
34
itkNewMacro(
Self
);
35
itkTypeMacro(
ImageMaskGenerator
,
MaskGenerator
);
36
37
unsigned
int
GetNumberOfMasks()
const override
;
38
39
itkSetConstObjectMacro(ImageMask,
Image
)
40
41
protected
:
42
ImageMaskGenerator
():
Superclass
(){
43
m_InternalMaskUpdateTime = 0;
44
}
45
46
Image::ConstPointer
DoGetMask(
unsigned
int
)
override
;
47
48
private
:
49
bool
IsUpdateRequired()
const
;
50
void
UpdateInternalMask();
51
52
mitk::Image::ConstPointer
m_ImageMask;
53
mitk::Image::ConstPointer
m_InternalMask;
54
unsigned
long
m_InternalMaskUpdateTime;
55
56
};
57
58
59
}
60
61
#endif
mitkImage.h
mitk::ImageMaskGenerator
Definition:
mitkImageMaskGenerator.h:24
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
itk::SmartPointer< Self >
mitk::ImageMaskGenerator::Superclass
MaskGenerator Superclass
Definition:
mitkImageMaskGenerator.h:29
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkMaskGenerator.h
MITKIMAGESTATISTICS_EXPORT
#define MITKIMAGESTATISTICS_EXPORT
Definition:
MitkImageStatisticsExports.h:15
mitk::ImageMaskGenerator::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkImageMaskGenerator.h:30
mitk::ImageMaskGenerator::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
mitkImageMaskGenerator.h:31
mitk::ImageMaskGenerator::Self
ImageMaskGenerator Self
Definition:
mitkImageMaskGenerator.h:28
MitkImageStatisticsExports.h
mitk::MaskGenerator
Base Class for all Mask Generators. Mask generators are classes that provide functionality for the cr...
Definition:
mitkMaskGenerator.h:30
mitk::ImageMaskGenerator::ImageMaskGenerator
ImageMaskGenerator()
Definition:
mitkImageMaskGenerator.h:42
src
MITK
Modules
ImageStatistics
mitkImageMaskGenerator.h
Generated on Mon Dec 23 2024 02:13:19 for Medical Imaging Interaction Toolkit by
1.8.17