ITK  6.0.0
Insight Toolkit
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
24namespace itk
25{
41class ITKCommon_EXPORT ProgressTransformer
42{
43public:
44 ITK_DISALLOW_COPY_AND_MOVE(ProgressTransformer);
47 ProgressTransformer(float start, float end, ProcessObject * targetFilter);
48
51 {
52 return m_Dummy.GetPointer();
53 }
54
55 void
57
59
60private:
61 float m_Start;
62 float m_End;
63
65
67
70
71 unsigned long m_ProgressTag;
72};
73} // end namespace itk
74#endif // itkProgressTransformer_h
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Transforms progress updates from [0%, 100%] to desired scale.
ProcessObject * GetProcessObject()
ProcessObject::Pointer m_Dummy
ProgressTransformer(float start, float end, ProcessObject *targetFilter)
CommandType::Pointer m_ProgressCommand
A Command subclass that calls a pointer to a member function.
Definition: itkCommand.h:233
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....