opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
formats
stl.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <ctime>
4
#include <iosfwd>
5
#include <string>
6
#include <string_view>
7
8
namespace
osc
{
class
Mesh; }
9
10
namespace
osc
11
{
12
struct
STLMetadata
final
{
13
14
explicit
STLMetadata
();
15
16
explicit
STLMetadata
(
17
std::string_view
authoring_tool_
18
);
19
20
std::string
authoring_tool
;
21
std::tm
creation_time
;
22
};
23
24
class
STL
final
{
25
public
:
26
static
void
write
(std::ostream&,
const
Mesh
&,
const
STLMetadata
&);
27
};
28
}
osc::Mesh
Definition
mesh.h:33
osc::STL
Definition
stl.h:24
osc::STL::write
static void write(std::ostream &, const Mesh &, const STLMetadata &)
osc
Definition
custom_decoration_generator.h:5
osc::to
constexpr U to(T &&value)
Definition
conversion.h:56
osc::STLMetadata
Definition
stl.h:12
osc::STLMetadata::STLMetadata
STLMetadata(std::string_view authoring_tool_)
osc::STLMetadata::creation_time
std::tm creation_time
Definition
stl.h:21
osc::STLMetadata::STLMetadata
STLMetadata()
osc::STLMetadata::authoring_tool
std::string authoring_tool
Definition
stl.h:20
Generated by
1.9.8