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

itkFEMElement3DC0LinearTetrahedron.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkFEMElement3DC0LinearTetrahedron.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-01-29 20:09:12 $
00007   Version:   $Revision: 1.11 $
00008 
00009   Copyright (c) Insight Software 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 __itkFEMElement3DC0LinearTetrahedron_h
00018 #define __itkFEMElement3DC0LinearTetrahedron_h
00019 
00020 
00021 #include "itkFEMElementStd.h"
00022 //to make some checks in GetLocalFromGlobalCoordinates
00023 #include <vnl/vnl_matrix.h>
00024 #include <vnl/algo/vnl_matrix_inverse.h>
00025 
00026 namespace itk {
00027 namespace fem {
00028 
00033 class Element3DC0LinearTetrahedron : public ElementStd<4,3>
00034 {
00035   typedef ElementStd<4,3> TemplatedParentClass;
00036   FEM_ABSTRACT_CLASS( Element3DC0LinearTetrahedron, TemplatedParentClass )
00037 public:
00038 
00039 
00041 
00045   virtual void GetIntegrationPointAndWeight(unsigned int i, VectorType& pt, Float& w, unsigned int order) const;
00046 
00047   virtual unsigned int GetNumberOfIntegrationPoints(unsigned int order) const;
00048 
00050 
00054   virtual VectorType ShapeFunctions( const VectorType& pt ) const;
00055 
00056   virtual void ShapeFunctionDerivatives( const VectorType& pt, MatrixType& shapeD ) const;
00057 
00058   virtual bool GetLocalFromGlobalCoordinates( const VectorType& globalPt, VectorType& localPt ) const;
00059 
00063 #ifdef FEM_BUILD_VISUALIZATION
00064   void Draw(CDC* pDC, Solution::ConstPointer sol) const;
00065 #endif
00066 
00067 
00068 };
00069 
00070 }} // end namespace itk::fem
00071 
00072 #endif  // #ifndef __itkFEMElement3DC0LinearTetrahedron_h
00073 

Generated at Thu May 28 09:55:37 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000