1 #ifndef __CPM__ALGORITHMS__BASE__FORCEFUNCTION__H__
2 #define __CPM__ALGORITHMS__BASE__FORCEFUNCTION__H__
4 #include <itkFunctionBase.h>
16 : public itk::FunctionBase< typename M::PointIdentifier, typename M::VectorType >
20 typedef typename M::PointIdentifier TPointId;
21 typedef typename M::VectorType TVector;
23 typedef ForceFunction Self;
24 typedef itk::FunctionBase< TPointId, TVector > Superclass;
25 typedef itk::SmartPointer< Self > Pointer;
26 typedef itk::SmartPointer< const Self > ConstPointer;
29 itkTypeMacro( ForceFunction, itkFunctionBase );
31 itkGetConstObjectMacro( Mesh, M );
32 itkSetConstObjectMacro( Mesh, M );
38 virtual ~ForceFunction( )
42 ForceFunction( const Self& );
43 Self& operator=( const Self& );
46 typename M::ConstPointer m_Mesh;
55 #endif // __CPM__ALGORITHMS__BASE__FORCEFUNCTION__H__