VTK
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 #ifndef vtkTableToPolyData_h
24 #define vtkTableToPolyData_h
25 
26 #include "vtkFiltersGeneralModule.h" // For export macro
27 #include "vtkPolyDataAlgorithm.h"
28 
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
37 
41 
43 
45  vtkSetClampMacro(XColumnIndex, int, 0, VTK_INT_MAX);
46  vtkGetMacro(XColumnIndex, int);
48 
50 
53  vtkSetClampMacro(XComponent, int, 0, VTK_INT_MAX);
54  vtkGetMacro(XComponent, int);
56 
58 
63 
65 
67  vtkSetClampMacro(YColumnIndex, int, 0, VTK_INT_MAX);
68  vtkGetMacro(YColumnIndex, int);
70 
72 
74  vtkSetClampMacro(YComponent, int, 0, VTK_INT_MAX);
75  vtkGetMacro(YComponent, int);
77 
79 
84 
86 
88  vtkSetClampMacro(ZColumnIndex, int, 0, VTK_INT_MAX);
89  vtkGetMacro(ZColumnIndex, int);
91 
93 
95  vtkSetClampMacro(ZComponent, int, 0, VTK_INT_MAX);
96  vtkGetMacro(ZComponent, int);
98 
100 
103  vtkSetMacro(Create2DPoints, bool);
104  vtkGetMacro(Create2DPoints, bool);
105  vtkBooleanMacro(Create2DPoints, bool);
107 
109 
111  vtkSetMacro(PreserveCoordinateColumnsAsDataArrays, bool);
112  vtkGetMacro(PreserveCoordinateColumnsAsDataArrays, bool);
113  vtkBooleanMacro(PreserveCoordinateColumnsAsDataArrays, bool);
115 
116 //BTX
117 protected:
120 
123 
125 
126  virtual int RequestData(vtkInformation* request,
127  vtkInformationVector** inputVector, vtkInformationVector* outputVector);
129 
130  char* XColumn;
131  char* YColumn;
132  char* ZColumn;
141 private:
142  vtkTableToPolyData(const vtkTableToPolyData&); // Not implemented.
143  void operator=(const vtkTableToPolyData&); // Not implemented.
144 //ETX
145 };
146 
147 #endif
148 
149 
vtkTableToPolyData::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:132
vtkTableToPolyData::PreserveCoordinateColumnsAsDataArrays
bool PreserveCoordinateColumnsAsDataArrays
Definition: vtkTableToPolyData.h:140
vtkTableToPolyData::YColumn
char * YColumn
Definition: vtkTableToPolyData.h:131
vtkTableToPolyData::YComponent
int YComponent
Definition: vtkTableToPolyData.h:137
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTableToPolyData
filter used to convert a vtkTable to a vtkPolyData consisting of vertices.
Definition: vtkTableToPolyData.h:30
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTableToPolyData::vtkTableToPolyData
vtkTableToPolyData()
vtkTableToPolyData::ZComponent
int ZComponent
Definition: vtkTableToPolyData.h:138
vtkTableToPolyData::XComponent
int XComponent
Definition: vtkTableToPolyData.h:136
vtkPolyDataAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkTableToPolyData::ZColumnIndex
int ZColumnIndex
Definition: vtkTableToPolyData.h:135
vtkFiltersGeneralModule.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkTableToPolyData::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkTableToPolyData::XColumnIndex
int XColumnIndex
Definition: vtkTableToPolyData.h:133
vtkTableToPolyData::Create2DPoints
bool Create2DPoints
Definition: vtkTableToPolyData.h:139
vtkTableToPolyData::New
static vtkTableToPolyData * New()
vtkTableToPolyData::YColumnIndex
int YColumnIndex
Definition: vtkTableToPolyData.h:134
vtkTableToPolyData::ZColumn
char * ZColumn
Definition: vtkTableToPolyData.h:132
vtkTableToPolyData::XColumn
char * XColumn
Definition: vtkTableToPolyData.h:130
vtkTableToPolyData::~vtkTableToPolyData
~vtkTableToPolyData()
vtkTableToPolyData::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44