Orfeo Toolbox  3.16
itkLightProcessObject.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkLightProcessObject.h,v $
5  Language: C++
6  Date: $Date: 2009-02-05 19:05:00 $
7  Version: $Revision: 1.13 $
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 =========================================================================*/
17 #ifndef __itkLightProcessObject_h
18 #define __itkLightProcessObject_h
19 
20 #include "itkObject.h"
21 #include "itkObjectFactory.h"
22 
23 namespace itk
24 {
25 
72 {
73 public:
76  typedef Object Superclass;
79 
81  itkNewMacro(Self);
82 
84  itkTypeMacro(LightProcessObject,Object);
85 
88  itkSetMacro(AbortGenerateData,bool);
89 
92  itkGetConstReferenceMacro(AbortGenerateData,bool);
93 
95  itkBooleanMacro(AbortGenerateData);
96 
100  itkSetClampMacro(Progress,float,0.0f,1.0f);
101 
105  itkGetConstReferenceMacro(Progress,float);
106 
110  void UpdateProgress(float amount);
111 
113  virtual void UpdateOutputData();
114 
115 protected:
118  void PrintSelf(std::ostream& os, Indent indent) const;
119 
121  virtual void GenerateData() {}
122 
123 
124 private:
125  LightProcessObject(const Self&); //purposely not implemented
126  void operator=(const Self&); //purposely not implemented
127 
132  float m_Progress;
133 };
134 
135 } // end namespace itk
136 
137 #endif

Generated at Sat Feb 2 2013 23:51:03 for Orfeo Toolbox with doxygen 1.8.1.1