Orfeo Toolbox  4.0
itkCurvatureFlowImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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 __itkCurvatureFlowImageFilter_h
19 #define __itkCurvatureFlowImageFilter_h
20 
23 
24 namespace itk
25 {
89 template< typename TInputImage, typename TOutputImage >
91  public DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage >
92 {
93 public:
99 
101  itkNewMacro(Self);
102 
104  itkTypeMacro(CurvatureFlowImageFilter,
106 
109 
112  typedef typename OutputImageType::Pointer OutputImagePointer;
113 
117 
121 
124  itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension);
125 
129 
132 
134  itkSetMacro(TimeStep, TimeStepType);
135 
137  itkGetConstMacro(TimeStep, TimeStepType);
138 
139 #ifdef ITK_USE_CONCEPT_CHECKING
140  // Begin concept checking
141  itkConceptMacro( DoubleConvertibleToOutputCheck,
143  itkConceptMacro( OutputConvertibleToDoubleCheck,
145  itkConceptMacro( OutputDivisionOperatorsCheck,
147  itkConceptMacro( DoubleOutputMultiplyOperatorCheck,
149  itkConceptMacro( IntOutputMultiplyOperatorCheck,
151  itkConceptMacro( OutputLessThanDoubleCheck,
153  itkConceptMacro( OutputDoubleAdditiveOperatorsCheck,
155  // End concept checking
156 #endif
157 
158 protected:
161  void PrintSelf(std::ostream & os, Indent indent) const;
162 
165  virtual bool Halt()
166  {
167  if ( this->GetElapsedIterations() == this->GetNumberOfIterations() )
168  {
169  return true;
170  }
171  else
172  {
173  return false;
174  }
175  }
176 
179  virtual void InitializeIteration();
180 
185 
189  virtual void GenerateInputRequestedRegion();
190 
191 private:
192  CurvatureFlowImageFilter(const Self &); //purposely not implemented
193  void operator=(const Self &); //purposely not implemented
194 
196 };
197 } // end namspace itk
198 
199 #ifndef ITK_MANUAL_INSTANTIATION
201 #endif
202 
203 #endif

Generated at Sat Mar 8 2014 14:31:22 for Orfeo Toolbox with doxygen 1.8.3.1