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;
dynamic, self-adjusting array of bits
abstract superclass for arrays of numeric data
Objects that can traverse hypertree nodes.
Superclass for algorithms that produce a hyper tree grid as output.
Create a synthetic grid of hypertrees.
void SetIndexingModeToIJK()
virtual void SetQuadric(vtkQuadric *)
Set/Get the quadric function.
virtual void SetMaterialMaskBits(vtkBitArray *)
Set/Get the bitarray used as a material mask.
static vtkHyperTreeGridSource * New()
vtkMTimeType GetMTime() override
Override GetMTime because we delegate to a vtkQuadric.
virtual void SetLevelZeroMaterialIndex(vtkIdTypeArray *)
Set the index array used to as a material mask.
void SetIndexingModeToKJI()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned int GetMaximumLevel()
Return the maximum number of levels of the hypertree.
double * GetQuadricCoefficients()
void SetMaximumLevel(unsigned int levels)
Set the maximum number of levels of the hypertree.
void GetQuadricCoefficients(double[10])
void SetQuadricCoefficients(double[10])
Helpers to set/get the 10 coefficients of the quadric function.
virtual void SetDescriptorBits(vtkBitArray *)
Set/Get the bitarray used to describe the grid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
dynamic, self-adjusting array of vtkIdType
abstract interface for implicit functions
a simple class to control print indentation
evaluate implicit quadric function
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkTypeUInt64 vtkMTimeType