MCPcopy Create free account
hub / github.com/OctoMap/octomap / getCameraCoordinatesOf

Method getCameraCoordinatesOf

octovis/src/extern/QGLViewer/camera.cpp:1482–1487  ·  view source on GitHub ↗

! Same as cameraCoordinatesOf(), but with \c qreal[3] parameters (\p src and \p res may be identical pointers). */

Source from the content-addressed store, hash-verified

1480
1481/*! Same as cameraCoordinatesOf(), but with \c qreal[3] parameters (\p src and \p res may be identical pointers). */
1482void Camera::getCameraCoordinatesOf(const qreal src[3], qreal res[3]) const
1483{
1484 Vec r = cameraCoordinatesOf(Vec(src));
1485 for (int i=0; i<3; ++i)
1486 res[i] = r[i];
1487}
1488
1489/*! Same as worldCoordinatesOf(), but with \c qreal[3] parameters (\p src and \p res may be identical pointers). */
1490void Camera::getWorldCoordinatesOf(const qreal src[3], qreal res[3]) const

Callers

nothing calls this directly

Calls 1

VecFunction · 0.85

Tested by

no test coverage detected