Cosmos : a framework for representation and recognition of 3D free-form objects