#include "MRId.h"
#include "MRMeshFwd.h"
#include "MRVector.h"
#include "MRVector3.h"
#include <array>
Go to the source code of this file.
Classes | |
struct | MR::MeshNormals |
Namespaces | |
namespace | MR |
Typedefs | |
using | MR::TriangleCornerNormals = std::array<Vector3f, 3> |
normals in three corner of a triangle | |
Functions | |
MRMESH_API FaceNormals | MR::computePerFaceNormals (const Mesh &mesh) |
returns a vector with face-normal in every element for valid mesh faces | |
MRMESH_API void | MR::computePerFaceNormals4 (const Mesh &mesh, Vector4f *faceNormals, size_t size) |
fills buffer with face-normals as Vector4f for valid mesh faces | |
MRMESH_API VertNormals | MR::computePerVertNormals (const Mesh &mesh) |
returns a vector with vertex normals in every element for valid mesh vertices | |
MRMESH_API VertNormals | MR::computePerVertPseudoNormals (const Mesh &mesh) |
MRMESH_API MeshNormals | MR::computeMeshNormals (const Mesh &mesh) |
computes both per-face and per-vertex normals more efficiently then just calling both previous functions | |
MRMESH_API Vector< TriangleCornerNormals, FaceId > | MR::computePerCornerNormals (const Mesh &mesh, const UndirectedEdgeBitSet *creases) |