26 #include "vtkFiltersSourcesModule.h"
29 #ifndef vtkHyperTreeGridPreConfiguredSource_h
30 #define vtkHyperTreeGridPreConfiguredSource_h
50 void GenerateUnbalanced(
vtkHyperTreeGrid* HTG,
unsigned int dim,
unsigned int factor,
51 unsigned int depth,
const std::vector<double>&
extent,
52 const std::vector<unsigned int>& subdivisions);
54 void GenerateBalanced(
vtkHyperTreeGrid* HTG,
unsigned int dim,
unsigned int factor,
55 unsigned int depth,
const std::vector<double>&
extent,
56 const std::vector<unsigned int>& subdivisions);
89 vtkGetEnumMacro(HTGMode, HTGType);
90 vtkSetEnumMacro(HTGMode, HTGType);
96 vtkGetEnumMacro(CustomArchitecture, HTGArchitecture);
97 vtkSetEnumMacro(CustomArchitecture, HTGArchitecture);
102 vtkGetMacro(CustomDim,
unsigned int);
103 vtkSetMacro(CustomDim,
unsigned int);
108 vtkGetMacro(CustomFactor,
unsigned int);
109 vtkSetMacro(CustomFactor,
unsigned int);
114 vtkGetMacro(CustomDepth,
unsigned int);
115 vtkSetMacro(CustomDepth,
unsigned int);
120 vtkGetVector6Macro(CustomExtent,
double);
121 vtkSetVector6Macro(CustomExtent,
double);
126 vtkGetVector3Macro(CustomSubdivisions,
unsigned int);
127 vtkSetVector3Macro(CustomSubdivisions,
unsigned int);
170 void Preprocess(
vtkHyperTreeGrid* HTG,
unsigned int dim,
unsigned int factor,
171 const std::vector<double>&
extent,
const std::vector<unsigned int>& subdivisions);
176 void RecurseBalanced(
193 double CustomExtent[6];
194 unsigned int CustomSubdivisions[3];
199 #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...