ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkFEMElement3DC0LinearTetrahedron.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 __itkFEMElement3DC0LinearTetrahedron_h
19 #define __itkFEMElement3DC0LinearTetrahedron_h
20 
21 #include "itkFEMElementStd.h"
22 // to make some checks in GetLocalFromGlobalCoordinates
23 #include <vnl/vnl_matrix.h>
24 #include <vnl/algo/vnl_matrix_inverse.h>
25 
26 namespace itk
27 {
28 namespace fem
29 {
62 {
63 public:
64 
71 
74 
75  // ////////////////////////////////////////////////////////////////////////
81 
83  virtual void GetIntegrationPointAndWeight(unsigned int i, VectorType & pt, Float & w, unsigned int order) const ITK_OVERRIDE;
84 
86  virtual unsigned int GetNumberOfIntegrationPoints(unsigned int order) const ITK_OVERRIDE;
87 
88  // ////////////////////////////////////////////////////////////////////////
94  virtual VectorType ShapeFunctions(const VectorType & pt) const ITK_OVERRIDE;
95 
97  virtual void ShapeFunctionDerivatives(const VectorType & pt, MatrixType & shapeD) const ITK_OVERRIDE;
98 
100  virtual bool GetLocalFromGlobalCoordinates(const VectorType & globalPt, VectorType & localPt) const ITK_OVERRIDE;
101 
102 protected:
103  virtual void PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
104 
105  virtual void PopulateEdgeIds(void) ITK_OVERRIDE;
106 
107 };
108 }
109 } // end namespace itk::fem
110 
111 #endif // #ifndef __itkFEMElement3DC0LinearTetrahedron_h
virtual bool GetLocalFromGlobalCoordinates(const VectorType &globalPt, VectorType &localPt) const ITK_OVERRIDE
Implements standard node management in the element classes.
virtual void ShapeFunctionDerivatives(const VectorType &pt, MatrixType &shapeD) const ITK_OVERRIDE
virtual void PopulateEdgeIds(void) ITK_OVERRIDE
virtual void GetIntegrationPointAndWeight(unsigned int i, VectorType &pt, Float &w, unsigned int order) const ITK_OVERRIDE
4-noded, linear, C0 continuous finite element in 3D space.
virtual unsigned int GetNumberOfIntegrationPoints(unsigned int order) const ITK_OVERRIDE
Superclass::VectorType VectorType
virtual VectorType ShapeFunctions(const VectorType &pt) const ITK_OVERRIDE
Control indentation during Print() invocation.
Definition: itkIndent.h:49
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
Superclass::MatrixType MatrixType