Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkLightProcessObject.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkLightProcessObject.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/01/15 18:57:04 $
00007   Version:   $Revision: 1.9 $
00008 
00009   Copyright (c) 2002 Insight Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkLightProcessObject_h
00018 #define __itkLightProcessObject_h
00019 
00020 #include "itkObject.h"
00021 #include "itkObjectFactory.h"
00022 
00023 namespace itk
00024 {
00025 
00071 class ITK_EXPORT LightProcessObject : public Object
00072 {
00073 public:
00075   typedef LightProcessObject       Self;
00076   typedef Object  Superclass;
00077   typedef SmartPointer<Self>  Pointer;
00078   typedef SmartPointer<const Self>  ConstPointer;
00079   
00081   itkNewMacro(Self);
00082 
00084   itkTypeMacro(LightProcessObject,Object);
00085 
00088   itkSetMacro(AbortGenerateData,bool);
00089 
00092   itkGetConstReferenceMacro(AbortGenerateData,bool);
00093   
00095   itkBooleanMacro(AbortGenerateData); 
00096   
00100   itkSetClampMacro(Progress,float,0.0,1.0);
00101 
00105   itkGetConstReferenceMacro(Progress,float);
00106 
00110   void UpdateProgress(float amount);
00111   
00113   virtual void UpdateOutputData();
00114 
00115 protected:
00116   LightProcessObject();
00117   ~LightProcessObject();
00118   void PrintSelf(std::ostream& os, Indent indent) const;
00119   
00121   virtual void GenerateData() {}
00122 
00123 
00124 private:
00125   LightProcessObject(const Self&); //purposely not implemented
00126   void operator=(const Self&); //purposely not implemented
00127 
00131   bool  m_AbortGenerateData;
00132   float m_Progress;
00133 };
00134 
00135 } // end namespace itk
00136 
00137 #endif
00138 

Generated at Fri May 21 01:15:00 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000