45 #ifndef vtkHyperTreeGridSource_h 46 #define vtkHyperTreeGridSource_h 48 #include "vtkFiltersSourcesModule.h" 72 VTK_LEGACY(
unsigned int GetMaximumLevel());
75 VTK_LEGACY(
void SetMaximumLevel(
unsigned int levels));
81 unsigned int GetMaxDepth();
89 void SetMaxDepth(
unsigned int levels);
95 vtkSetVector3Macro(Origin,
double);
96 vtkGetVector3Macro(Origin,
double);
103 vtkSetVector3Macro(GridScale,
double);
104 vtkGetVector3Macro(GridScale,
double);
112 void SetDimensions(
const unsigned int* dims);
113 void SetDimensions(
unsigned int,
unsigned int,
unsigned int);
114 vtkGetVector3Macro(Dimensions,
unsigned int);
122 vtkSetMacro(TransposedRootIndexing,
bool);
123 vtkGetMacro(TransposedRootIndexing,
bool);
124 void SetIndexingModeToKJI();
125 void SetIndexingModeToIJK();
132 vtkGetMacro(Orientation,
unsigned int);
139 vtkSetClampMacro(BranchFactor,
unsigned int, 2, 3);
140 vtkGetMacro(BranchFactor,
unsigned int);
149 vtkSetMacro(UseDescriptor,
bool);
150 vtkGetMacro(UseDescriptor,
bool);
151 vtkBooleanMacro(UseDescriptor,
bool);
160 vtkSetMacro(UseMask,
bool);
161 vtkGetMacro(UseMask,
bool);
162 vtkBooleanMacro(UseMask,
bool);
171 vtkSetMacro(GenerateInterfaceFields,
bool);
172 vtkGetMacro(GenerateInterfaceFields,
bool);
173 vtkBooleanMacro(GenerateInterfaceFields,
bool);
180 vtkSetStringMacro(Descriptor);
181 vtkGetStringMacro(Descriptor);
188 vtkSetStringMacro(Mask);
189 vtkGetStringMacro(Mask);
225 void SetQuadricCoefficients(
double[10]);
226 void GetQuadricCoefficients(
double[10]);
227 double* GetQuadricCoefficients();
261 int InitializeFromStringDescriptor();
266 int InitializeFromBitsDescriptor();
271 void InitTreeFromDescriptor(
279 int idx[3],
int parentPos);
286 int idx[3],
int parentPos);
292 unsigned int level,
int treeIdx,
const int idx[3],
double origin[3],
double size[3]);
297 double EvaluateQuadric(
double[3]);
304 unsigned int Dimensions[3];
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...