36 #ifndef vtkHyperTreeGridSource_h
37 #define vtkHyperTreeGridSource_h
39 #include "vtkFiltersSourcesModule.h"
46 VTK_ABI_NAMESPACE_BEGIN
67 unsigned int GetMaxDepth();
75 void SetMaxDepth(
unsigned int levels);
81 vtkSetVector3Macro(Origin,
double);
82 vtkGetVector3Macro(Origin,
double);
89 vtkSetVector3Macro(GridScale,
double);
90 vtkGetVector3Macro(GridScale,
double);
98 void SetDimensions(
const unsigned int* dims);
99 void SetDimensions(
unsigned int,
unsigned int,
unsigned int);
100 vtkGetVector3Macro(Dimensions,
unsigned int);
108 vtkSetMacro(TransposedRootIndexing,
bool);
109 vtkGetMacro(TransposedRootIndexing,
bool);
110 void SetIndexingModeToKJI();
111 void SetIndexingModeToIJK();
118 vtkGetMacro(Orientation,
unsigned int);
125 vtkSetClampMacro(BranchFactor,
unsigned int, 2, 3);
126 vtkGetMacro(BranchFactor,
unsigned int);
135 vtkSetMacro(UseDescriptor,
bool);
136 vtkGetMacro(UseDescriptor,
bool);
137 vtkBooleanMacro(UseDescriptor,
bool);
146 vtkSetMacro(UseMask,
bool);
147 vtkGetMacro(UseMask,
bool);
148 vtkBooleanMacro(UseMask,
bool);
157 vtkSetMacro(GenerateInterfaceFields,
bool);
158 vtkGetMacro(GenerateInterfaceFields,
bool);
159 vtkBooleanMacro(GenerateInterfaceFields,
bool);
166 vtkSetStringMacro(Descriptor);
167 vtkGetStringMacro(Descriptor);
174 vtkSetStringMacro(Mask);
175 vtkGetStringMacro(Mask);
211 void SetQuadricCoefficients(
double[10]);
212 void GetQuadricCoefficients(
double[10]);
213 double* GetQuadricCoefficients();
247 int InitializeFromStringDescriptor();
252 int InitializeFromBitsDescriptor();
257 void InitTreeFromDescriptor(
265 int idx[3],
int parentPos);
272 int idx[3],
int parentPos);
278 unsigned int level,
int treeIdx,
const int idx[3],
double origin[3],
double size[3]);
283 double EvaluateQuadric(
double[3]);
289 unsigned int Dimensions[3];
328 VTK_ABI_NAMESPACE_END
abstract interface for implicit functions
vtkHyperTreeGrid * OutputHTG
Create a synthetic grid of hypertrees.
std::vector< vtkIdType > LevelBitsIndexCnt
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
std::map< vtkIdType, vtkIdType > LevelZeroMaterialMap
vtkDataArray * ZCoordinates
vtkTypeUInt32 vtkMTimeType
unsigned int BranchFactor
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
std::vector< std::string > LevelDescriptors
vtkIdTypeArray * LevelZeroMaterialIndex
dynamic, self-adjusting array of vtkIdType
Objects for traversal a HyperTreeGrid.
vtkDataArray * YCoordinates
std::vector< vtkIdType > LevelBitsIndex
a simple class to control print indentation
evaluate implicit quadric function
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkDataArray * XCoordinates
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
dynamic, self-adjusting array of bits
std::vector< std::string > LevelMasks
Superclass for algorithms that produce a hyper tree grid as output.
vtkBitArray * DescriptorBits
static vtkAlgorithm * New()
std::vector< int > LevelCounters
general representation of visualization data
void SetGridScale(double scale)
Set/Get the scale to be applied to root cells in each dimension of the grid.
bool TransposedRootIndexing
bool GenerateInterfaceFields
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...