ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkFEMElement2DC0QuadraticTriangularStrain.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 __itkFEMElement2DC0QuadraticTriangularStrain_h
00020 #define __itkFEMElement2DC0QuadraticTriangularStrain_h
00021 
00022 #include "itkFEMElement2DC0QuadraticTriangular.h"
00023 #include "itkFEMElement2DStrain.h"
00024 
00025 namespace itk
00026 {
00027 namespace fem
00028 {
00061 class Element2DC0QuadraticTriangularStrain : public Element2DStrain<Element2DC0QuadraticTriangular>
00062 {
00063 public:
00064 
00066   typedef Element2DC0QuadraticTriangularStrain            Self;
00067   typedef Element2DStrain<Element2DC0QuadraticTriangular> Superclass;
00068   typedef SmartPointer<Self>                              Pointer;
00069   typedef SmartPointer<const Self>                        ConstPointer;
00070 
00072   itkSimpleNewMacro(Self);
00073 
00075   itkTypeMacro(Element2DC0QuadraticTriangularStrain, Element2DStrain<Element2DC0QuadraticTriangular> );
00076 
00079   virtual::itk::LightObject::Pointer CreateAnother(void) const;
00080 
00084   Element2DC0QuadraticTriangularStrain();
00085 
00090   Element2DC0QuadraticTriangularStrain(NodeIDType n1_,
00091                                        NodeIDType n2_,
00092                                        NodeIDType n3_,
00093                                        NodeIDType n4_,
00094                                        NodeIDType n5_,
00095                                        NodeIDType n6_,
00096                                        Material::ConstPointer p_);
00097 protected:
00098   virtual void PrintSelf(std::ostream& os, Indent indent) const;
00100 
00101 };  // class Element2DC0QuadraticTriangularStrain
00102 
00103 }
00104 }  // end namespace itk::fem
00105 
00106 #endif  // #ifndef __itkFEMElement2DC0QuadraticTriangularStrain_h
00107