Viewpoint invariant characterization of objects composed of different rigid parts : a mathematical framework