MeshLib Documentation
Loading...
Searching...
No Matches
MRSaveSettings.h File Reference
#include "MRProgressCallback.h"
#include "MRAffineXf3.h"
#include "MRId.h"
#include "MRVector.h"
#include <cassert>

Go to the source code of this file.

Classes

struct  MR::SaveSettings
 determines how to save points/lines/mesh More...
 
class  MR::VertRenumber
 maps valid points to packed sequential indices More...
 

Namespaces

namespace  MR
 

Functions

Vector3f MR::applyFloat (const AffineXf3d *xf, const Vector3f &p)
 returns the point as is or after application of given transform to it in double precision
 
Vector3f MR::applyFloat (const Matrix3d *m, const Vector3f &n)
 returns the normal as is or after application of given matrix to it in double precision
 
Vector3d MR::applyDouble (const AffineXf3d *xf, const Vector3f &p)
 converts given point in double precision and applies given transformation to it
 
Vector3d MR::applyDouble (const Matrix3d *m, const Vector3f &n)
 converts given normal in double precision and applies given matrix to it
 
MRMESH_API const VertCoords & MR::transformPoints (const VertCoords &verts, const VertBitSet &validVerts, const AffineXf3d *xf, VertCoords &buf, const VertRenumber *vertRenumber=nullptr)
 
MRMESH_API const VertNormals & MR::transformNormals (const VertNormals &normals, const VertBitSet &validVerts, const Matrix3d *m, VertNormals &buf)