Go to the documentation of this file.
49 #ifndef vtkHyperTreeGridSource_h
50 #define vtkHyperTreeGridSource_h
52 #include "vtkFiltersSourcesModule.h"
90 vtkSetVector3Macro(Origin,
double);
91 vtkGetVector3Macro(Origin,
double);
98 vtkSetVector3Macro(GridScale,
double);
99 vtkGetVector3Macro(GridScale,
double);
106 vtkSetVector3Macro(GridSize,
unsigned int);
107 vtkGetVector3Macro(GridSize,
unsigned int);
116 vtkGetMacro(TransposedRootIndexing,
bool);
125 vtkSetClampMacro(BranchFactor,
unsigned int, 2, 3);
126 vtkGetMacro(BranchFactor,
unsigned int);
133 vtkSetClampMacro(Dimension,
unsigned int, 2, 3);
134 vtkGetMacro(Dimension,
unsigned int);
144 vtkGetMacro(UseDescriptor,
bool);
155 vtkGetMacro(UseMaterialMask,
bool);
163 vtkSetStringMacro(Descriptor);
171 vtkSetStringMacro(MaterialMask);
222 vtkBitArray* ConvertDescriptorStringToBitArray( const std::
string& );
223 vtkBitArray* ConvertMaterialMaskStringToBitArray( const std::
string& );
241 int InitializeFromStringDescriptor();
246 int InitializeFromBitsDescriptor();
288 double EvaluateQuadric(
double[3] );
292 unsigned int GridSize[3];
293 bool TransposedRootIndexing;
294 unsigned int MaximumLevel;
295 unsigned int Dimension;
296 unsigned int BranchFactor;
297 unsigned int BlockSize;
299 bool UseMaterialMask;
307 std::
vector<std::
string> LevelDescriptors;
308 std::
vector<std::
string> LevelMaterialMasks;
virtual void SetDescriptorBits(vtkBitArray *)
Set/Get the bitarray used to describe the grid.
static vtkHyperTreeGridSource * New()
Create a synthetic grid of hypertrees.
abstract superclass for arrays of numeric data
evaluate implicit quadric function
vtkTypeUInt64 vtkMTimeType
abstract interface for implicit functions
void SetIndexingModeToIJK()
void SetMaximumLevel(unsigned int levels)
Set the maximum number of levels of the hypertree.
Objects that can traverse hypertree nodes.
a simple class to control print indentation
unsigned int GetMaximumLevel()
Return the maximum number of levels of the hypertree.
virtual void SetLevelZeroMaterialIndex(vtkIdTypeArray *)
Set the index array used to as a material mask.
virtual void SetMaterialMaskBits(vtkBitArray *)
Set/Get the bitarray used as a material mask.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void SetQuadricCoefficients(double[10])
Helpers to set/get the 10 coefficients of the quadric function.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
dynamic, self-adjusting array of vtkIdType
void GetQuadricCoefficients(double[10])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetQuadric(vtkQuadric *)
Set/Get the quadric function.
dynamic, self-adjusting array of bits
void SetIndexingModeToKJI()
Superclass for algorithms that produce a hyper tree grid as output.
vtkMTimeType GetMTime() override
Override GetMTime because we delegate to a vtkQuadric.
double * GetQuadricCoefficients()
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.