49 #ifndef vtkHyperTreeGridSource_h
50 #define vtkHyperTreeGridSource_h
52 #include "vtkFiltersSourcesModule.h"
77 unsigned int GetMaximumLevel();
84 void SetMaximumLevel(
unsigned int levels );
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);
117 void SetIndexingModeToKJI();
118 void SetIndexingModeToIJK();
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);
193 vtkGetObjectMacro( MaterialMaskBits,
vtkBitArray );
208 void SetQuadricCoefficients(
double[10] );
209 void GetQuadricCoefficients(
double[10] );
210 double* GetQuadricCoefficients();
222 vtkBitArray* ConvertDescriptorStringToBitArray( const std::
string& );
223 vtkBitArray* ConvertMaterialMaskStringToBitArray( const std::
string& );
228 ~vtkHyperTreeGridSource() VTK_OVERRIDE;
232 vtkInformationVector* ) VTK_OVERRIDE;
234 int RequestData( vtkInformation*,
235 vtkInformationVector**,
236 vtkInformationVector* ) VTK_OVERRIDE;
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;
325 vtkHyperTreeGridSource(const vtkHyperTreeGridSource&) VTK_DELETE_FUNCTION;
326 void operator=(const vtkHyperTreeGridSource&) VTK_DELETE_FUNCTION;
abstract interface for implicit functions
Create a synthetic grid of hypertrees.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
dynamic, self-adjusting array of vtkIdType
vtkTypeUInt64 vtkMTimeType
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.