Visualization of fundamental structures in two dimensional second order tensor fields on planar and curved surfaces