28 #ifndef vtkHierarchicalFractal_h 29 #define vtkHierarchicalFractal_h 40 class HierarchicalFractalOutputUtil;
57 vtkSetMacro(FractalValue,
float);
58 vtkGetMacro(FractalValue,
float);
67 vtkSetMacro(MaximumLevel,
int);
68 vtkGetMacro(MaximumLevel,
int);
75 vtkSetMacro(Dimensions,
int);
76 vtkGetMacro(Dimensions,
int);
83 vtkSetMacro(GhostLevels,
int);
84 vtkGetMacro(GhostLevels,
int);
85 vtkBooleanMacro(GhostLevels,
int);
92 vtkSetMacro(TimeStep,
int);
93 vtkGetMacro(TimeStep,
int);
94 vtkGetVector2Macro(TimeStepRange,
int);
102 vtkSetMacro(GenerateRectilinearGrids,
int);
103 vtkGetMacro(GenerateRectilinearGrids,
int);
104 vtkBooleanMacro(GenerateRectilinearGrids,
int);
111 vtkSetMacro(TwoDimensional,
int);
112 vtkGetMacro(TwoDimensional,
int);
113 vtkBooleanMacro(TwoDimensional,
int);
121 vtkSetMacro(Asymetric,
int);
122 vtkGetMacro(Asymetric,
int);
130 vtkSetMacro(Overlap,
int);
131 vtkGetMacro(Overlap,
int);
142 int TimeStepRange[2];
163 void Traverse(
int& blockId,
int level,
vtkCompositeDataSet* output,
int x0,
int x1,
int y0,
164 int y1,
int z0,
int z1,
int onFace[6]);
166 int LineTest2(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
double bds[6]);
167 int LineTest(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
double bds[6],
int level,
170 void SetBlockInfo(
vtkUniformGrid* grid,
int level,
int* ext,
int onFace[6]);
179 void AddGhostLevelArray(
vtkDataSet* grid,
int dim[3],
int onFace[6]);
181 int MandelbrotTest(
double x,
double y);
182 int TwoDTest(
double bds[6],
int level,
int target);
184 void CellExtentToBounds(
int level,
int ext[6],
double bds[6]);
187 double EvaluateSet(
double p[4]);
193 vtkSetVector3Macro(TopLevelSpacing,
double);
194 vtkGetVector3Macro(TopLevelSpacing,
double);
195 vtkSetVector3Macro(TopLevelOrigin,
double);
196 vtkGetVector3Macro(TopLevelOrigin,
double);
210 double TopLevelSpacing[3];
211 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 &)