If the camera were an object, the sequence of transformations to place and orient it would be:


translate by target position
rotate about Y by heading
rotate about X by elevation
...