|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   30 #ifndef vtkUniformHyperTreeGrid_h 
   31 #define vtkUniformHyperTreeGrid_h 
   37 #include "vtkCommonDataModelModule.h"  
   67   vtkSetVector3Macro(Origin, 
double);
 
   68   vtkGetVector3Macro(Origin, 
double);
 
   75   void SetGridScale(
double, 
double, 
double);
 
   76   void SetGridScale(
double*);
 
   77   vtkGetVector3Macro(GridScale, 
double);
 
   83   void SetGridScale(
double);
 
   98   void SetXCoordinates(
vtkDataArray* XCoordinates) override;
 
  113   void SetYCoordinates(
vtkDataArray* YCoordinates) override;
 
  128   void SetZCoordinates(
vtkDataArray* ZCoordinates) override;
 
  143   void SetFixedCoordinates(
unsigned int axis, 
double value) override;
 
  149   void GetLevelZeroOriginAndSizeFromIndex(
vtkIdType, 
double*, 
double*) override;
 
  154   void GetLevelZeroOriginFromIndex(
vtkIdType, 
double*) override;
 
  169   unsigned long GetActualMemorySizeBytes() override;
 
  202   bool ComputedXCoordinates;
 
  203   bool ComputedYCoordinates;
 
  204   bool ComputedZCoordinates;
 
  207   unsigned int FindDichotomicX(
double value)
 const override 
  209     if (value < this->Origin[0] ||
 
  214     return round((
value - this->Origin[0]) / this->GridScale[0]);
 
  218     if (value < this->Origin[1] ||
 
  223     return round((
value - this->Origin[1]) / this->GridScale[1]);
 
  227     if (value < this->Origin[2] ||
 
  232     return round((
value - this->Origin[2]) / this->GridScale[2]);
 
  238   mutable std::shared_ptr<vtkHyperTreeGridScales> 
Scales;
 
  
abstract superclass for arrays of numeric data
A specifalized type of vtkHyperTreeGrid for the case when root cells have uniform sizes in each direc...
#define VTK_SIZEHINT(...)
#define VTK_UNIFORM_HYPER_TREE_GRID
a simple class to control print indentation
A data object structured as a tree.
const unsigned int * GetDimensions() const
Get dimensions of this rectilinear grid dataset.
virtual double * GetBounds()
Return a pointer to the geometry bounding box in the form (xmin,xmax, ymin,ymax, zmin,...
static vtkHyperTreeGrid * New()
virtual void CopyStructure(vtkDataObject *)
Copy the internal geometric and topological structure of a vtkHyperTreeGrid object.
dynamic, self-adjusting array of double
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
void Initialize() override
Restore data object to initial state.