Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkBoundingObjectCutAndCast.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 mitkBoundingObjectCutAndCast_h
14
#define mitkBoundingObjectCutAndCast_h
15
16
#include "
mitkBoundingObjectCutter.h
"
17
#include "
mitkCommon.h
"
18
19
#include "mitkBoundingObjectCutter.txx"
20
21
namespace
mitk
22
{
23
//##Documentation
24
//## @brief Cuts an Boundingobject out of an mitk Image
25
//##
26
//## Input Parameters are a mitk::BoundingObject and optionally an mitk::Image
27
//## if no mitk::Image is provided, the resulting image will have m_InsideValue as pixelvalue on inside pixel,
28
//## otherwise it will have the pixelvalue of the input image.
29
//## Pixel on the outside of the BoundingObject will have a pixelvalue of m_OutsideValue
30
//## \todo What Image resolution/spacing should be used, if no input image is given?
31
//## @ingroup Process
32
template
<
typename
TPixel>
33
class
BoundingObjectCutAndCast
:
public
BoundingObjectCutter
34
{
35
public
:
36
mitkClassMacro
(
BoundingObjectCutAndCast
,
BoundingObjectCutter
);
37
itkFactorylessNewMacro(
Self
);
38
itkCloneMacro(
Self
);
39
40
typedef
TPixel
PixelType
;
41
42
protected
:
43
BoundingObjectCutAndCast
();
44
virtual
~BoundingObjectCutAndCast
();
45
46
virtual
const
std::type_info &
GetOutputPixelType
();
47
48
virtual
void
ComputeData
(
mitk::Image
*input3D,
int
boTimeStep);
49
};
50
}
// namespace mitk
51
52
#ifndef MITK_MANUAL_INSTANTIATION
53
#include "mitkBoundingObjectCutAndCast.txx"
// because it is a template
54
#endif
55
56
#endif
mitk::BoundingObjectCutAndCast::GetOutputPixelType
virtual const std::type_info & GetOutputPixelType()
mitk::BoundingObjectCutter
Cuts an Boundingobject out of an mitk Image.
Definition:
mitkBoundingObjectCutter.h:34
mitk::BoundingObjectCutAndCast::~BoundingObjectCutAndCast
virtual ~BoundingObjectCutAndCast()
mitk::BoundingObjectCutAndCast
Cuts an Boundingobject out of an mitk Image.
Definition:
mitkBoundingObjectCutAndCast.h:33
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
mitkBoundingObjectCutter.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::BoundingObjectCutAndCast::PixelType
TPixel PixelType
Definition:
mitkBoundingObjectCutAndCast.h:38
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition:
mitkBaseDataSource.h:71
mitkCommon.h
mitk::BoundingObjectCutAndCast::BoundingObjectCutAndCast
BoundingObjectCutAndCast()
mitk::BoundingObjectCutAndCast::mitkClassMacro
mitkClassMacro(BoundingObjectCutAndCast, BoundingObjectCutter)
mitk::BoundingObjectCutAndCast::ComputeData
virtual void ComputeData(mitk::Image *input3D, int boTimeStep)
src
MITK
Modules
AlgorithmsExt
include
mitkBoundingObjectCutAndCast.h
Generated on Sat Nov 23 2024 02:13:09 for Medical Imaging Interaction Toolkit by
1.8.17