00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMLoadEdge.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009-01-30 21:10:18 $ 00007 Version: $Revision: 1.9 $ 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 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 00036 class LoadEdge : public LoadElement 00037 { 00038 FEM_CLASS(LoadEdge,LoadElement) 00039 public: 00040 00045 virtual void Read( std::istream& f, void* info ); 00046 00050 virtual void Write( std::ostream& f ) const; 00051 00052 public: 00057 int m_Edge; 00058 00075 vnl_matrix<Float> m_Force; 00076 00077 }; 00078 00079 FEM_CLASS_INIT(LoadEdge) 00080 00081 }} // end namespace itk::fem 00082 00083 #endif // #ifndef __itkFEMLoadEdge_h 00084