 |
VTK
9.0.1
|
Go to the documentation of this file.
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];
vtkDataArray * ZCoordinates
std::map< vtkIdType, vtkIdType > LevelZeroMaterialMap
vtkHyperTreeGrid * OutputHTG
std::vector< std::string > LevelDescriptors
Create a synthetic grid of hypertrees.
vtkIdTypeArray * LevelZeroMaterialIndex
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
Objects for traversal a HyperTreeGrid.
abstract superclass for arrays of numeric data
unsigned int BranchFactor
bool TransposedRootIndexing
evaluate implicit quadric function
vtkBitArray * DescriptorBits
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::vector< vtkIdType > LevelBitsIndex
abstract interface for implicit functions
vtkDataArray * XCoordinates
virtual vtkMTimeType GetMTime()
Return this object's modified time.
a simple class to control print indentation
vtkDataArray * YCoordinates
bool GenerateInterfaceFields
std::vector< int > LevelCounters
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkAlgorithm * New()
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
dynamic, self-adjusting array of vtkIdType
void SetGridScale(double scale)
std::vector< std::string > LevelMasks
std::vector< vtkIdType > LevelBitsIndexCnt
dynamic, self-adjusting array of bits
general representation of visualization data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce a hyper tree grid as output.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
vtkTypeUInt32 vtkMTimeType