Three-dimensional galactic stellar orbits