![]() |
RobWorkProject
23.9.11-
|
static methods for reading and writing geometry to and from STL files. More...
#include <STLFile.hpp>
Public Member Functions | |
| std::vector< std::string > | getModelFormats () |
| get the list of supported 3D model formats (as extensions) More... | |
| bool | isSupported (std::string format) |
| Check if the loader support a specific format. More... | |
Static Public Member Functions | |
| static void | save (const rw::geometry::TriMesh &mesh, const std::string &filename) |
| creates a new ASCII STL file with path+name given by filename. The face data is taken from a TriMesh interface. More... | |
| static void | save (const rw::core::Ptr< rw::geometry::TriMesh > &mesh, const std::string &filename) |
| creates a new ASCII STL file with path+name given by filename. The face data is taken from a TriMesh interface. More... | |
| static rw::geometry::PlainTriMeshN1F::Ptr | load (const std::string &filename) |
| reads a STL file with name filename into a plain triangle mesh. More... | |
static methods for reading and writing geometry to and from STL files.
|
inline |
get the list of supported 3D model formats (as extensions)
| bool isSupported | ( | std::string | format | ) |
Check if the loader support a specific format.
| format | [in] the extension to check if is supported |
|
static |
reads a STL file with name filename into a plain triangle mesh.
| filename | [in] the name of the file |
|
static |
creates a new ASCII STL file with path+name given by filename. The face data is taken from a TriMesh interface.
| mesh | [in] the mesh that should be written to the STL file. |
| filename | [in] the name of the file for which to write to. |
|
static |
creates a new ASCII STL file with path+name given by filename. The face data is taken from a TriMesh interface.
| mesh | [in] the mesh that should be written to the STL file. |
| filename | [in] the name of the file for which to write to. |