1 #ifndef __CPM__DATASTRUCTURES__QUADEDGECELL__HXX__
2 #define __CPM__DATASTRUCTURES__QUADEDGECELL__HXX__
4 // -------------------------------------------------------------------------
5 template< class I, class E >
6 cpm::DataStructures::QuadEdgeCell< I, E >::
13 // -------------------------------------------------------------------------
14 template< class I, class E >
15 cpm::DataStructures::QuadEdgeCell< I, E >::
16 QuadEdgeCell( E* entry )
20 this->SetEntryPrimalEdge( entry );
23 // -------------------------------------------------------------------------
24 template< class I, class E >
25 cpm::DataStructures::QuadEdgeCell< I, E >::
30 // -------------------------------------------------------------------------
31 template< class I, class E >
32 typename cpm::DataStructures::QuadEdgeCell< I, E >::
33 CellGeometry cpm::DataStructures::QuadEdgeCell< I, E >::
36 std::cout << "QuadEdgeCell GetType" << std::endl;
40 // -------------------------------------------------------------------------
41 template< class I, class E >
42 void cpm::DataStructures::QuadEdgeCell< I, E >::
43 MakeCopy( CellAutoPointer& other ) const
45 std::cout << "QuadEdgeCell MakeCopy" << std::endl;
49 // -------------------------------------------------------------------------
50 template< class I, class E >
51 unsigned int cpm::DataStructures::QuadEdgeCell< I, E >::
54 std::cout << "QuadEdgeCell GetDimension" << std::endl;
58 // -------------------------------------------------------------------------
59 template< class I, class E >
60 unsigned int cpm::DataStructures::QuadEdgeCell< I, E >::
61 GetNumberOfPoints( ) const
63 return( this->m_EntryEdge->GetLnextRingSize( ) );
66 // -------------------------------------------------------------------------
67 template< class I, class E >
68 typename cpm::DataStructures::QuadEdgeCell< I, E >::
69 CellFeatureCount cpm::DataStructures::QuadEdgeCell< I, E >::
70 GetNumberOfBoundaryFeatures( int dimension ) const
72 std::cout << "QuadEdgeCell GetNumberOfBoundaryFeatures" << std::endl;
76 // -------------------------------------------------------------------------
77 template< class I, class E >
78 bool cpm::DataStructures::QuadEdgeCell< I, E >::
81 CellFeatureIdentifier fId,
85 std::cout << "QuadEdgeCell GetBoundaryFeature" << std::endl;
89 // -------------------------------------------------------------------------
90 template< class I, class E >
91 void cpm::DataStructures::QuadEdgeCell< I, E >::
92 SetPointIds( PointIdConstIterator first )
94 std::cout << "QuadEdgeCell SetPointIds" << std::endl;
98 // -------------------------------------------------------------------------
99 template< class I, class E >
100 void cpm::DataStructures::QuadEdgeCell< I, E >::
102 PointIdConstIterator first,
103 PointIdConstIterator last
106 std::cout << "QuadEdgeCell SetPointIds(first,last)" << std::endl;
110 // -------------------------------------------------------------------------
111 template< class I, class E >
112 void cpm::DataStructures::QuadEdgeCell< I, E >::
113 AddPointId( PointIdentifier pId )
115 std::cout << "QuadEdgeCell AddPointId" << std::endl;
119 // -------------------------------------------------------------------------
120 template< class I, class E >
121 void cpm::DataStructures::QuadEdgeCell< I, E >::
122 RemovePointId( PointIdentifier pId )
124 std::cout << "QuadEdgeCell RemovePointId" << std::endl;
128 // -------------------------------------------------------------------------
129 template< class I, class E >
130 void cpm::DataStructures::QuadEdgeCell< I, E >::
134 PointIdConstIterator first
137 std::cout << "QuadEdgeCell SetPointIds(dummy,num,first)" << std::endl;
141 // -------------------------------------------------------------------------
142 template< class I, class E >
143 void cpm::DataStructures::QuadEdgeCell< I, E >::
146 std::cout << "QuadEdgeCell BuildEdges" << std::endl;
150 // -------------------------------------------------------------------------
151 template< class I, class E >
152 void cpm::DataStructures::QuadEdgeCell< I, E >::
155 std::cout << "QuadEdgeCell ClearPoints" << std::endl;
159 // -------------------------------------------------------------------------
160 template< class I, class E >
161 void cpm::DataStructures::QuadEdgeCell< I, E >::
162 SetPointId( int localId, PointIdentifier pId )
164 std::cout << "QuadEdgeCell SetPointId(localId,pId)" << std::endl;
168 // -------------------------------------------------------------------------
169 template< class I, class E >
170 int cpm::DataStructures::QuadEdgeCell< I, E >::
173 // TODO: return( Superclass::POLYGON_CELL );
174 std::cout << "QuadEdgeCell GetTopologyId" << std::endl;
178 // -------------------------------------------------------------------------
179 template< class I, class E >
180 void cpm::DataStructures::QuadEdgeCell< I, E >::
182 CellIdentifier cellid,
183 typename itk::CellInterface< PixelType, CellTraits >::MultiVisitor* mv
186 std::cout << "QuadEdgeCell Accept" << std::endl;
190 // -------------------------------------------------------------------------
191 template< class I, class E >
192 typename cpm::DataStructures::QuadEdgeCell< I, E >::
193 PointIdIterator cpm::DataStructures::QuadEdgeCell< I, E >::
196 std::cout << "QuadEdgeCell PointIdsBegin" << std::endl;
200 // -------------------------------------------------------------------------
201 template< class I, class E >
202 typename cpm::DataStructures::QuadEdgeCell< I, E >::
203 PointIdConstIterator cpm::DataStructures::QuadEdgeCell< I, E >::
204 PointIdsBegin( ) const
206 std::cout << "QuadEdgeCell PointIdsBegin (const)" << std::endl;
210 // -------------------------------------------------------------------------
211 template< class I, class E >
212 typename cpm::DataStructures::QuadEdgeCell< I, E >::
213 PointIdIterator cpm::DataStructures::QuadEdgeCell< I, E >::
216 std::cout << "QuadEdgeCell PointIdsEnd" << std::endl;
220 // -------------------------------------------------------------------------
221 template< class I, class E >
222 typename cpm::DataStructures::QuadEdgeCell< I, E >::
223 PointIdConstIterator cpm::DataStructures::QuadEdgeCell< I, E >::
226 std::cout << "QuadEdgeCell PointIdsEnd (const)" << std::endl;
230 // -------------------------------------------------------------------------
231 template< class I, class E >
232 E* cpm::DataStructures::QuadEdgeCell< I, E >::
233 GetEntryPrimalEdge( )
235 return( this->m_EntryEdge );
238 // -------------------------------------------------------------------------
239 template< class I, class E >
240 const E* cpm::DataStructures::QuadEdgeCell< I, E >::
241 GetEntryPrimalEdge( ) const
243 return( this->m_EntryEdge );
246 // -------------------------------------------------------------------------
247 template< class I, class E >
248 void cpm::DataStructures::QuadEdgeCell< I, E >::
249 SetEntryPrimalEdge( E* entry )
251 this->m_EntryEdge = entry;
254 #endif // __CPM__DATASTRUCTURES__QUADEDGECELL__HXX__