**Morse theory** is an example of such method. The classification of compact surfaces using Morse theory is done for example in the book of Hirsch, *differential topology*. The book of Milnor, *the h-cobordism theorem* goes a step further by proving the Poincare conjecture in dimension bigger than five using Morse theory. 

It should be emphasized however that "to look at F(M), the set of functions on this space" is just one way to understand a space amongst many others.