#ifndef __CPM__DATASTRUCTURES__QUADEDGECELL__HXX__ #define __CPM__DATASTRUCTURES__QUADEDGECELL__HXX__ // ------------------------------------------------------------------------- template< class I, class E > cpm::DataStructures::QuadEdgeCell< I, E >:: QuadEdgeCell( ) : Superclass( ), m_EntryEdge( NULL ) { } // ------------------------------------------------------------------------- template< class I, class E > cpm::DataStructures::QuadEdgeCell< I, E >:: QuadEdgeCell( E* entry ) : Superclass( ), m_EntryEdge( entry ) { this->SetEntryPrimalEdge( entry ); } // ------------------------------------------------------------------------- template< class I, class E > cpm::DataStructures::QuadEdgeCell< I, E >:: ~QuadEdgeCell( ) { } // ------------------------------------------------------------------------- template< class I, class E > typename cpm::DataStructures::QuadEdgeCell< I, E >:: CellGeometry cpm::DataStructures::QuadEdgeCell< I, E >:: GetType( ) const { std::cout << "QuadEdgeCell GetType" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: MakeCopy( CellAutoPointer& other ) const { std::cout << "QuadEdgeCell MakeCopy" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > unsigned int cpm::DataStructures::QuadEdgeCell< I, E >:: GetDimension( ) const { std::cout << "QuadEdgeCell GetDimension" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > unsigned int cpm::DataStructures::QuadEdgeCell< I, E >:: GetNumberOfPoints( ) const { return( this->m_EntryEdge->GetLnextRingSize( ) ); } // ------------------------------------------------------------------------- template< class I, class E > typename cpm::DataStructures::QuadEdgeCell< I, E >:: CellFeatureCount cpm::DataStructures::QuadEdgeCell< I, E >:: GetNumberOfBoundaryFeatures( int dimension ) const { std::cout << "QuadEdgeCell GetNumberOfBoundaryFeatures" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > bool cpm::DataStructures::QuadEdgeCell< I, E >:: GetBoundaryFeature( int dimension, CellFeatureIdentifier fId, CellAutoPointer& ptr ) { std::cout << "QuadEdgeCell GetBoundaryFeature" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: SetPointIds( PointIdConstIterator first ) { std::cout << "QuadEdgeCell SetPointIds" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: SetPointIds( PointIdConstIterator first, PointIdConstIterator last ) { std::cout << "QuadEdgeCell SetPointIds(first,last)" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: AddPointId( PointIdentifier pId ) { std::cout << "QuadEdgeCell AddPointId" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: RemovePointId( PointIdentifier pId ) { std::cout << "QuadEdgeCell RemovePointId" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: SetPointIds( int dummy, int num, PointIdConstIterator first ) { std::cout << "QuadEdgeCell SetPointIds(dummy,num,first)" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: BuildEdges( ) { std::cout << "QuadEdgeCell BuildEdges" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: ClearPoints( ) { std::cout << "QuadEdgeCell ClearPoints" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: SetPointId( int localId, PointIdentifier pId ) { std::cout << "QuadEdgeCell SetPointId(localId,pId)" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > int cpm::DataStructures::QuadEdgeCell< I, E >:: GetTopologyId( ) { // TODO: return( Superclass::POLYGON_CELL ); std::cout << "QuadEdgeCell GetTopologyId" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: Accept( CellIdentifier cellid, typename itk::CellInterface< PixelType, CellTraits >::MultiVisitor* mv ) { std::cout << "QuadEdgeCell Accept" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > typename cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdIterator cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdsBegin( ) { std::cout << "QuadEdgeCell PointIdsBegin" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > typename cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdConstIterator cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdsBegin( ) const { std::cout << "QuadEdgeCell PointIdsBegin (const)" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > typename cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdIterator cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdsEnd( ) { std::cout << "QuadEdgeCell PointIdsEnd" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > typename cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdConstIterator cpm::DataStructures::QuadEdgeCell< I, E >:: PointIdsEnd( ) const { std::cout << "QuadEdgeCell PointIdsEnd (const)" << std::endl; std::exit( 1 ); } // ------------------------------------------------------------------------- template< class I, class E > E* cpm::DataStructures::QuadEdgeCell< I, E >:: GetEntryPrimalEdge( ) { return( this->m_EntryEdge ); } // ------------------------------------------------------------------------- template< class I, class E > const E* cpm::DataStructures::QuadEdgeCell< I, E >:: GetEntryPrimalEdge( ) const { return( this->m_EntryEdge ); } // ------------------------------------------------------------------------- template< class I, class E > void cpm::DataStructures::QuadEdgeCell< I, E >:: SetEntryPrimalEdge( E* entry ) { this->m_EntryEdge = entry; } #endif // __CPM__DATASTRUCTURES__QUADEDGECELL__HXX__ // eof - $RCSfile$