00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMLoadEdge.h,v $ 00005 Language: C++ 00006 Date: $Date: 2002/05/28 21:05:22 $ 00007 Version: $Revision: 1.7 $ 00008 00009 Copyright (c) 2002 Insight 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 00018 #ifndef __itkFEMLoadEdge_h 00019 #define __itkFEMLoadEdge_h 00020 00021 #include "itkFEMLoadElementBase.h" 00022 #include "vnl/vnl_matrix.h" 00023 00024 namespace itk { 00025 namespace fem { 00026 00027 00028 00029 00039 class LoadEdge : public LoadElement 00040 { 00041 FEM_CLASS(LoadEdge,LoadElement) 00042 public: 00047 virtual void Read( std::istream& f, void* info ); 00048 00052 virtual void Write( std::ostream& f ) const; 00053 00054 public: 00059 int m_Edge; 00060 00077 vnl_matrix<Float> m_Force; 00078 00079 }; 00080 00081 FEM_CLASS_INIT(LoadEdge) 00082 00083 00084 00085 00086 }} // end namespace itk::fem 00087 00088 #endif // #ifndef __itkFEMLoadEdge_h