MeshLib Documentation
Loading...
Searching...
No Matches
MRAABBTree.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRAABBTreeBase.h"
4
5namespace MR
6{
7
15class AABBTree : public AABBTreeBase<FaceTreeTraits3>
16{
17public:
19 [[nodiscard]] MRMESH_API explicit AABBTree( const MeshPart & mp );
20
21 AABBTree() = default;
22 AABBTree( AABBTree && ) noexcept = default;
23 AABBTree & operator =( AABBTree && ) noexcept = default;
24
29 MRMESH_API void refit( const Mesh & mesh, const VertBitSet & changedVerts );
30
31private:
32 AABBTree( const AABBTree & ) = default;
33 AABBTree & operator =( const AABBTree & ) = default;
34 friend class UniqueThreadSafeOwner<AABBTree>;
35};
36
37} // namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
base class for most AABB-trees (except for AABBTreePoints)
Definition MRAABBTreeBase.h:12
Definition MRAABBTree.h:16
MRMESH_API AABBTree(const MeshPart &mp)
creates tree for given mesh or its part
AABBTree()=default
AABBTree(AABBTree &&) noexcept=default
MRMESH_API void refit(const Mesh &mesh, const VertBitSet &changedVerts)
Definition MRUniqueThreadSafeOwner.h:20
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh/MRMesh.h:23