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: 2009-01-30 21:10:18 $
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 
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 
00037 class LoadNode : public Load {
00038   FEM_CLASS(LoadNode,Load)
00039 public:
00040 
00041   typedef Node::Float Float;
00042 
00046   virtual void Read( std::istream& f, void* info );
00047 
00051   virtual void Write( std::ostream& f ) const;
00052 
00057   Element::ConstPointer m_element;
00058 
00062   unsigned int m_pt;
00063 
00068   vnl_vector<Float> F;
00069 
00070   LoadNode() : m_element(0) {}  // default constructor
00071   LoadNode( Element::ConstPointer element_, unsigned int pt_, vnl_vector<Float> F_ ) :
00072     m_element(element_), m_pt(pt_), F(F_) {}
00073 
00074 };
00075 
00076 FEM_CLASS_INIT(LoadNode)
00077 
00078 }} // end namespace itk::fem
00079 
00080 #endif // #ifndef __itkFEMLoadDOF_h
00081 

Generated at Sat Feb 28 12:24:47 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000