it looks like ofxAssimpModelLoader stores the position in an ofPoint, and the rotation with:
where each ofPoint in rotAxis represent one of the 3 rotation axis and each float is the angle on each axis. I think, although it is not that clear to me from this code. What does indicates the which parameter?
Does it make sense to have a method that returns the globalTransformationMatrix out of these values?
I could use the position stored in ofPoint to create a translation matrix, I could use the ofPoint that save the scale to create the scale matrix, and then I could get the quaternion out of rotAngle and rotAxis (once that i figure out how the rotation is stored) and then:
//get an of3dPrimitive from a mesh
static of3dPrimitive toPrimitive(const ofMesh& mesh);
// it fullfills an empty vector of of3dPrimitive
// with the primitive obtained from an ofxAssimpModelLoader
// and set as parent node for each primitive, the parentNode
static void readModelAndGetPrimitives(ofxAssimpModelLoader& model,