VTK
vtkTableToStructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTableToStructuredGrid.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 =========================================================================*/
25 #ifndef vtkTableToStructuredGrid_h
26 #define vtkTableToStructuredGrid_h
27 
28 #include "vtkFiltersGeneralModule.h" // For export macro
30 
31 class vtkTable;
32 
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
43  vtkSetVector6Macro(WholeExtent, int);
44  vtkGetVector6Macro(WholeExtent, int);
46 
48 
52 
54 
57  vtkSetClampMacro(XComponent, int, 0, VTK_INT_MAX);
58  vtkGetMacro(XComponent, int);
60 
62 
67 
69 
71  vtkSetClampMacro(YComponent, int, 0, VTK_INT_MAX);
72  vtkGetMacro(YComponent, int);
74 
76 
81 
83 
85  vtkSetClampMacro(ZComponent, int, 0, VTK_INT_MAX);
86  vtkGetMacro(ZComponent, int);
88 
89 //BTX
90 protected:
93 
95 
98 
100 
101  virtual int RequestData(vtkInformation* request,
102  vtkInformationVector** inputVector, vtkInformationVector* outputVector);
104 
106 
108  vtkInformationVector **vtkNotUsed(inputVector),
109  vtkInformationVector *outputVector);
111 
112  char* XColumn;
113  char* YColumn;
114  char* ZColumn;
118  int WholeExtent[6];
119 
120 private:
121  vtkTableToStructuredGrid(const vtkTableToStructuredGrid&); // Not implemented.
122  void operator=(const vtkTableToStructuredGrid&); // Not implemented.
123 //ETX
124 };
125 
126 #endif
127 
128 
vtkGetVector6Macro
#define vtkGetVector6Macro(name, type)
Definition: vtkSetGet.h:380
vtkTableToStructuredGrid::ZComponent
int ZComponent
Definition: vtkTableToStructuredGrid.h:117
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:132
vtkTableToStructuredGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTableToStructuredGrid
converts vtkTable to a vtkStructuredGrid.
Definition: vtkTableToStructuredGrid.h:34
vtkStructuredGridAlgorithm.h
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition: vtkStructuredGridAlgorithm.h:41
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkTableToStructuredGrid::YColumn
char * YColumn
Definition: vtkTableToStructuredGrid.h:113
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:63
vtkTableToStructuredGrid::XColumn
char * XColumn
Definition: vtkTableToStructuredGrid.h:112
vtkTableToStructuredGrid::Convert
int Convert(vtkTable *, vtkStructuredGrid *, int extent[6])
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkNotUsed
#define vtkNotUsed(x)
Definition: vtkSetGet.h:557
vtkFiltersGeneralModule.h
vtkTableToStructuredGrid::RequestInformation
virtual int RequestInformation(vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkTableToStructuredGrid::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTableToStructuredGrid::YComponent
int YComponent
Definition: vtkTableToStructuredGrid.h:116
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkTableToStructuredGrid::~vtkTableToStructuredGrid
~vtkTableToStructuredGrid()
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkTableToStructuredGrid::XComponent
int XComponent
Definition: vtkTableToStructuredGrid.h:115
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkSetVector6Macro
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:360
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkTableToStructuredGrid::vtkTableToStructuredGrid
vtkTableToStructuredGrid()
vtkTableToStructuredGrid::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkTableToStructuredGrid::ZColumn
char * ZColumn
Definition: vtkTableToStructuredGrid.h:114
vtkTableToStructuredGrid::New
static vtkTableToStructuredGrid * New()