5 #include <SimoxUtility/algorithm/string.h>
27 std::stringstream& ss)
const
29 auto shape =
data.getShape();
32 if (shape.size() == 3)
34 if (shape[0] == 3 && shape[1] == 1 && shape[2] == 4)
40 if (shape[0] == 4 && shape[1] == 4 && shape[2] == 4)
46 if (shape[0] == 4 && shape[1] == 1 && shape[2] == 4)
58 std::stringstream& ss)
const
63 ss << std::setprecision(2) << std::fixed;
65 Eigen::IOFormat(Eigen::StreamPrecision, 0,
coeffSep,
"\n",
"",
"",
"",
""));
71 std::stringstream& ss)
const
74 const Eigen::Vector3f pos =
76 ss << std::setprecision(2) << std::fixed;
77 ss << pos.format(Eigen::IOFormat(Eigen::StreamPrecision, 0,
"",
coeffSep,
"",
"",
"",
""));
83 std::stringstream& ss)
const
88 ss << std::setprecision(2) << std::fixed;