Added C binding for the 3DView