Not quite correct Cardinal...with respect.
Segment
1. 35ft above ref. zero (15 ft on wet runway) to point/height at which gear fully retracted.
(N.B. first bit of climb to screen height is part of scheduled take-off distance required)
2. Gear-up height to level-off height (if required and min 400ft) for flap retraction. Min speed V2.
3. Acceleration (level if required) to accomplish flap retraction.
4. Final segment climb (with flaps fully retracted) to min 1500ft.
....if memory serves.