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& );
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;