OpenLexocad  27.1
Topo::MeshBuilder Class Reference

#include <MeshBuilder.h>

Static Public Member Functions

static Core::DocObjectmakeBox (Core::CoreDocument *doc, double length, double width, double height)
 Makes a box. More...
 
static Core::DocObjectimportInventor (Core::CoreDocument *doc, const std::string &filename)
 Import Inventor file. More...
 
static Core::DocObjectmakePolygonMesh (Core::CoreDocument *doc, const std::vector< int > &model, const std::vector< Base::Pnt > &points)
 Makes a PolygonMesh ( For the moment only triangular or quadrangular polygons are allowed ) More...
 
static Core::DocObjectmakePolygonMesh (Core::CoreDocument *doc, pConstMesh mesh)
 Makes a PolygonMesh from a pMesh. More...
 
static void makePolygonMeshDelaunay (const std::vector< Base::Pnt > &boundaryPoints, std::vector< int > &outputModel)
 
static Core::DocObjectmakePolygonMeshDelaunay (Core::CoreDocument *doc, const std::vector< Base::Pnt > &boundaryPoints)
 
static void __setMeshBuilder__ (App::MeshBuilder *builder)
 Sets the Builder. For internal use only. More...
 
static pMesh makeBox (double length, double width, double height)
 Makes a box. More...
 
static pMesh makeMesh (const std::vector< Mesher::TriangulatedFace > &faces)
 Makes a Mesh from a vector of triangulated faces. More...
 

Protected Member Functions

virtual Core::DocObject_makeBox (Core::CoreDocument *doc, double length, double width, double height)
 
virtual Core::DocObject_importInventor (Core::CoreDocument *doc, const std::string &filename)
 
virtual Core::DocObject_makePolygonMesh (Core::CoreDocument *doc, const std::vector< int > &model, const std::vector< Base::Pnt > &points)
 
virtual Core::DocObject_makePolygonMesh (Core::CoreDocument *doc, pConstMesh mesh)
 
virtual void _makePolygonMeshDelaunay (const std::vector< Base::Pnt > &boundaryPoints, std::vector< int > &outputModel)
 
virtual Core::DocObject_makePolygonMeshDelaunay (Core::CoreDocument *doc, const std::vector< Base::Pnt > &boundaryPoints)
 
virtual pMesh _makeBox (double length, double width, double height)
 
virtual pMesh _makeMesh (const std::vector< Mesher::TriangulatedFace > &faces)
 

Member Function Documentation

◆ __setMeshBuilder__()

static void Topo::MeshBuilder::__setMeshBuilder__ ( App::MeshBuilder *  builder)
inlinestatic

Sets the Builder. For internal use only.

◆ _importInventor()

virtual Core::DocObject* Topo::MeshBuilder::_importInventor ( Core::CoreDocument doc,
const std::string &  filename 
)
protectedvirtual

◆ _makeBox() [1/2]

virtual Core::DocObject* Topo::MeshBuilder::_makeBox ( Core::CoreDocument doc,
double  length,
double  width,
double  height 
)
protectedvirtual

◆ _makeBox() [2/2]

virtual pMesh Topo::MeshBuilder::_makeBox ( double  length,
double  width,
double  height 
)
protectedvirtual

◆ _makeMesh()

virtual pMesh Topo::MeshBuilder::_makeMesh ( const std::vector< Mesher::TriangulatedFace > &  faces)
protectedvirtual

◆ _makePolygonMesh() [1/2]

virtual Core::DocObject* Topo::MeshBuilder::_makePolygonMesh ( Core::CoreDocument doc,
const std::vector< int > &  model,
const std::vector< Base::Pnt > &  points 
)
protectedvirtual

◆ _makePolygonMesh() [2/2]

virtual Core::DocObject* Topo::MeshBuilder::_makePolygonMesh ( Core::CoreDocument doc,
pConstMesh  mesh 
)
protectedvirtual

◆ _makePolygonMeshDelaunay() [1/2]

virtual void Topo::MeshBuilder::_makePolygonMeshDelaunay ( const std::vector< Base::Pnt > &  boundaryPoints,
std::vector< int > &  outputModel 
)
protectedvirtual

◆ _makePolygonMeshDelaunay() [2/2]

virtual Core::DocObject* Topo::MeshBuilder::_makePolygonMeshDelaunay ( Core::CoreDocument doc,
const std::vector< Base::Pnt > &  boundaryPoints 
)
protectedvirtual

◆ importInventor()

static Core::DocObject* Topo::MeshBuilder::importInventor ( Core::CoreDocument doc,
const std::string &  filename 
)
static

Import Inventor file.

◆ makeBox() [1/2]

static Core::DocObject* Topo::MeshBuilder::makeBox ( Core::CoreDocument doc,
double  length,
double  width,
double  height 
)
static

Makes a box.

◆ makeBox() [2/2]

static pMesh Topo::MeshBuilder::makeBox ( double  length,
double  width,
double  height 
)
static

Makes a box.

◆ makeMesh()

static pMesh Topo::MeshBuilder::makeMesh ( const std::vector< Mesher::TriangulatedFace > &  faces)
static

Makes a Mesh from a vector of triangulated faces.

◆ makePolygonMesh() [1/2]

static Core::DocObject* Topo::MeshBuilder::makePolygonMesh ( Core::CoreDocument doc,
const std::vector< int > &  model,
const std::vector< Base::Pnt > &  points 
)
static

Makes a PolygonMesh ( For the moment only triangular or quadrangular polygons are allowed )

◆ makePolygonMesh() [2/2]

static Core::DocObject* Topo::MeshBuilder::makePolygonMesh ( Core::CoreDocument doc,
pConstMesh  mesh 
)
static

Makes a PolygonMesh from a pMesh.

◆ makePolygonMeshDelaunay() [1/2]

static void Topo::MeshBuilder::makePolygonMeshDelaunay ( const std::vector< Base::Pnt > &  boundaryPoints,
std::vector< int > &  outputModel 
)
static

Makes a mesh model using Delaunay triangulation from outer boundary points (points must be in order to create boundary, last point MUST NOT be the first point, it is done automatically)

◆ makePolygonMeshDelaunay() [2/2]

static Core::DocObject* Topo::MeshBuilder::makePolygonMeshDelaunay ( Core::CoreDocument doc,
const std::vector< Base::Pnt > &  boundaryPoints 
)
static

Makes a PolygonMesh using Delaunay triangulation from outer boundary points (points must be in order to create boundary, last point MUST NOT be the first point, it is done automatically)


The documentation for this class was generated from the following file: