18 #ifndef __itkAutomaticTopologyMeshSource_h
19 #define __itkAutomaticTopologyMeshSource_h
23 #include "itksys/hash_map.hxx"
110 template<
class TOutputMesh >
146 typedef itksys::hash_map<
152 itkStaticConstMacro(PointDimension,
unsigned int,
153 MeshType::PointDimension);
154 itkStaticConstMacro(MaxTopologicalDimension,
unsigned int,
155 MeshType::MaxTopologicalDimension);
342 IdType size = identifierArray.
Size();
344 std::sort( identifierArray.begin(), identifierArray.end() );
347 IdType *
id = &identifierArray[0];
352 hash = ( hash << 7 ) | ( hash >> 25 );
369 IdType size1 = identifierArray1.
Size();
370 IdType size2 = identifierArray2.
Size();
372 if ( size1 != size2 )
377 std::sort( identifierArray1.begin(), identifierArray1.end() );
378 std::sort( identifierArray2.begin(), identifierArray2.end() );
380 return ( identifierArray1 == identifierArray2 );
391 void operator=(
const Self &);
393 typedef itksys::hash_map<
396 IdentifierArrayHashFunction,
405 #ifndef ITK_MANUAL_INSTANTIATION
406 #include "itkAutomaticTopologyMeshSource.hxx"
409 #endif // __itkAutomaticTopologyMeshSource_h