VTK  9.2.6
vtkTableToPolyData.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTableToPolyData.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
23
24#ifndef vtkTableToPolyData_h
25#define vtkTableToPolyData_h
26
27#include "vtkFiltersGeneralModule.h" // For export macro
29
30class VTKFILTERSGENERAL_EXPORT vtkTableToPolyData : public vtkPolyDataAlgorithm
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
41 vtkSetStringMacro(XColumn);
42 vtkGetStringMacro(XColumn);
44
46
49 vtkSetClampMacro(XColumnIndex, int, 0, VTK_INT_MAX);
50 vtkGetMacro(XColumnIndex, int);
52
54
59 vtkSetClampMacro(XComponent, int, 0, VTK_INT_MAX);
60 vtkGetMacro(XComponent, int);
62
64
68 vtkSetStringMacro(YColumn);
69 vtkGetStringMacro(YColumn);
71
73
76 vtkSetClampMacro(YColumnIndex, int, 0, VTK_INT_MAX);
77 vtkGetMacro(YColumnIndex, int);
79
81
85 vtkSetClampMacro(YComponent, int, 0, VTK_INT_MAX);
86 vtkGetMacro(YComponent, int);
88
90
94 vtkSetStringMacro(ZColumn);
95 vtkGetStringMacro(ZColumn);
97
99
102 vtkSetClampMacro(ZColumnIndex, int, 0, VTK_INT_MAX);
103 vtkGetMacro(ZColumnIndex, int);
105
107
111 vtkSetClampMacro(ZComponent, int, 0, VTK_INT_MAX);
112 vtkGetMacro(ZComponent, int);
114
116
121 vtkSetMacro(Create2DPoints, bool);
122 vtkGetMacro(Create2DPoints, bool);
123 vtkBooleanMacro(Create2DPoints, bool);
125
127
135
136protected:
139
143 int FillInputPortInformation(int port, vtkInformation* info) override;
144
149 vtkInformationVector* outputVector) override;
150
151 char* XColumn;
152 char* YColumn;
153 char* ZColumn;
162
163private:
164 vtkTableToPolyData(const vtkTableToPolyData&) = delete;
165 void operator=(const vtkTableToPolyData&) = delete;
166};
167
168#endif
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkTableToPolyData() override
static vtkTableToPolyData * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Overridden to specify that input must be a vtkTable.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Convert input vtkTable to vtkPolyData.
#define VTK_INT_MAX
Definition vtkType.h:155