| 156 | } |
| 157 | |
| 158 | void PtxReader::PtxHeader::applyTransform(double &x, double &y, double &z) const |
| 159 | { |
| 160 | const double x2 = x * m_transform[0] + y * m_transform[4] + |
| 161 | z * m_transform[8] + m_transform[12]; |
| 162 | const double y2 = x * m_transform[1] + y * m_transform[5] + |
| 163 | z * m_transform[9] + m_transform[13]; |
| 164 | const double z2 = x * m_transform[2] + y * m_transform[6] + |
| 165 | z * m_transform[10] + m_transform[14]; |
| 166 | x = x2; |
| 167 | y = y2; |
| 168 | z = z2; |
| 169 | } |
| 170 | |
| 171 | void PtxReader::initialize(PointTableRef table) |
| 172 | { |