TTK
Loading...
Searching...
No Matches
core
vtk
ttkOFFWriter
ttkOFFWriter.h
Go to the documentation of this file.
1
8
9
#pragma once
10
11
#include <vtkDataSetWriter.h>
12
13
#include <
Debug.h
>
14
#include <ttkOFFWriterModule.h>
15
16
#include <fstream>
17
18
class
TTKOFFWRITER_EXPORT
ttkOFFWriter
:
public
vtkDataSetWriter,
19
protected
ttk::Debug
{
20
21
public
:
22
vtkTypeMacro(
ttkOFFWriter
, vtkDataSetWriter);
23
24
static
ttkOFFWriter
*
New
();
25
26
void
PrintSelf(std::ostream &os, vtkIndent indent)
override
;
27
28
// Description:
29
// Specify file name of the .off file.
30
vtkSetStringMacro(Filename);
31
vtkGetStringMacro(Filename);
32
33
protected
:
34
ttkOFFWriter
();
35
~ttkOFFWriter
()
override
;
36
37
int
OpenFile();
38
void
WriteData()
override
;
39
40
char
*Filename{};
41
std::ofstream Stream{};
42
43
private
:
44
ttkOFFWriter
(
const
ttkOFFWriter
&) =
delete
;
45
void
operator=(
const
ttkOFFWriter
&) =
delete
;
46
};
Debug.h
ttkOFFWriter
ttkOFFWriter - Object File Format Writer
Definition
ttkOFFWriter.h:19
ttkOFFWriter::~ttkOFFWriter
~ttkOFFWriter() override
ttkOFFWriter::New
static ttkOFFWriter * New()
ttk::Debug
Minimalist debugging class.
Definition
Debug.h:88
Generated on Thu Sep 26 2024 06:50:19 for TTK by
1.9.8