-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkPTXReaderPlugin.h
executable file
·46 lines (33 loc) · 1.05 KB
/
vtkPTXReaderPlugin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// .NAME vtkPTXReader - read a ptx file
// .SECTION Description
// vtkPTXReader reads a ptx file
#ifndef __vtkPTXReaderPlugin_h
#define __vtkPTXReaderPlugin_h
#include "vtkPolyDataAlgorithm.h"
#include "vtkSmartPointer.h"
class vtkPTXReaderPlugin : public vtkPolyDataAlgorithm
{
public:
vtkTypeRevisionMacro(vtkPTXReaderPlugin,vtkPolyDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
static vtkPTXReaderPlugin *New();
// Description:
// Specify file name of the ptx file.
vtkSetStringMacro(FileName);
vtkGetStringMacro(FileName);
vtkSetMacro(Triangulate, bool);
vtkGetMacro(Triangulate, bool);
vtkSetMacro(SpanGaps, bool);
vtkGetMacro(SpanGaps, bool);
protected:
vtkPTXReaderPlugin();
~vtkPTXReaderPlugin(){}
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
private:
vtkPTXReaderPlugin(const vtkPTXReaderPlugin&); // Not implemented.
void operator=(const vtkPTXReaderPlugin&); // Not implemented.
char* FileName;
bool Triangulate;
bool SpanGaps;
};
#endif