5namespace MR {
namespace Cuda {
7struct MeshProjectorData;
11 std::shared_ptr<MeshProjectorData> meshData_;
12 const Mesh* mesh_{
nullptr };
27 MRCUDA_API
virtual void findProjections( std::vector<MR::MeshProjectionResult>& res,
const std::vector<Vector3f>& points,
const AffineXf3f* objXf,
const AffineXf3f* refObjXf,
float upDistLimitSq,
float loDistLimitSq )
override;
Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for ...
Definition MRCudaPointsToMeshProjector.h:10
virtual MRCUDA_API size_t projectionsHeapBytes(size_t numProjections) const override
Returns amount of additional memory needed to compute projections.
MRCUDA_API PointsToMeshProjector()
virtual MRCUDA_API void findProjections(std::vector< MR::MeshProjectionResult > &res, const std::vector< Vector3f > &points, const AffineXf3f *objXf, const AffineXf3f *refObjXf, float upDistLimitSq, float loDistLimitSq) override
Computes the closest point on mesh to each of given points
virtual MRCUDA_API void updateMeshData(const Mesh *mesh) override
update all data related to the referencing mesh
Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions mu...
Definition MRPointsToMeshProjector.h:12
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh/MRMesh.h:23