-_SetResult( const TVertex& v, const TResult& r )
-{
- this->GetOutput( )->SetPixel( v, r );
-}
-
-// -------------------------------------------------------------------------
-template< class I, class O, class A >
-const typename fpa::Image::Algorithm< I, O, A >::
-_TNode& fpa::Image::Algorithm< I, O, A >::
-_Node( const TVertex& v ) const
-{
- return( this->m_Marks->GetPixel( v ) );
-}
-
-// -------------------------------------------------------------------------
-template< class I, class O, class A >
-void fpa::Image::Algorithm< I, O, A >::
-_InitMarks( )
-{
- const I* in = this->GetInput( );
-
- this->m_Marks = _TMarks::New( );
- this->m_Marks->SetLargestPossibleRegion( in->GetLargestPossibleRegion( ) );
- this->m_Marks->SetRequestedRegion( in->GetRequestedRegion( ) );
- this->m_Marks->SetBufferedRegion( in->GetBufferedRegion( ) );
- this->m_Marks->SetOrigin( in->GetOrigin( ) );
- this->m_Marks->SetSpacing( in->GetSpacing( ) );
- this->m_Marks->SetDirection( in->GetDirection( ) );
- this->m_Marks->Allocate( );
-
- _TNode far_node;
- far_node.Label = Self::FarLabel;
- this->m_Marks->FillBuffer( far_node );
-}
-
-// -------------------------------------------------------------------------
-template< class I, class O, class A >
-void fpa::Image::Algorithm< I, O, A >::
-_Mark( const _TNode& node )