14 #include "vtkFiltersSourcesModule.h"
17 #ifndef vtkHyperTreeGridPreConfiguredSource_h
18 #define vtkHyperTreeGridPreConfiguredSource_h
20 VTK_ABI_NAMESPACE_BEGIN
39 void GenerateUnbalanced(
vtkHyperTreeGrid* HTG,
unsigned int dim,
unsigned int factor,
40 unsigned int depth,
const std::vector<double>&
extent,
41 const std::vector<unsigned int>& subdivisions);
43 void GenerateBalanced(
vtkHyperTreeGrid* HTG,
unsigned int dim,
unsigned int factor,
44 unsigned int depth,
const std::vector<double>&
extent,
45 const std::vector<unsigned int>& subdivisions);
78 vtkGetEnumMacro(HTGMode, HTGType);
79 vtkSetEnumMacro(HTGMode, HTGType);
85 vtkGetEnumMacro(CustomArchitecture, HTGArchitecture);
86 vtkSetEnumMacro(CustomArchitecture, HTGArchitecture);
91 vtkGetMacro(CustomDim,
unsigned int);
92 vtkSetMacro(CustomDim,
unsigned int);
97 vtkGetMacro(CustomFactor,
unsigned int);
98 vtkSetMacro(CustomFactor,
unsigned int);
103 vtkGetMacro(CustomDepth,
unsigned int);
104 vtkSetMacro(CustomDepth,
unsigned int);
109 vtkGetVector6Macro(CustomExtent,
double);
110 vtkSetVector6Macro(CustomExtent,
double);
115 vtkGetVector3Macro(CustomSubdivisions,
unsigned int);
116 vtkSetVector3Macro(CustomSubdivisions,
unsigned int);
159 void Preprocess(
vtkHyperTreeGrid* HTG,
unsigned int dim,
unsigned int factor,
160 const std::vector<double>&
extent,
const std::vector<unsigned int>& subdivisions);
165 void RecurseBalanced(
182 double CustomExtent[6];
183 unsigned int CustomSubdivisions[3];
187 VTK_ABI_NAMESPACE_END
189 #endif // vtkHyperTreeGridPreConfiguredSource_h
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Objects for traversal a HyperTreeGrid.
dynamic, self-adjusting array of double
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
general representation of visualization data
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...