[Mesh] Collection findAssociated* methods should support collections.
Instead of just finding on a single entityRef, we should allow queries to find associations from a collection ( set, vector, etc ) of entityRefs.
The updated Collection API would look like:
//existing api
smtk::mesh::TypeSet findAssociatedTypes( const smtk::model::EntityRef& eref );
smtk::mesh::MeshSet findAssociatedMeshes( const smtk::model::EntityRef& eref );
smtk::mesh::MeshSet findAssociatedMeshes( const smtk::model::EntityRef& eref, smtk::mesh::DimensionType dim );
smtk::mesh::CellSet findAssociatedCells( const smtk::model::EntityRef& eref );
smtk::mesh::CellSet findAssociatedCells( const smtk::model::EntityRef& eref, smtk::mesh::CellType cellType );
smtk::mesh::CellSet findAssociatedCells( const smtk::model::EntityRef& eref, smtk::mesh::DimensionType dim );
//new api
template<typename ContainerType>
smtk::mesh::TypeSet findAssociatedTypes( const ContainerType& refs );
template<typename ContainerType>
smtk::mesh::MeshSet findAssociatedMeshes( const ContainerType& refs );
template<typename ContainerType>
smtk::mesh::MeshSet findAssociatedMeshes( const ContainerType& refs, smtk::mesh::DimensionType dim );
template<typename ContainerType>
smtk::mesh::CellSet findAssociatedCells( const ContainerType& refs );
template<typename ContainerType>
smtk::mesh::CellSet findAssociatedCells( const ContainerType& refs, smtk::mesh::CellType cellType );
template<typename ContainerType>
smtk::mesh::CellSet findAssociatedCells( const ContainerType& refs, smtk::mesh::DimensionType dim );