Java Utililty Methods Matrix Transform

List of utility methods to do Matrix Transform

Description

The list of methods to do Matrix Transform are organized into topic(s).

Method

List>transformMutiParamTableToList(String[] mutiParamTable)
transform Muti Param Table To List
List<Map<String, String>> levelsSelectedList = new ArrayList<Map<String, String>>();
if (mutiParamTable != null) {
    for (int i = 0; i < mutiParamTable.length; i++) {
        Map<String, String> map = new HashMap<String, String>();
        map.put("id", mutiParamTable[i]);
        levelsSelectedList.add(map);
return levelsSelectedList;
voidtransformPoint3D(float matrix4x4[], float point3D[], float result3D[])
Transform the given 3D point with the given 4x4 matrix (thus, treating the non-present fourth component of the point as being 1.0), and write the result into the given result array.
Arrays.fill(result3D, 0.0f);
for (int r = 0; r < 3; r++) {
    for (int c = 0; c < 3; c++) {
        int index = c * 4 + r;
        float m = matrix4x4[index];
        result3D[r] += m * point3D[c];
    int index = 3 * 4 + r;
...