5namespace MR {
namespace Cuda {
7struct MeshProjectorData;
11 std::shared_ptr<MeshProjectorData> meshData_;
12 const Mesh* mesh_{
nullptr };
27 MRCUDA_API
void findProjections( std::vector<MR::MeshProjectionResult>& res,
const VertCoords& points,
const AffineXf3f* objXf,
const AffineXf3f* refObjXf,
float upDistLimitSq,
float loDistLimitSq )
override;
void updateMeshData(const Mesh *mesh) override
update all data related to the referencing mesh
size_t projectionsHeapBytes(size_t numProjections) const override
Returns amount of additional memory needed to compute projections.
void findProjections(std::vector< MR::MeshProjectionResult > &res, const VertCoords &points, const AffineXf3f *objXf, const AffineXf3f *refObjXf, float upDistLimitSq, float loDistLimitSq) override
Computes the closest point on mesh to each of given points.
IPointsToMeshProjector()=default
explicitly define ctors to avoid warning C5267: definition of implicit copy constructor is deprecated...
Definition MRCudaBasic.h:15
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8