44 #ifndef vtkHyperTreeGridSource_h 45 #define vtkHyperTreeGridSource_h 47 #include "vtkFiltersSourcesModule.h" 74 unsigned int GetMaximumLevel();
82 void SetMaximumLevel(
unsigned int levels );
88 vtkSetVector3Macro(Origin,
double);
89 vtkGetVector3Macro(Origin,
double);
96 vtkSetVector3Macro(GridScale,
double);
97 vtkGetVector3Macro(GridScale,
double);
104 vtkSetVector3Macro(GridSize,
unsigned int);
105 vtkGetVector3Macro(GridSize,
unsigned int);
113 vtkSetMacro(TransposedRootIndexing,
bool);
114 vtkGetMacro(TransposedRootIndexing,
bool);
115 void SetIndexingModeToKJI();
116 void SetIndexingModeToIJK();
123 vtkSetClampMacro(Dimension,
unsigned int, 1, 3);
124 vtkGetMacro(Dimension,
unsigned int);
131 virtual void SetOrientation(
unsigned int);
132 vtkGetMacro(Orientation,
unsigned int);
139 vtkSetClampMacro(BranchFactor,
unsigned int, 2, 3);
140 vtkGetMacro(BranchFactor,
unsigned int);
149 vtkSetMacro(UseDescriptor,
bool);
150 vtkGetMacro(UseDescriptor,
bool);
151 vtkBooleanMacro(UseDescriptor,
bool);
160 vtkSetMacro(UseMaterialMask,
bool);
161 vtkGetMacro(UseMaterialMask,
bool);
162 vtkBooleanMacro(UseMaterialMask,
bool);
171 vtkSetMacro(GenerateInterfaceFields,
bool);
172 vtkGetMacro(GenerateInterfaceFields,
bool);
173 vtkBooleanMacro(GenerateInterfaceFields,
bool);
180 vtkSetStringMacro(Descriptor);
181 vtkGetStringMacro(Descriptor);
188 vtkSetStringMacro(MaterialMask);
189 vtkGetStringMacro(MaterialMask);
210 vtkGetObjectMacro( MaterialMaskBits,
vtkBitArray );
225 void SetQuadricCoefficients(
double[10] );
226 void GetQuadricCoefficients(
double[10] );
227 double* GetQuadricCoefficients();
268 int InitializeFromStringDescriptor(
int*
extent);
273 int InitializeFromBitsDescriptor();
319 double EvaluateQuadric(
double[3] );
323 unsigned int GridSize[3];
abstract interface for implicit functions
vtkBitArray * MaterialMaskBits
vtkHyperTreeGrid * OutputHTG
Create a synthetic grid of hypertrees.
std::vector< vtkIdType > LevelBitsIndexCnt
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
std::map< vtkIdType, vtkIdType > LevelZeroMaterialMap
vtkDataArray * ZCoordinates
vtkTypeUInt32 vtkMTimeType
unsigned int BranchFactor
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
std::vector< std::string > LevelDescriptors
vtkIdTypeArray * LevelZeroMaterialIndex
dynamic, self-adjusting array of vtkIdType
Objects for depth-first traversal HyperTrees.
vtkDataArray * YCoordinates
std::vector< vtkIdType > LevelBitsIndex
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.
vtkDataArray * XCoordinates
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
dynamic, self-adjusting array of bits
std::vector< std::string > LevelMaterialMasks
Superclass for algorithms that produce a hyper tree grid as output.
vtkBitArray * DescriptorBits
static vtkAlgorithm * New()
std::vector< int > LevelCounters
general representation of visualization data
unsigned int MaximumLevel
bool TransposedRootIndexing
bool GenerateInterfaceFields
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...