OSG::Vec3f getCurrentTranslation(OSG::Matrix& matrix)
{
   OSG::Vec3f curTrans, scale;
   OSG::Quaternion rot;
   matrix.getTransform(curTrans, rot, scale, rot);

   return(curTrans);
}