public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }
public static MD5JointData parseLine(String line) { MD5JointData result = null; Matcher matcher = PATTERN_JOINT.matcher(line); if (matcher.matches()) { result = new MD5JointData(); result.setName(matcher.group(1)); result.setParentIndex(Integer.parseInt(matcher.group(2))); float x = Float.parseFloat(matcher.group(3)); float y = Float.parseFloat(matcher.group(4)); float z = Float.parseFloat(matcher.group(5)); result.setPosition(new Vector3f(x, y, z)); x = Float.parseFloat(matcher.group(6)); y = Float.parseFloat(matcher.group(7)); z = Float.parseFloat(matcher.group(8)); result.setOrientation(new Vector3f(x, y, z)); } return result; } }