cpp_mesh_builder_example/app/src/main/jni/mesh_builder_app.cc
void onFrameAvailableRouter(void* context, TangoCameraId id,
                            const TangoImageBuffer* buffer) {
  mesh_builder::MeshBuilderApp* app =
      static_cast<mesh_builder::MeshBuilderApp*>(context);
  app->onFrameAvailable(id, buffer);
}
// This function routes onFrameAvailable callbacks to the application object for
// handling.
//
// @param context, context will be a pointer to a MeshBuilderApp
//        instance on which to call callbacks.
// @param id, camera id to route to onFrameAvailable function.
// @param buffer, image data to route to onFrameAvailable function.
This function routes onFrameAvailable callbacks to the application object for
handling.
This function routes onFrameAvailable callbacks to the application object for handling .
void onFrameAvailableRouter(void* context, TangoCameraId id,
                            const TangoImageBuffer* buffer) {
  mesh_builder::MeshBuilderApp* app =
      static_cast<mesh_builder::MeshBuilderApp*>(context);
  app->onFrameAvailable(id, buffer);
}
void onFrameAvailableRouter ( void * context , TangoCameraId id , const TangoImageBuffer * buffer ) { mesh_builder :: MeshBuilderApp * app = static_cast < mesh_builder :: MeshBuilderApp * > ( context ) ; app -> onFrameAvailable ( id , buffer ) ; }
This function routes onFrameAvailable callbacks to the application object for
handling.
This function routes onFrameAvailable callbacks to the application object for handling .