00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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) {}
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 }}
00084
00085 #endif // #ifndef __itkFEMLoadDOF_h