ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkFEMSolution.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 
00019 #ifndef __itkFEMSolution_h
00020 #define __itkFEMSolution_h
00021 
00022 namespace itk
00023 {
00024 namespace fem
00025 {
00036 class Solution
00037 {
00038 public:
00039 
00041   typedef Solution Self;
00042 
00044   typedef Solution Superclass;
00045 
00047   typedef Self *Pointer;
00048 
00050   typedef const Self *ConstPointer;
00051 
00053   typedef double Float;
00054 
00068   virtual Float GetSolutionValue(unsigned int i, unsigned int solutionIndex = 0) const = 0;
00069 
00074   virtual ~Solution()
00075   {
00076   }
00077 };
00078 }
00079 }  // end namespace itk::fem
00080 
00081 #endif // #ifndef __itkFEMSolution_h
00082