// ========================================================================= // @author Leonardo Florez Valencia // @email florez-l@javeriana.edu.co // ========================================================================= #ifndef __fpa__Image__LabelledSeedsInterface__hxx__ #define __fpa__Image__LabelledSeedsInterface__hxx__ #include #include // ------------------------------------------------------------------------- template< class _TVertex, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > void fpa::Image::LabelledSeedsInterface< _TVertex, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: AddSeed( const TVertex& seed ) { std::ostringstream msg; msg << "itk::ERROR: fpa::Image::LabelledSeedsInterface (" << this << "): \"AddSeed( const TVertex& seed )\" is not valid for this class. " << "Use \"SetLabels( TLabelImage* labels )\" instead."; ::itk::ExceptionObject e( __FILE__, __LINE__, msg.str( ).c_str( ), ITK_LOCATION ); throw e; } // ------------------------------------------------------------------------- template< class _TVertex, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > const typename fpa::Image::LabelledSeedsInterface< _TVertex, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: TLabelImage* fpa::Image::LabelledSeedsInterface< _TVertex, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: GetLabels( ) const { return( this->m_LabelImage ); } // ------------------------------------------------------------------------- template< class _TVertex, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > void fpa::Image::LabelledSeedsInterface< _TVertex, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: SetLabels( const TLabelImage* image ) { this->m_LabelImage = image; } // ------------------------------------------------------------------------- template< class _TVertex, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > fpa::Image::LabelledSeedsInterface< _TVertex, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: LabelledSeedsInterface( itk::ProcessObject* filter ) : Superclass( filter ) { } // ------------------------------------------------------------------------- template< class _TVertex, class _TInputValue, class _TOutputValue, class _TFrontId, class _TCompare > fpa::Image::LabelledSeedsInterface< _TVertex, _TInputValue, _TOutputValue, _TFrontId, _TCompare >:: ~LabelledSeedsInterface( ) { } #endif // __fpa__Image__LabelledSeedsInterface__hxx__ // eof - $RCSfile$