50 #ifndef vtkHyperTreeGridSource_h 51 #define vtkHyperTreeGridSource_h 53 #include "vtkFiltersSourcesModule.h" 80 unsigned int GetMaximumLevel();
88 void SetMaximumLevel(
unsigned int levels );
94 vtkSetVector3Macro(Origin,
double);
95 vtkGetVector3Macro(Origin,
double);
102 vtkSetVector3Macro(GridScale,
double);
103 vtkGetVector3Macro(GridScale,
double);
110 vtkSetVector3Macro(GridSize,
unsigned int);
111 vtkGetVector3Macro(GridSize,
unsigned int);
120 vtkGetMacro(TransposedRootIndexing,
bool);
121 void SetIndexingModeToKJI();
122 void SetIndexingModeToIJK();
129 vtkSetClampMacro(Dimension,
unsigned int, 1, 3);
130 vtkGetMacro(Dimension,
unsigned int);
137 virtual void SetOrientation(
unsigned int);
138 vtkGetMacro(Orientation,
unsigned int);
145 vtkSetClampMacro(BranchFactor,
unsigned int, 2, 3);
146 vtkGetMacro(BranchFactor,
unsigned int);
156 vtkGetMacro(UseDescriptor,
bool);
167 vtkGetMacro(UseMaterialMask,
bool);
178 vtkGetMacro(GenerateInterfaceFields,
bool);
186 vtkSetStringMacro(Descriptor);
194 vtkSetStringMacro(MaterialMask);
216 vtkGetObjectMacro( MaterialMaskBits,
vtkBitArray );
231 void SetQuadricCoefficients(
double[10] );
232 void GetQuadricCoefficients(
double[10] );
233 double* GetQuadricCoefficients();
272 int InitializeFromStringDescriptor();
277 int InitializeFromBitsDescriptor();
323 double EvaluateQuadric(
double[3] );
327 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.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkDataArray * XCoordinates
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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...