Polyhedral-net Splines
Loading...
Searching...
No Matches
BVWriter.hpp
1
/* copyright(c)Jorg Peters [jorg.peters@gmail.com] */
2
3
#pragma once
4
5
#include <string>
6
#include <mutex>
7
#include <fstream>
8
#include <queue>
9
10
#include "PatchConsumer.hpp"
11
#include "../Patch/Patch.hpp"
12
13
class
BVWriter :
public
PatchConsumer
14
{
15
public
:
16
BVWriter(
const
std::string a_OutFile);
17
~BVWriter();
18
void
start();
19
void
stop();
20
void
consume(
const
Patch
a_Patch);
21
private
:
22
std::ofstream m_OutFile;
23
void
writePatch(
const
Patch
a_Patch);
24
};
PatchConsumer
Definition
PatchConsumer.hpp:35
Patch
A class representing a Bézier patch.
Definition
Patch.hpp:20
© Jorg Peters
jorg.peters@gmail.com