IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Namespaces | Functions
Mesh3dFunctions.h File Reference

Utility functions for mesh 3d management. More...

#include <IPSDKGeometry/IPSDKGeometryExports.h>
#include <IPSDKGeometry/Entity/3d/Mesh/Mesh3dTypes.h>
#include <IPSDKUtil/Tools/ProcessingResult.h>
#include <boost/filesystem/path.hpp>
#include <iostream>
#include <vector>

Go to the source code of this file.

Classes

struct  ipsdk::geom::CoordWithIndex
 

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::geom
 Namespace aggregating geometrical routines and classes.
 

Functions

template<typename T >
IPSDKGEOMETRY_API BoolResult ipsdk::geom::saveToStLAscii (const boost::filesystem::path &stlFile, const Mesh3d< T > &mesh, const std::string &solidName="")
 export the mesh definition to a StL ascii file More...
 
template<typename T >
IPSDKGEOMETRY_API BoolResult ipsdk::geom::saveToStLBinary (const boost::filesystem::path &stlFile, const Mesh3d< T > &mesh)
 export the mesh definition to a StL binary file More...
 
IPSDKGEOMETRY_API void ipsdk::geom::writeStLAsciiHeader (std::ostream &os, const std::string &solidName)
 function allowing to write stl ascii header into a stream
 
IPSDKGEOMETRY_API void ipsdk::geom::writeStLAsciiFooter (std::ostream &os, const std::string &solidName)
 function allowing to write stl ascii footer into a stream
 
template<typename T >
IPSDKGEOMETRY_API void ipsdk::geom::writeStLAscii (std::ostream &os, const Mesh3d< T > &mesh, const ipReal32 xOffset, const ipReal32 yOffset, const ipReal32 zOffset)
 function allowing to write stl ascii mesh data into a stream
 
IPSDKGEOMETRY_API void ipsdk::geom::writeStLBinaryHeader (std::ostream &os, const ipUInt64 nbTriangles)
 function allowing to write stl binary header into a stream
 
template<typename T >
IPSDKGEOMETRY_API void ipsdk::geom::writeStLBinary (std::ostream &os, const Mesh3d< T > &mesh, const ipReal32 xOffset, const ipReal32 yOffset, const ipReal32 zOffset)
 function allowing to write stl binary mesh data into a stream
 
template<typename T >
IPSDKGEOMETRY_API boost::shared_ptr< Mesh3d< T > > ipsdk::geom::readFromStLFile (const boost::filesystem::path &stlFile)
 function allowing to read stl files and return a mesh3d
 
template<typename T >
IPSDKGEOMETRY_API boost::shared_ptr< Mesh3d< T > > ipsdk::geom::readStLAscii (const boost::filesystem::path &stlFile)
 function allowing to read stl ascii data into a mesh3d
 
template<typename T >
IPSDKGEOMETRY_API boost::shared_ptr< Mesh3d< T > > ipsdk::geom::readStLBinary (const boost::filesystem::path &stlFile)
 function allowing to read stl binary data into a mesh3d
 
ipBool ipsdk::geom::stlFileHasASCIIFormat (const boost::filesystem::path &stlFile)
 
void ipsdk::geom::removeDoubles (std::vector< ipReal32 > &vUniqueCoordsOut, std::vector< ipUInt32 > &vTrisOut, std::vector< CoordWithIndex > &vCoordsWithIndexInOut)
 

Detailed Description

Utility functions for mesh 3d management.

Author
E.Noirfalise
Date
2017/08/16