Go to the documentation of this file.
28 NB: For ease of legibility, white spaces are allowed and ignored.
31 This
class was written
by Philippe Pebay and Joachim Pouderoux,
33 This work was supported
in part
by Commissariat
a l'Energie Atomique (CEA/DIF)
36 @
ref c2_vtk_e_vtkHyperTreeGridSource
"vtkHyperTreeGridSource (Examples)"
39 @
ref c2_vtk_t_vtkHyperTreeGridSource
"vtkHyperTreeGridSource (Tests)"
42 #ifndef vtkHyperTreeGridSource_h
43 #define vtkHyperTreeGridSource_h
240 unsigned int GridSize[3];
vtkDataArray * ZCoordinates
#define vtkGetObjectMacro(name, type)
virtual void SetDescriptorBits(vtkBitArray *)
static vtkHyperTreeGridSource * New()
std::map< vtkIdType, vtkIdType > LevelZeroMaterialMap
#define vtkSetVector3Macro(name, type)
unsigned int MaximumLevel
std::vector< std::string > LevelDescriptors
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Create a synthetic grid of hypertrees.
vtkIdTypeArray * LevelZeroMaterialIndex
#define vtkTypeMacro(thisClass, superclass)
void SubdivideFromBitsDescriptor(vtkHyperTreeCursor *cursor, unsigned int level, int treeIdx, int childIdx, int idx[3], int parentPos)
abstract superclass for arrays of numeric data
unsigned int BranchFactor
bool TransposedRootIndexing
evaluate implicit quadric function
vtkBitArray * DescriptorBits
int InitializeFromStringDescriptor()
std::vector< vtkIdType > LevelBitsIndex
abstract interface for implicit functions
vtkDataArray * XCoordinates
int InitializeFromBitsDescriptor()
double EvaluateQuadric(double[3])
void SetIndexingModeToIJK()
#define vtkSetClampMacro(name, type, min, max)
void SetMaximumLevel(unsigned int levels)
vtkBitArray * ConvertDescriptorStringToBitArray(const std::string &)
#define vtkGetVector3Macro(name, type)
void SubdivideFromQuadric(vtkHyperTreeCursor *cursor, unsigned int level, int treeIdx, const int idx[3], double origin[3], double size[3])
Objects that can traverse hypertree nodes.
void SubdivideFromStringDescriptor(vtkHyperTreeCursor *cursor, unsigned int level, int treeIdx, int childIdx, int idx[3], int parentPos)
The top level of the tree is not considered a grid level white spaces are allowed and ignored par Thanks
a simple class to control print indentation
#define vtkSetStringMacro(name)
vtkDataArray * YCoordinates
unsigned int GetMaximumLevel()
GLdouble GLdouble GLdouble GLdouble top
virtual void SetLevelZeroMaterialIndex(vtkIdTypeArray *)
vtkBitArray * ConvertMaterialMaskStringToBitArray(const std::string &)
void InitTreeFromDescriptor(vtkHyperTreeCursor *cursor, int treeIdx, int idx[3])
#define vtkGetMacro(name, type)
virtual void SetMaterialMaskBits(vtkBitArray *)
std::vector< int > LevelCounters
vtkGetStringMacro(ExtensionsString)
GLboolean GLboolean GLboolean GLboolean a
void SetQuadricCoefficients(double[10])
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
dynamic, self-adjusting array of vtkIdType
std::vector< std::string > LevelMaterialMasks
void GetQuadricCoefficients(double[10])
std::vector< vtkIdType > LevelBitsIndexCnt
vtkBitArray * MaterialMaskBits
virtual void SetQuadric(vtkQuadric *)
dynamic, self-adjusting array of bits
void SetIndexingModeToKJI()
vtkHyperTreeGrid * Output
void PrintSelf(ostream &os, vtkIndent indent)
The top level of the tree is not considered a grid level NB
Superclass for algorithms that produce a hyper tree grid as output.
GLsizei const GLchar ** string
double * GetQuadricCoefficients()
~vtkHyperTreeGridSource()
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)