1 #ifndef __FPA__IO__MINIMUMSPANNINGTREEWRITER__H__
2 #define __FPA__IO__MINIMUMSPANNINGTREEWRITER__H__
5 #include <itkProcessObject.h>
13 template< class _TTree >
14 class MinimumSpanningTreeWriter
15 : public itk::ProcessObject
18 typedef MinimumSpanningTreeWriter Self;
19 typedef itk::ProcessObject Superclass;
20 typedef itk::SmartPointer< Self > Pointer;
21 typedef itk::SmartPointer< const Self > ConstPointer;
27 itkTypeMacro( MinimumSpanningTreeWriter, itkProcessObject );
29 itkGetConstMacro( FileName, std::string );
30 itkSetMacro( FileName, std::string );
33 void SetInput( const _TTree* input );
35 const _TTree* GetInput( ) const;
36 virtual void Update( ) ITK_OVERRIDE;
39 MinimumSpanningTreeWriter( );
40 virtual ~MinimumSpanningTreeWriter( );
42 virtual void GenerateData( ) ITK_OVERRIDE;
45 // Purposely not implemented
46 MinimumSpanningTreeWriter( const Self& other );
47 Self& operator=( const Self& other );
50 std::string m_FileName;
57 #ifndef ITK_MANUAL_INSTANTIATION
58 #include <fpa/IO/MinimumSpanningTreeWriter.hxx>
59 #endif // ITK_MANUAL_INSTANTIATION
61 #endif // __FPA__IO__MINIMUMSPANNINGTREEWRITER__H__