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

itkFEMLoadNode.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkFEMLoadNode.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:29:43 $
00007   Version:   $Revision: 1.10 $
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 __itkFEMLoadNode_h
00019 #define __itkFEMLoadNode_h
00020 
00021 #include "itkFEMLoadBase.h"
00022 #include "vnl/vnl_vector.h"
00023 
00024 namespace itk {
00025 namespace fem {
00026 
00027 
00028 
00029 
00040 class LoadNode : public Load {
00041 FEM_CLASS(LoadNode,Load)
00042 public:
00043 
00044   typedef Node::Float Float;
00045 
00049   virtual void Read( std::istream& f, void* info );
00050 
00054   virtual void Write( std::ostream& f ) const;
00055 
00060   Element::ConstPointer m_element;
00061 
00065   unsigned int m_pt;
00066 
00071   vnl_vector<Float> F;
00072 
00073   LoadNode() : m_element(0) {}  // default constructor
00074   LoadNode( Element::ConstPointer element_, unsigned int pt_, vnl_vector<Float> F_ ) :
00075     m_element(element_), m_pt(pt_), F(F_) {}
00076 
00077 };
00078 
00079 FEM_CLASS_INIT(LoadNode)
00080 
00081 
00082 
00083 
00084 }} // end namespace itk::fem
00085 
00086 #endif // #ifndef __itkFEMLoadDOF_h
00087 

Generated at Sun Sep 23 12:32:53 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000