| 55 | } |
| 56 | |
| 57 | void IsotropicTransforms::initialize_2D_rotations() { |
| 58 | m_rotations.clear(); |
| 59 | m_rotations.push_back(MatrixF::Identity(2, 2)); |
| 60 | Matrix2F rot_90, rot_180, rot_270; |
| 61 | rot_90 << 0, -1, 1, 0; |
| 62 | rot_180 << -1, 0, 0, -1; |
| 63 | rot_270 << 0, 1, -1, 0; |
| 64 | m_rotations.push_back(rot_90); |
| 65 | m_rotations.push_back(rot_180); |
| 66 | m_rotations.push_back(rot_270); |
| 67 | } |
| 68 | |
| 69 | void IsotropicTransforms::initialize_3D_reflections() { |
| 70 | m_reflections.clear(); |