Stellar orbits in a triaxial galaxy. I - Orbits in the plane of rotation