ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkFEMElement2DC0LinearTriangularStrain.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 __itkFEMElement2DC0LinearTriangularStrain_h
00020 #define __itkFEMElement2DC0LinearTriangularStrain_h
00021 
00022 #include "itkFEMElement2DC0LinearTriangular.h"
00023 #include "itkFEMElement2DStrain.h"
00024 
00025 namespace itk
00026 {
00027 namespace fem
00028 {
00059 class Element2DC0LinearTriangularStrain : public Element2DStrain<Element2DC0LinearTriangular>
00060 {
00061 public:
00062 
00064   typedef Element2DC0LinearTriangularStrain            Self;
00065   typedef Element2DStrain<Element2DC0LinearTriangular> Superclass;
00066   typedef SmartPointer<Self>                           Pointer;
00067   typedef SmartPointer<const Self>                     ConstPointer;
00068 
00070   itkSimpleNewMacro(Self);
00071 
00073   itkTypeMacro(Element2DC0LinearTriangularStrain, Element2DStrain<Element2DC0LinearTriangular> );
00074 
00077   virtual::itk::LightObject::Pointer CreateAnother(void) const;
00078 
00082   Element2DC0LinearTriangularStrain();
00083 
00088   Element2DC0LinearTriangularStrain(NodeIDType n1_, NodeIDType n2_, NodeIDType n3_, Material::ConstPointer p_);
00089 protected:
00090   virtual void PrintSelf(std::ostream& os, Indent indent) const;
00092 
00093 };  // class Element2DC0LinearTriangularStrain
00094 
00095 }
00096 }  // end namespace itk::fem
00097 
00098 #endif  // #ifndef __itkFEMElement2DC0LinearTriangularStrain_h
00099