OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
io_ply.hpp File Reference

C++ veneer for PLY export. More...

#include <occtl/occtl_io_ply.h>
#include <occtl-hpp/core.hpp>
#include <occtl-hpp/topo.hpp>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for io_ply.hpp:

Go to the source code of this file.

Classes

struct  occtl::io_ply::WriteOptions
 Options for write. PascalCase mirror of occtl_io_ply_write_options_t. More...
 

Enumerations

enum class  occtl::io_ply::CoordinateSystem { YUp = OCCTL_IO_PLY_COORDINATE_SYSTEM_Y_UP , ZUp = OCCTL_IO_PLY_COORDINATE_SYSTEM_Z_UP , Gltf = OCCTL_IO_PLY_COORDINATE_SYSTEM_GLTF }
 Coordinate system used by PLY export conversion.
 

Functions

void occtl::io_ply::write (const Graph &theGraph, const NodeId theRoot, const std::string &thePath, const WriteOptions &theOptions=WriteOptions{})
 Writes the topology rooted at theRoot to a PLY file.
 

Detailed Description

C++ veneer for PLY export.

Function Documentation

◆ write()

void occtl::io_ply::write ( const Graph theGraph,
const NodeId  theRoot,
const std::string &  thePath,
const WriteOptions theOptions = WriteOptions{} 
)
inline

Writes the topology rooted at theRoot to a PLY file.

Exceptions
Erroron failure.