VTK  9.1.0
vtkDataObjectToDataSetFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataObjectToDataSetFilter.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 =========================================================================*/
84 #ifndef vtkDataObjectToDataSetFilter_h
85 #define vtkDataObjectToDataSetFilter_h
86 
87 #include "vtkDataSetAlgorithm.h"
88 #include "vtkFiltersCoreModule.h" // For export macro
89 
90 class vtkCellArray;
91 class vtkDataArray;
92 class vtkDataSet;
93 class vtkPointSet;
94 class vtkPolyData;
95 class vtkRectilinearGrid;
96 class vtkStructuredGrid;
99 
100 class VTKFILTERSCORE_EXPORT vtkDataObjectToDataSetFilter : public vtkDataSetAlgorithm
101 {
102 public:
105  void PrintSelf(ostream& os, vtkIndent indent) override;
106 
111 
113 
116  void SetDataSetType(int);
117  vtkGetMacro(DataSetType, int);
118  void SetDataSetTypeToPolyData() { this->SetDataSetType(VTK_POLY_DATA); }
119  void SetDataSetTypeToStructuredPoints() { this->SetDataSetType(VTK_STRUCTURED_POINTS); }
120  void SetDataSetTypeToStructuredGrid() { this->SetDataSetType(VTK_STRUCTURED_GRID); }
121  void SetDataSetTypeToRectilinearGrid() { this->SetDataSetType(VTK_RECTILINEAR_GRID); }
122  void SetDataSetTypeToUnstructuredGrid() { this->SetDataSetType(VTK_UNSTRUCTURED_GRID); }
124 
126 
141 
143 
156  int comp, const char* arrayName, int arrayComp, int min, int max, int normalize);
157  void SetPointComponent(int comp, const char* arrayName, int arrayComp)
158  {
159  this->SetPointComponent(comp, arrayName, arrayComp, -1, -1, this->DefaultNormalize);
160  }
161  const char* GetPointComponentArrayName(int comp);
167 
169 
178  void SetVertsComponent(const char* arrayName, int arrayComp, int min, int max);
179  void SetVertsComponent(const char* arrayName, int arrayComp)
180  {
181  this->SetVertsComponent(arrayName, arrayComp, -1, -1);
182  }
187  void SetLinesComponent(const char* arrayName, int arrayComp, int min, int max);
188  void SetLinesComponent(const char* arrayName, int arrayComp)
189  {
190  this->SetLinesComponent(arrayName, arrayComp, -1, -1);
191  }
196  void SetPolysComponent(const char* arrayName, int arrayComp, int min, int max);
197  void SetPolysComponent(const char* arrayName, int arrayComp)
198  {
199  this->SetPolysComponent(arrayName, arrayComp, -1, -1);
200  }
205  void SetStripsComponent(const char* arrayName, int arrayComp, int min, int max);
206  void SetStripsComponent(const char* arrayName, int arrayComp)
207  {
208  this->SetStripsComponent(arrayName, arrayComp, -1, -1);
209  }
215 
217 
226  void SetCellTypeComponent(const char* arrayName, int arrayComp, int min, int max);
227  void SetCellTypeComponent(const char* arrayName, int arrayComp)
228  {
229  this->SetCellTypeComponent(arrayName, arrayComp, -1, -1);
230  }
235  void SetCellConnectivityComponent(const char* arrayName, int arrayComp, int min, int max);
236  void SetCellConnectivityComponent(const char* arrayName, int arrayComp)
237  {
238  this->SetCellConnectivityComponent(arrayName, arrayComp, -1, -1);
239  }
245 
247 
251  vtkSetMacro(DefaultNormalize, vtkTypeBool);
252  vtkGetMacro(DefaultNormalize, vtkTypeBool);
253  vtkBooleanMacro(DefaultNormalize, vtkTypeBool);
255 
257 
262  vtkSetVector3Macro(Dimensions, int);
263  vtkGetVectorMacro(Dimensions, int, 3);
265 
267 
271  vtkSetVector3Macro(Origin, double);
272  vtkGetVectorMacro(Origin, double, 3);
274 
276 
280  vtkSetVector3Macro(Spacing, double);
281  vtkGetVectorMacro(Spacing, double, 3);
283 
285 
291  void SetDimensionsComponent(const char* arrayName, int arrayComp, int min, int max);
292  void SetDimensionsComponent(const char* arrayName, int arrayComp)
293  {
294  this->SetDimensionsComponent(arrayName, arrayComp, -1, -1);
295  }
296  void SetSpacingComponent(const char* arrayName, int arrayComp, int min, int max);
297  void SetSpacingComponent(const char* arrayName, int arrayComp)
298  {
299  this->SetSpacingComponent(arrayName, arrayComp, -1, -1);
300  }
301  void SetOriginComponent(const char* arrayName, int arrayComp, int min, int max);
302  void SetOriginComponent(const char* arrayName, int arrayComp)
303  {
304  this->SetOriginComponent(arrayName, arrayComp, -1, -1);
305  }
307 
308 protected:
311 
313  vtkInformationVector*) override; // generate output data
318 
319  char Updating;
320 
321  // control flags used to generate the output dataset
322  int DataSetType; // the type of dataset to generate
323 
324  // Support definition of points
325  char* PointArrays[3]; // the name of the arrays
326  int PointArrayComponents[3]; // the array components used for x-y-z
327  vtkIdType PointComponentRange[3][2]; // the range of the components to use
328  int PointNormalize[3]; // flags control normalization
329 
330  // These define cells for vtkPolyData
331  char* VertsArray; // the name of the array
332  int VertsArrayComponent; // the array component
333  vtkIdType VertsComponentRange[2]; // the range of the components to use
334 
335  char* LinesArray; // the name of the array
336  int LinesArrayComponent; // the array component used for cell types
337  vtkIdType LinesComponentRange[2]; // the range of the components to use
338 
339  char* PolysArray; // the name of the array
340  int PolysArrayComponent; // the array component
341  vtkIdType PolysComponentRange[2]; // the range of the components to use
342 
343  char* StripsArray; // the name of the array
344  int StripsArrayComponent; // the array component
345  vtkIdType StripsComponentRange[2]; // the range of the components to use
346 
347  // Used to define vtkUnstructuredGrid datasets
348  char* CellTypeArray; // the name of the array
349  int CellTypeArrayComponent; // the array component used for cell types
350  vtkIdType CellTypeComponentRange[2]; // the range of the components to use
351 
352  char* CellConnectivityArray; // the name of the array
353  int CellConnectivityArrayComponent; // the array components used for cell connectivity
354  vtkIdType CellConnectivityComponentRange[2]; // the range of the components to use
355 
356  // helper methods (and attributes) to construct datasets
357  void SetArrayName(char*& name, char* newName);
362  vtkCellArray* ConstructCellArray(vtkDataArray* da, int comp, vtkIdType compRange[2]);
363 
364  // Default value for normalization
366 
367  // Couple of different ways to specify dimensions, spacing, and origin.
368  int Dimensions[3];
369  double Origin[3];
370  double Spacing[3];
371 
372  char* DimensionsArray; // the name of the array
373  int DimensionsArrayComponent; // the component of the array used for dimensions
374  vtkIdType DimensionsComponentRange[2]; // the ComponentRange of the array for the dimensions
375 
376  char* OriginArray; // the name of the array
377  int OriginArrayComponent; // the component of the array used for Origins
378  vtkIdType OriginComponentRange[2]; // the ComponentRange of the array for the Origins
379 
380  char* SpacingArray; // the name of the array
381  int SpacingArrayComponent; // the component of the array used for Spacings
382  vtkIdType SpacingComponentRange[2]; // the ComponentRange of the array for the Spacings
383 
387 
388 private:
390  void operator=(const vtkDataObjectToDataSetFilter&) = delete;
391 };
392 
393 #endif
vtkDataObjectToDataSetFilter::GetPointComponentMinRange
int GetPointComponentMinRange(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
vtkDataObjectToDataSetFilter
map field data to concrete dataset
Definition: vtkDataObjectToDataSetFilter.h:101
vtkDataObjectToDataSetFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkDataObjectToDataSetFilter::GetPointComponentArrayName
const char * GetPointComponentArrayName(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
vtkDataObjectToDataSetFilter::GetCellTypeComponentArrayName
const char * GetCellTypeComponentArrayName()
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataObjectToDataSetFilter::LinesArrayComponent
int LinesArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:336
vtkStructuredPoints
A subclass of ImageData.
Definition: vtkStructuredPoints.h:125
vtkDataObjectToDataSetFilter::SetDimensionsComponent
void SetDimensionsComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
Definition: vtkDataObjectToDataSetFilter.h:292
vtkDataObjectToDataSetFilter::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
vtkDataObjectToDataSetFilter::GetPolyDataOutput
vtkPolyData * GetPolyDataOutput()
Get the output in different forms.
vtkDataObjectToDataSetFilter::GetCellConnectivityComponentArrayName
const char * GetCellConnectivityComponentArrayName()
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataObjectToDataSetFilter::ConstructDimensions
void ConstructDimensions(vtkDataObject *input)
vtkDataObjectToDataSetFilter::GetVertsComponentMinRange
int GetVertsComponentMinRange()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::~vtkDataObjectToDataSetFilter
~vtkDataObjectToDataSetFilter() override
vtkDataObjectToDataSetFilter::SetCellTypeComponent
void SetCellTypeComponent(const char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
Definition: vtkDataObjectToDataSetFilter.h:227
vtx::types::DataSetType
DataSetType
Definition: VTXTypes.h:42
vtkIdType
int vtkIdType
Definition: vtkType.h:332
vtkDataObjectToDataSetFilter::DefaultNormalize
vtkTypeBool DefaultNormalize
Definition: vtkDataObjectToDataSetFilter.h:365
vtkDataObjectToDataSetFilter::VertsArray
char * VertsArray
Definition: vtkDataObjectToDataSetFilter.h:331
vtkDataObjectToDataSetFilter::SetCellConnectivityComponent
void SetCellConnectivityComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataObjectToDataSetFilter::SetCellConnectivityComponent
void SetCellConnectivityComponent(const char *arrayName, int arrayComp)
Define cell types and cell connectivity when creating unstructured grid data.
Definition: vtkDataObjectToDataSetFilter.h:236
vtkDataObjectToDataSetFilter::GetCellConnectivityComponentMinRange
int GetCellConnectivityComponentMinRange()
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataObjectToDataSetFilter::ConstructPoints
vtkIdType ConstructPoints(vtkDataObject *input, vtkPointSet *ps)
vtkDataObjectToDataSetFilter::GetStripsComponentMinRange
int GetStripsComponentMinRange()
Define cell connectivity when creating vtkPolyData.
vtkRectilinearGrid
a dataset that is topologically regular with variable spacing in the three coordinate directions
Definition: vtkRectilinearGrid.h:151
vtkDataObjectToDataSetFilter::VertsArrayComponent
int VertsArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:332
vtkDataObjectToDataSetFilter::LinesArray
char * LinesArray
Definition: vtkDataObjectToDataSetFilter.h:335
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkDataObjectToDataSetFilter::GetLinesComponentMinRange
int GetLinesComponentMinRange()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::OriginArrayComponent
int OriginArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:377
vtkDataObjectToDataSetFilter::GetRectilinearGridOutput
vtkRectilinearGrid * GetRectilinearGridOutput()
Get the output in different forms.
vtkDataObjectToDataSetFilter::GetLinesComponentArrayComponent
int GetLinesComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::SetDataSetTypeToRectilinearGrid
void SetDataSetTypeToRectilinearGrid()
Control what type of data is generated for output.
Definition: vtkDataObjectToDataSetFilter.h:121
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:167
vtkDataObjectToDataSetFilter::PolysArrayComponent
int PolysArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:340
vtkDataObjectToDataSetFilter::GetStripsComponentArrayComponent
int GetStripsComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::SetLinesComponent
void SetLinesComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::SetArrayName
void SetArrayName(char *&name, char *newName)
vtkDataObjectToDataSetFilter::GetStripsComponentMaxRange
int GetStripsComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataObjectToDataSetFilter::GetVertsComponentMaxRange
int GetVertsComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
vtkDataObjectToDataSetFilter::GetStripsComponentArrayName
const char * GetStripsComponentArrayName()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::SetOriginComponent
void SetOriginComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
Definition: vtkDataObjectToDataSetFilter.h:302
VTK_STRUCTURED_POINTS
#define VTK_STRUCTURED_POINTS
Definition: vtkType.h:78
vtkDataObjectToDataSetFilter::vtkDataObjectToDataSetFilter
vtkDataObjectToDataSetFilter()
vtkDataObjectToDataSetFilter::SetSpacingComponent
void SetSpacingComponent(const char *arrayName, int arrayComp)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
Definition: vtkDataObjectToDataSetFilter.h:297
max
#define max(a, b)
Definition: vtkX3DExporterFIWriterHelper.h:31
vtkDataObjectToDataSetFilter::GetCellConnectivityComponentMaxRange
int GetCellConnectivityComponentMaxRange()
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:49
vtkDataObjectToDataSetFilter::SetVertsComponent
void SetVertsComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::ConstructCells
int ConstructCells(vtkDataObject *input, vtkUnstructuredGrid *ug)
vtkDataObjectToDataSetFilter::GetStructuredGridOutput
vtkStructuredGrid * GetStructuredGridOutput()
Get the output in different forms.
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkDataObjectToDataSetFilter::SpacingArrayComponent
int SpacingArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:381
vtkDataObjectToDataSetFilter::GetPointComponentNormailzeFlag
int GetPointComponentNormailzeFlag(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
vtkDataObjectToDataSetFilter::SetDataSetTypeToStructuredGrid
void SetDataSetTypeToStructuredGrid()
Control what type of data is generated for output.
Definition: vtkDataObjectToDataSetFilter.h:120
vtkDataObjectToDataSetFilter::SetSpacingComponent
void SetSpacingComponent(const char *arrayName, int arrayComp, int min, int max)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
vtkDataObjectToDataSetFilter::GetUnstructuredGridOutput
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output in different forms.
vtkDataObjectToDataSetFilter::SetPointComponent
void SetPointComponent(int comp, const char *arrayName, int arrayComp)
Define the component of the field to be used for the x, y, and z values of the points.
Definition: vtkDataObjectToDataSetFilter.h:157
vtkDataObjectToDataSetFilter::SetDimensionsComponent
void SetDimensionsComponent(const char *arrayName, int arrayComp, int min, int max)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
vtkDataObjectToDataSetFilter::GetStructuredPointsOutput
vtkStructuredPoints * GetStructuredPointsOutput()
Get the output in different forms.
vtkDataObjectToDataSetFilter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataObjectToDataSetFilter::CellTypeArrayComponent
int CellTypeArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:349
vtkDataObjectToDataSetFilter::SetVertsComponent
void SetVertsComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
Definition: vtkDataObjectToDataSetFilter.h:179
vtkDataObjectToDataSetFilter::GetLinesComponentMaxRange
int GetLinesComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::ConstructCellArray
vtkCellArray * ConstructCellArray(vtkDataArray *da, int comp, vtkIdType compRange[2])
vtkDataObjectToDataSetFilter::GetOutput
vtkDataSet * GetOutput(int idx)
Get the output in different forms.
vtkDataObjectToDataSetFilter::SetCellTypeComponent
void SetCellTypeComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataObjectToDataSetFilter::RequestDataObject
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to create empty output data ob...
vtkDataObjectToDataSetFilter::GetCellTypeComponentArrayComponent
int GetCellTypeComponentArrayComponent()
Define cell types and cell connectivity when creating unstructured grid data.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkDataObjectToDataSetFilter::SetOriginComponent
void SetOriginComponent(const char *arrayName, int arrayComp, int min, int max)
Alternative methods to specify the dimensions, spacing, and origin for those datasets requiring this ...
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:290
vtkDataObjectToDataSetFilter::GetPolysComponentArrayComponent
int GetPolysComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::SetPointComponent
void SetPointComponent(int comp, const char *arrayName, int arrayComp, int min, int max, int normalize)
Define the component of the field to be used for the x, y, and z values of the points.
vtkDataObjectToDataSetFilter::New
static vtkDataObjectToDataSetFilter * New()
vtkDataObjectToDataSetFilter::StripsArray
char * StripsArray
Definition: vtkDataObjectToDataSetFilter.h:343
vtkDataObjectToDataSetFilter::ConstructCells
int ConstructCells(vtkDataObject *input, vtkPolyData *pd)
vtkDataObjectToDataSetFilter::GetInput
vtkDataObject * GetInput()
Get the input to the filter.
vtkDataObjectToDataSetFilter::GetLinesComponentArrayName
const char * GetLinesComponentArrayName()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::StripsArrayComponent
int StripsArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:344
vtkDataObjectToDataSetFilter::SetLinesComponent
void SetLinesComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
Definition: vtkDataObjectToDataSetFilter.h:188
vtkX3D::name
@ name
Definition: vtkX3D.h:225
vtkDataObjectToDataSetFilter::GetPolysComponentMinRange
int GetPolysComponentMinRange()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::CellConnectivityArray
char * CellConnectivityArray
Definition: vtkDataObjectToDataSetFilter.h:352
vtkDataObjectToDataSetFilter::SetDataSetTypeToUnstructuredGrid
void SetDataSetTypeToUnstructuredGrid()
Control what type of data is generated for output.
Definition: vtkDataObjectToDataSetFilter.h:122
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkDataObjectToDataSetFilter::GetCellTypeComponentMinRange
int GetCellTypeComponentMinRange()
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataObjectToDataSetFilter::GetVertsComponentArrayComponent
int GetVertsComponentArrayComponent()
Define cell connectivity when creating vtkPolyData.
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataObjectToDataSetFilter::GetCellTypeComponentMaxRange
int GetCellTypeComponentMaxRange()
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataObjectToDataSetFilter::SetDataSetType
void SetDataSetType(int)
Control what type of data is generated for output.
vtkDataObjectToDataSetFilter::GetCellConnectivityComponentArrayComponent
int GetCellConnectivityComponentArrayComponent()
Define cell types and cell connectivity when creating unstructured grid data.
vtkDataSetAlgorithm.h
vtkDataObjectToDataSetFilter::PolysArray
char * PolysArray
Definition: vtkDataObjectToDataSetFilter.h:339
vtkDataObjectToDataSetFilter::SetDataSetTypeToPolyData
void SetDataSetTypeToPolyData()
Control what type of data is generated for output.
Definition: vtkDataObjectToDataSetFilter.h:118
vtkDataObjectToDataSetFilter::GetPointComponentArrayComponent
int GetPointComponentArrayComponent(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
vtkDataObjectToDataSetFilter::GetOutput
vtkDataSet * GetOutput()
Get the output in different forms.
vtkDataObjectToDataSetFilter::ConstructPoints
vtkIdType ConstructPoints(vtkDataObject *input, vtkRectilinearGrid *rg)
vtkDataObjectToDataSetFilter::GetPolysComponentArrayName
const char * GetPolysComponentArrayName()
Define cell connectivity when creating vtkPolyData.
vtkPointSet
concrete class for storing a set of points
Definition: vtkPointSet.h:106
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:195
vtkDataObjectToDataSetFilter::GetVertsComponentArrayName
const char * GetVertsComponentArrayName()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::SetStripsComponent
void SetStripsComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
Definition: vtkDataObjectToDataSetFilter.h:206
vtkDataObjectToDataSetFilter::GetPolysComponentMaxRange
int GetPolysComponentMaxRange()
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::SetStripsComponent
void SetStripsComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
vtkDataObjectToDataSetFilter::Updating
char Updating
Definition: vtkDataObjectToDataSetFilter.h:319
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:204
vtkDataObjectToDataSetFilter::CellConnectivityArrayComponent
int CellConnectivityArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:353
vtkDataObjectToDataSetFilter::GetPointComponentMaxRange
int GetPointComponentMaxRange(int comp)
Define the component of the field to be used for the x, y, and z values of the points.
vtkDataObjectToDataSetFilter::ConstructSpacing
void ConstructSpacing(vtkDataObject *input)
vtkDataObjectToDataSetFilter::SetDataSetTypeToStructuredPoints
void SetDataSetTypeToStructuredPoints()
Control what type of data is generated for output.
Definition: vtkDataObjectToDataSetFilter.h:119
vtkDataObjectToDataSetFilter::ConstructOrigin
void ConstructOrigin(vtkDataObject *input)
VTK_UNSTRUCTURED_GRID
#define VTK_UNSTRUCTURED_GRID
Definition: vtkType.h:81
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169
vtkDataObjectToDataSetFilter::DimensionsArray
char * DimensionsArray
Definition: vtkDataObjectToDataSetFilter.h:372
vtkDataObjectToDataSetFilter::SetPolysComponent
void SetPolysComponent(const char *arrayName, int arrayComp)
Define cell connectivity when creating vtkPolyData.
Definition: vtkDataObjectToDataSetFilter.h:197
vtkDataObjectToDataSetFilter::SetPolysComponent
void SetPolysComponent(const char *arrayName, int arrayComp, int min, int max)
Define cell connectivity when creating vtkPolyData.
VTK_POLY_DATA
#define VTK_POLY_DATA
Definition: vtkType.h:77
vtkDataObjectToDataSetFilter::SpacingArray
char * SpacingArray
Definition: vtkDataObjectToDataSetFilter.h:380
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
VTK_RECTILINEAR_GRID
#define VTK_RECTILINEAR_GRID
Definition: vtkType.h:80
vtkDataObjectToDataSetFilter::OriginArray
char * OriginArray
Definition: vtkDataObjectToDataSetFilter.h:376
vtkDataObjectToDataSetFilter::DataSetType
int DataSetType
Definition: vtkDataObjectToDataSetFilter.h:322
vtkDataObjectToDataSetFilter::DimensionsArrayComponent
int DimensionsArrayComponent
Definition: vtkDataObjectToDataSetFilter.h:373
VTK_STRUCTURED_GRID
#define VTK_STRUCTURED_GRID
Definition: vtkType.h:79
vtkDataObjectToDataSetFilter::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when each filter in the pipeline decides what portion of its inp...
vtkDataObjectToDataSetFilter::CellTypeArray
char * CellTypeArray
Definition: vtkDataObjectToDataSetFilter.h:348