A survey of attitude representation