43 #ifndef vtkHyperTreeGridSource_h 44 #define vtkHyperTreeGridSource_h 46 #include "vtkFiltersSourcesModule.h" 71 unsigned int GetMaximumLevel();
78 void SetMaximumLevel(
unsigned int levels );
84 vtkSetVector3Macro(Origin,
double);
85 vtkGetVector3Macro(Origin,
double);
92 vtkSetVector3Macro(GridScale,
double);
93 vtkGetVector3Macro(GridScale,
double);
100 vtkSetVector3Macro(GridSize,
unsigned int);
101 vtkGetVector3Macro(GridSize,
unsigned int);
110 vtkGetMacro(TransposedRootIndexing,
bool);
111 void SetIndexingModeToKJI();
112 void SetIndexingModeToIJK();
119 vtkSetClampMacro(BranchFactor,
unsigned int, 2, 3);
120 vtkGetMacro(BranchFactor,
unsigned int);
127 vtkSetClampMacro(Dimension,
unsigned int, 2, 3);
128 vtkGetMacro(Dimension,
unsigned int);
138 vtkGetMacro(UseDescriptor,
bool);
149 vtkGetMacro(UseMaterialMask,
bool);
157 vtkSetStringMacro(Descriptor);
165 vtkSetStringMacro(MaterialMask);
187 vtkGetObjectMacro( MaterialMaskBits,
vtkBitArray );
202 void SetQuadricCoefficients(
double[10] );
203 void GetQuadricCoefficients(
double[10] );
204 double* GetQuadricCoefficients();
216 vtkBitArray* ConvertDescriptorStringToBitArray( const std::
string& );
217 vtkBitArray* ConvertMaterialMaskStringToBitArray( const std::
string& );
222 ~vtkHyperTreeGridSource() VTK_OVERRIDE;
226 vtkInformationVector* ) VTK_OVERRIDE;
228 int RequestData( vtkInformation*,
229 vtkInformationVector**,
230 vtkInformationVector* ) VTK_OVERRIDE;
235 int InitializeFromStringDescriptor();
240 int InitializeFromBitsDescriptor();
282 double EvaluateQuadric(
double[3] );
286 unsigned int GridSize[3];
287 bool TransposedRootIndexing;
288 unsigned int MaximumLevel;
289 unsigned int Dimension;
290 unsigned int BranchFactor;
291 unsigned int BlockSize;
293 bool UseMaterialMask;
301 std::
vector<std::
string> LevelDescriptors;
302 std::
vector<std::
string> LevelMaterialMasks;
319 vtkHyperTreeGridSource(const vtkHyperTreeGridSource&) VTK_DELETE_FUNCTION;
320 void operator=(const vtkHyperTreeGridSource&) VTK_DELETE_FUNCTION;
abstract interface for implicit functions
Create a synthetic grid of hypertrees.
vtkTypeUInt32 vtkMTimeType
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
dynamic, self-adjusting array of vtkIdType
Objects that can traverse hypertree nodes.
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.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dynamic, self-adjusting array of bits
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.