IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Shape3dFunctions.h
Go to the documentation of this file.
1 // Shape3dFunctions.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_SHAPE3DFUNCTIONS_H__
16 #define __IPSDKGEOMETRY_SHAPE3DFUNCTIONS_H__
17 
20 #include <IPSDKUtil/Tools/ProcessingResult.h>
21 #include <boost/filesystem/path.hpp>
22 #include <iostream>
23 
24 namespace ipsdk {
25 namespace geom {
26 
29 
37 saveToStLAscii(const boost::filesystem::path& stlFile,
38  const Shape3d& shape,
39  const ipBool bSaveHoles,
40  const std::string& solidName = "");
41 
49 saveToStLBinary(const boost::filesystem::path& stlFile,
50  const Shape3d& shape,
51  const ipBool bSaveHoles);
52 
60 saveToStLAscii(const boost::filesystem::path& stlFile,
61  const Shape3dVector& shapeColl,
62  const ipBool bSaveHoles,
63  const std::string& solidName = "");
64 
72 saveToStLBinary(const boost::filesystem::path& stlFile,
73  const Shape3dVector& shapeColl,
74  const ipBool bSaveHoles);
75 
78 
79 } // end of namespace geom
80 } // end of namespace ipsdk
81 
82 #endif // __IPSDKGEOMETRY_SHAPE3DFUNCTIONS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
std::vector< Shape3dPtr > Shape3dVector
collection of standard shape
Definition: Shape3dTypes.h:40
IPSDKGEOMETRY_API BoolResult saveToStLBinary(const boost::filesystem::path &stlFile, const Mesh3d< T > &mesh)
export the mesh definition to a StL binary file
IPSDKGEOMETRY_API BoolResult saveToStLAscii(const boost::filesystem::path &stlFile, const Mesh3d< T > &mesh, const std::string &solidName="")
export the mesh definition to a StL ascii file
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
Predefined types for shape 3d management.
bool ipBool
Base types definition.
Definition: BaseTypes.h:47
ProcessingResult< bool > BoolResult
typedef for boolean results associated to a string description
Definition: ProcessingResultTypes.h:29