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 );
00053   virtual void Write( std::ostream& f ) const;
00054 
00059   Element::ConstPointer m_element;
00060 
00064   unsigned int m_pt;
00065 
00070   vnl_vector<Float> F;
00071 
00072   LoadNode() : m_element(0) {}  // default constructor
00073   LoadNode( Element::ConstPointer element_, unsigned int pt_, vnl_vector<Float> F_ ) :
00074     m_element(element_), m_pt(pt_), F(F_) {}
00075 
00076 };
00077 
00078 FEM_CLASS_INIT(LoadNode)
00079 
00080 
00081 
00082 
00083 }} // end namespace itk::fem
00084 
00085 #endif // #ifndef __itkFEMLoadDOF_h

Generated at Wed May 24 23:07:51 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000