KWStyle - itkIterationReporter.cxx
 
Matrix View
Description

1 /*=========================================================================
2
3   Program:   Insight Segmentation & Registration Toolkit
4   Module:    $RCSfile: itkIterationReporter.cxx.html,v $
5   Language:  C++
6   Date:      $Date: 2006/01/17 19:15:40 $
7   Version:   $Revision: 1.4 $
8
9   Copyright (c) Insight Software Consortium. All rights reserved.
10   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11
12      This software is distributed WITHOUT ANY WARRANTY; without even 
13      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14      PURPOSE.  See the above copyright notices for more information.
15
16 DEF =========================================================================*/
17 #include "itkIterationReporter.h"
18 #include "itkNumericTraits.h"
19
20 namespace itk
21 {
22
23 //----------------------------------------------------------------------------
24 IterationReporter::IterationReporter(ProcessObject* filter, int threadId,
25                                      unsigned long stepsPerUpdate):
26 IND **m_Filter(filter),
27 IND **m_ThreadId(threadId),
28 IND **m_StepsPerUpdate( stepsPerUpdate )
29 {
30   // Only thread 0 should update progress.
31   m_StepsBeforeUpdate = m_StepsPerUpdate;
32 }
33
34   
35
36 // end namespace itk
37

Generated by KWStyle 1.0b on Tuesday January,17 at 02:14:17PM
© Kitware Inc.