1 | initial version |
looks like a typo, it should be: MatConstIterator_
(with a final underscore)
MatConstIterator_<Vec3f> it = m.begin<Vec3f>();
for (; it != m.end<Vec3f>(); it++) {
// do something with *it, but remember it's const, read-only !
}