- void SetParent( const TVertex& v, const TVertex& p, const short& fid )
- {
- this->Get( )[ v ] = TNodeInfo( p, fid );
- this->Modified( );
- }
- void Clear( )
- {
- this->Get( ).clear( );
- this->m_Collisions.clear( );
- this->m_FrontPaths.clear( );
- }
- virtual std::vector< V > GetPath( const V& a, const V& b ) const;
-
- template< class I >
- std::vector< typename I::PointType > GetPathFromImage(
- const V& a, const V& b,
- const I* image, unsigned int kernel = 0
- ) const;
+
+ void ClearSeeds( );
+ void AddSeed( const TVertex& seed );
+
+ virtual TVertex GetParent( const TVertex& v ) const = 0;
+ virtual void SetParent( const TVertex& v, const TVertex& p ) = 0;
+
+ virtual TVertices GetPath( const TVertex& a ) const;
+ virtual TVertices GetPath( const TVertex& a, const TVertex& b ) const;