Thank you for your reply.
This reply made me understand what I should do.
Can you tell me how you finally converted quaternions into vectors?