VTK  9.2.6
vtkDataObjectGenerator.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkDataObjectGenerator.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=========================================================================*/
39
40#ifndef vtkDataObjectGenerator_h
41#define vtkDataObjectGenerator_h
42
44#include "vtkFiltersCoreModule.h" // For export macro
45
46class vtkInternalStructureCache;
47
48class VTKFILTERSCORE_EXPORT vtkDataObjectGenerator : public vtkDataObjectAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
56
59 vtkSetStringMacro(Program);
60 vtkGetStringMacro(Program);
62
63protected:
66
68 vtkInformation* req, vtkInformationVector** inV, vtkInformationVector* outV) override;
70 vtkInformation* req, vtkInformationVector** inV, vtkInformationVector* outV) override;
72 vtkInformation* req, vtkInformationVector** inV, vtkInformationVector* outV) override;
74 vtkInformation* req, vtkInformationVector** inV, vtkInformationVector* outV) override;
75
76 // the string to parse to create a structure
77 char* Program;
78 // a record of the structure
79 vtkInternalStructureCache* Structure;
80
81 // Helper for RequestDataObject
82 vtkDataObject* CreateOutputDataObjects(vtkInternalStructureCache* structure);
83 // Helper for RequestData
85 vtkInternalStructureCache* structure, int level, int stripe = 0);
86
87 // to determine which composite data stripe to fill in
90
91 // create the templated atomic data sets
103
104 // used to spatially separate sub data sets within composites
105 double XOffset; // increases for each dataset index
106 double YOffset; // increases for each sub data set
107 double ZOffset; // increases for each group index
108
109 // used to filling in point and cell values with unique Ids
112
113 // assign point and cell values to each point and cell
115
116private:
118 void operator=(const vtkDataObjectGenerator&) = delete;
119};
120
121#endif
void MakeUnstructuredGrid1(vtkDataSet *ds)
vtkInternalStructureCache * Structure
void MakeUnstructuredGrid2(vtkDataSet *ds)
void MakeImageData1(vtkDataSet *ds)
void MakeStructuredGrid1(vtkDataSet *ds)
void MakeImageData2(vtkDataSet *ds)
void MakeRectilinearGrid1(vtkDataSet *ds)
void MakePolyData2(vtkDataSet *ds)
vtkDataObject * FillOutputDataObjects(vtkInternalStructureCache *structure, int level, int stripe=0)
~vtkDataObjectGenerator() override
int RequestDataObject(vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
This is called by the superclass.
vtkDataObject * CreateOutputDataObjects(vtkInternalStructureCache *structure)
void MakeValues(vtkDataSet *ds)
int RequestInformation(vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
void MakeUniformGrid1(vtkDataSet *ds)
void MakeUnstructuredGrid4(vtkDataSet *ds)
static vtkDataObjectGenerator * New()
int RequestData(vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
void MakePolyData1(vtkDataSet *ds)
void MakeUnstructuredGrid3(vtkDataSet *ds)
int RequestUpdateExtent(vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data
abstract class to specify dataset behavior
Definition vtkDataSet.h:63
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkIdType
Definition vtkType.h:332