47 #ifndef vtkHyperTreeGridSource_h 48 #define vtkHyperTreeGridSource_h 50 #include "vtkFiltersSourcesModule.h" 77 unsigned int GetMaximumLevel();
85 void SetMaximumLevel(
unsigned int levels );
91 vtkSetVector3Macro(Origin,
double);
92 vtkGetVector3Macro(Origin,
double);
99 vtkSetVector3Macro(GridScale,
double);
100 vtkGetVector3Macro(GridScale,
double);
107 vtkSetVector3Macro(GridSize,
unsigned int);
108 vtkGetVector3Macro(GridSize,
unsigned int);
116 vtkSetMacro(TransposedRootIndexing,
bool);
117 vtkGetMacro(TransposedRootIndexing,
bool);
118 void SetIndexingModeToKJI();
119 void SetIndexingModeToIJK();
126 vtkSetClampMacro(Dimension,
unsigned int, 1, 3);
127 vtkGetMacro(Dimension,
unsigned int);
134 virtual void SetOrientation(
unsigned int);
135 vtkGetMacro(Orientation,
unsigned int);
142 vtkSetClampMacro(BranchFactor,
unsigned int, 2, 3);
143 vtkGetMacro(BranchFactor,
unsigned int);
152 vtkSetMacro(UseDescriptor,
bool);
153 vtkGetMacro(UseDescriptor,
bool);
154 vtkBooleanMacro(UseDescriptor,
bool);
163 vtkSetMacro(UseMaterialMask,
bool);
164 vtkGetMacro(UseMaterialMask,
bool);
165 vtkBooleanMacro(UseMaterialMask,
bool);
174 vtkSetMacro(GenerateInterfaceFields,
bool);
175 vtkGetMacro(GenerateInterfaceFields,
bool);
176 vtkBooleanMacro(GenerateInterfaceFields,
bool);
183 vtkSetStringMacro(Descriptor);
184 vtkGetStringMacro(Descriptor);
191 vtkSetStringMacro(MaterialMask);
192 vtkGetStringMacro(MaterialMask);
213 vtkGetObjectMacro( MaterialMaskBits,
vtkBitArray );
228 void SetQuadricCoefficients(
double[10] );
229 void GetQuadricCoefficients(
double[10] );
230 double* GetQuadricCoefficients();
271 int InitializeFromStringDescriptor(
int*
extent);
276 int InitializeFromBitsDescriptor();
322 double EvaluateQuadric(
double[3] );
326 unsigned int GridSize[3];
abstract interface for implicit functions
vtkBitArray * MaterialMaskBits
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 depth-first traversal HyperTrees.
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 > LevelMaterialMasks
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
unsigned int MaximumLevel
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...