TTK
Loading...
Searching...
No Matches
ttkOFFReader.h
Go to the documentation of this file.
1
10
11#pragma once
12
13#include <Debug.h>
14#include <ttkOFFReaderModule.h>
15
16#include <vtkUnstructuredGridAlgorithm.h>
17
18class TTKOFFREADER_EXPORT ttkOFFReader : public vtkUnstructuredGridAlgorithm,
19 protected ttk::Debug {
20public:
21 vtkTypeMacro(ttkOFFReader, vtkUnstructuredGridAlgorithm);
22
23 static ttkOFFReader *New();
24
25 void PrintSelf(std::ostream &os, vtkIndent indent) override;
26
27 // Description:
28 // Specify file name of the .off file.
29 vtkSetStringMacro(FileName);
30 vtkGetStringMacro(FileName);
31
32protected:
34 ~ttkOFFReader() override = default;
35
36 int RequestData(vtkInformation *,
37 vtkInformationVector **,
38 vtkInformationVector *) override;
39
40private:
41 ttkOFFReader(const ttkOFFReader &) = delete;
42 void operator=(const ttkOFFReader &) = delete;
43
44 char *FileName{};
45};
ttkOFFReader - Object File Format Reader
~ttkOFFReader() override=default
static ttkOFFReader * New()
Minimalist debugging class.
Definition Debug.h:88