16 #ifndef vtkHierarchicalFractal_h 17 #define vtkHierarchicalFractal_h 28 class HierarchicalFractalOutputUtil;
45 vtkSetMacro(FractalValue,
float);
46 vtkGetMacro(FractalValue,
float);
55 vtkSetMacro(MaximumLevel,
int);
56 vtkGetMacro(MaximumLevel,
int);
63 vtkSetMacro(Dimensions,
int);
64 vtkGetMacro(Dimensions,
int);
71 vtkSetMacro(GhostLevels,
int);
72 vtkGetMacro(GhostLevels,
int);
73 vtkBooleanMacro(GhostLevels,
int);
80 vtkSetMacro(TimeStep,
int);
81 vtkGetMacro(TimeStep,
int);
82 vtkGetVector2Macro(TimeStepRange,
int);
90 vtkSetMacro(GenerateRectilinearGrids,
int);
91 vtkGetMacro(GenerateRectilinearGrids,
int);
92 vtkBooleanMacro(GenerateRectilinearGrids,
int);
99 vtkSetMacro(TwoDimensional,
int);
100 vtkGetMacro(TwoDimensional,
int);
101 vtkBooleanMacro(TwoDimensional,
int);
109 vtkSetMacro(Asymetric,
int);
110 vtkGetMacro(Asymetric,
int);
118 vtkSetMacro(Overlap,
int);
119 vtkGetMacro(Overlap,
int);
130 int TimeStepRange[2];
151 void Traverse(
int& blockId,
int level,
vtkCompositeDataSet* output,
int x0,
int x1,
int y0,
152 int y1,
int z0,
int z1,
int onFace[6]);
154 int LineTest2(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
double bds[6]);
155 int LineTest(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
double bds[6],
int level,
158 void SetBlockInfo(
vtkUniformGrid* grid,
int level,
int* ext,
int onFace[6]);
167 void AddGhostLevelArray(
vtkDataSet* grid,
int dim[3],
int onFace[6]);
169 int MandelbrotTest(
double x,
double y);
170 int TwoDTest(
double bds[6],
int level,
int target);
172 void CellExtentToBounds(
int level,
int ext[6],
double bds[6]);
175 double EvaluateSet(
double p[4]);
181 vtkSetVector3Macro(TopLevelSpacing,
double);
182 vtkGetVector3Macro(TopLevelSpacing,
double);
183 vtkSetVector3Macro(TopLevelOrigin,
double);
184 vtkGetVector3Macro(TopLevelOrigin,
double);
198 double TopLevelSpacing[3];
199 double TopLevelOrigin[3];
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int GenerateRectilinearGrids
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkSmartPointer< HierarchicalFractalOutputUtil > OutputUtil
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
static vtkCompositeDataSetAlgorithm * New()
A source to test AMR data object.
void operator=(const vtkObjectBase &)