Question about updateFromLocal & updateFromGlobal in Pose.hh
The two methods, updateFromLocal & updateFromGlobal are stated to propagate the changes in coordinate system and also able to keep intact child nodes. They are both protected and as far as I am aware can't be directly called via something along these lines, Pose* pose...; int currentJointId.... ; pose->updateFromLocal(currentJointId) ; Searching through the openflipper project in visual studio, I can't see anywhere these methods are called. I presume when I make alternations to various poses I need to call some method, which will ultimately call these methods in order to perform the update of the various joints in a skeleton. Any help much appreciated, Adam
On 23.06.2012 11:43, Adam Hartshorne wrote:
The two methods, updateFromLocal & updateFromGlobal are stated to propagate the changes in coordinate system and also able to keep intact child nodes. They are both protected and as far as I am aware can't be directly called via something along these lines,
Pose* pose...; int currentJointId.... ; pose->updateFromLocal(currentJointId) ;
Searching through the openflipper project in visual studio, I can't see anywhere these methods are called. I presume when I make alternations to various poses I need to call some method, which will ultimately call these methods in order to perform the update of the various joints in a skeleton.
Any help much appreciated,
Adam
_______________________________________________ Openflipper mailing list Openflipper@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
Hi, usually you don't call these methods directly but use the setLocalMatrix, setGlobalMatrix,.... This will internally call the update functions: http://openflipper.org/Daily-Builds/Doc/Developer/classPoseT.html Best, Jan -- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21817 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de
participants (2)
-
Adam Hartshorne
-
Jan Möbius