lsgrmSpringSegmenter.h 827 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef __LSRM_Spring_SEGMENTER_H
#define __LSRM_Spring_SEGMENTER_H
#include "lsgrmSegmenter.h"
#include "grmSpringSegmenter.h"

namespace lsgrm
{

template<class TImage>
class SpringSegmenter : public Segmenter<grm::SpringSegmenter<TImage> >
{
public:

  /* Some convenient typedefs */
  typedef grm::SpringSegmenter<TImage> Superclass;
  typedef typename Superclass::NodeType NodeType;
  typedef typename Superclass::EdgeType EdgeType;
  typedef typename Superclass::NodePointerType NodePointerType;


  SpringSegmenter(){};

  void WriteSpecificAttributes(NodePointerType node, FILE * nodeStream);
  void ReadSpecificAttributes(NodePointerType node, FILE * nodeStream);
25
  long long unsigned int GetSpecificAttributesMemory(NodePointerType &node);
26 27 28 29 30 31 32 33
};

} // end of namespace lsrm
#include "lsgrmSpringSegmenter.txx"
#endif