ITK
6.0.0
Insight Toolkit
ITK
Modules
Core
Common
include
itkProgressTransformer.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright NumFOCUS
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* https://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef itkProgressTransformer_h
19
#define itkProgressTransformer_h
20
21
#include "
itkProcessObject.h
"
22
#include "
itkCommand.h
"
23
24
namespace
itk
25
{
41
class
ITKCommon_EXPORT
ProgressTransformer
42
{
43
public
:
44
ITK_DISALLOW_COPY_AND_MOVE(
ProgressTransformer
);
47
ProgressTransformer
(
float
start,
float
end,
ProcessObject
* targetFilter);
48
49
ProcessObject
*
50
GetProcessObject
()
51
{
52
return
m_Dummy.GetPointer();
53
}
54
55
void
56
UpdateProgress();
57
58
~
ProgressTransformer
();
59
60
private
:
61
float
m_Start
;
62
float
m_End
;
63
64
ProcessObject
*
m_TargetFilter
;
65
66
ProcessObject::Pointer
m_Dummy
;
67
68
using
CommandType
=
SimpleMemberCommand<ProgressTransformer>
;
69
CommandType::Pointer
m_ProgressCommand
;
70
71
unsigned
long
m_ProgressTag
;
72
};
73
}
// end namespace itk
74
#endif // itkProgressTransformer_h
itk::ProgressTransformer::m_Dummy
ProcessObject::Pointer m_Dummy
Definition:
itkProgressTransformer.h:66
itk::SimpleMemberCommand
A Command subclass that calls a pointer to a member function.
Definition:
itkCommand.h:232
itk::SmartPointer< Self >
itk::ProgressTransformer::m_ProgressCommand
CommandType::Pointer m_ProgressCommand
Definition:
itkProgressTransformer.h:69
itkProcessObject.h
itk::ProgressTransformer::m_ProgressTag
unsigned long m_ProgressTag
Definition:
itkProgressTransformer.h:71
itk::ProgressTransformer::m_TargetFilter
ProcessObject * m_TargetFilter
Definition:
itkProgressTransformer.h:64
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnatomicalOrientation.h:29
itk::ProgressTransformer::m_End
float m_End
Definition:
itkProgressTransformer.h:62
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition:
itkProcessObject.h:139
itk::ProgressTransformer
Transforms progress updates from [0%, 100%] to desired scale.
Definition:
itkProgressTransformer.h:41
itk::ProgressTransformer::m_Start
float m_Start
Definition:
itkProgressTransformer.h:61
itk::ProgressTransformer::GetProcessObject
ProcessObject * GetProcessObject()
Definition:
itkProgressTransformer.h:50
itkCommand.h
Generated on
unknown
for ITK by
1.8.16