#include <vtkHierarchicalFractal.h>
Public Member Functions | |
vtkTypeRevisionMacro (vtkHierarchicalFractal, vtkHierarchicalDataSetAlgorithm) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFractalValue (float) |
virtual float | GetFractalValue () |
virtual void | SetMaximumLevel (int) |
virtual int | GetMaximumLevel () |
virtual void | SetDimensions (int) |
virtual int | GetDimensions () |
virtual void | SetGhostLevels (int) |
virtual int | GetGhostLevels () |
virtual void | GhostLevelsOn () |
virtual void | GhostLevelsOff () |
virtual void | SetTimeStep (int) |
virtual int | GetTimeStep () |
virtual int * | GetTimeStepRange () |
virtual void | GetTimeStepRange (int &, int &) |
virtual void | GetTimeStepRange (int[2]) |
virtual void | SetGenerateRectilinearGrids (int) |
virtual int | GetGenerateRectilinearGrids () |
virtual void | GenerateRectilinearGridsOn () |
virtual void | GenerateRectilinearGridsOff () |
virtual void | SetTwoDimensional (int) |
virtual int | GetTwoDimensional () |
virtual void | TwoDimensionalOn () |
virtual void | TwoDimensionalOff () |
virtual void | SetAsymetric (int) |
virtual int | GetAsymetric () |
Static Public Member Functions | |
vtkHierarchicalFractal * | New () |
Protected Member Functions | |
vtkHierarchicalFractal () | |
~vtkHierarchicalFractal () | |
void | Traverse (int &blockId, int level, vtkHierarchicalDataSet *output, int x0, int x1, int y0, int y1, int z0, int z1, int onFace[6]) |
int | LineTest2 (float x0, float y0, float z0, float x1, float y1, float z1, double bds[6]) |
int | LineTest (float x0, float y0, float z0, float x1, float y1, float z1, double bds[6], int level, int target) |
void | SetBlockInfo (vtkUniformGrid *grid, int level, int *ext, int onFace[6]) |
void | SetRBlockInfo (vtkRectilinearGrid *grid, int level, int *ext, int onFace[6]) |
void | AddVectorArray (vtkHierarchicalDataSet *output) |
void | AddTestArray (vtkHierarchicalDataSet *output) |
void | AddFractalArray (vtkHierarchicalDataSet *output) |
void | AddBlockIdArray (vtkHierarchicalDataSet *output) |
void | AddDepthArray (vtkHierarchicalDataSet *output) |
void | AddGhostLevelArray (vtkDataSet *grid, int dim[3], int onFace[6]) |
int | MandelbrotTest (double x, double y) |
int | TwoDTest (double bds[6], int level, int target) |
void | CellExtentToBounds (int level, int ext[6], double bds[6]) |
void | ExecuteRectilinearMandelbrot (vtkRectilinearGrid *grid, double *ptr) |
double | EvaluateSet (double p[4]) |
void | GetContinuousIncrements (int extent[6], vtkIdType &incX, vtkIdType &incY, vtkIdType &incZ) |
virtual void | SetTopLevelSpacing (double, double, double) |
virtual void | SetTopLevelSpacing (double[3]) |
virtual double * | GetTopLevelSpacing () |
virtual void | GetTopLevelSpacing (double &, double &, double &) |
virtual void | GetTopLevelSpacing (double[3]) |
virtual void | SetTopLevelOrigin (double, double, double) |
virtual void | SetTopLevelOrigin (double[3]) |
virtual double * | GetTopLevelOrigin () |
virtual void | GetTopLevelOrigin (double &, double &, double &) |
virtual void | GetTopLevelOrigin (double[3]) |
void | InternalImageDataCopy (vtkHierarchicalFractal *src) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
int | StartBlock |
int | EndBlock |
int | BlockCount |
int | TimeStep |
int | TimeStepRange [2] |
int | Asymetric |
int | MaximumLevel |
int | Dimensions |
float | FractalValue |
int | GhostLevels |
vtkIntArray * | Levels |
int | TwoDimensional |
double | TopLevelSpacing [3] |
double | TopLevelOrigin [3] |
int | GenerateRectilinearGrids |
vtkHierarchicalFractal is a collection of uniform grids. All have the same dimensions. Each block has a different origin and spacing. It uses mandelbrot to create cell data. I scale the fractal array to look like a volme fraction. I may also add block id and level as extra cell arrays.
Definition at line 35 of file vtkHierarchicalFractal.h.
|
|
|
|
|
|
|
|
|
|
|
Essentially the iso surface value. The fractal array is scaled to map this value to 0.5 for use as a volume fraction. |
|
Essentially the iso surface value. The fractal array is scaled to map this value to 0.5 for use as a volume fraction. |
|
Any blocks touching a predefined line will be subdivided to this level. Other blocks are subdivided so that neighboring blocks only differ by one level. |
|
Any blocks touching a predefined line will be subdivided to this level. Other blocks are subdivided so that neighboring blocks only differ by one level. |
|
XYZ dimensions of cells. |
|
XYZ dimensions of cells. |
|
For testing ghost levels. |
|
For testing ghost levels. |
|
For testing ghost levels. |
|
For testing ghost levels. |
|
Dummy time-step |
|
Dummy time-step |
|
Dummy time-step |
|
Dummy time-step |
|
Dummy time-step |
|
Generate either rectilinear grids either uniform grids. Default is false. |
|
Generate either rectilinear grids either uniform grids. Default is false. |
|
Generate either rectilinear grids either uniform grids. Default is false. |
|
Generate either rectilinear grids either uniform grids. Default is false. |
|
Make a 2D data set to test. |
|
Make a 2D data set to test. |
|
Make a 2D data set to test. |
|
Make a 2D data set to test. |
|
Test the case when the blocks do not have the same sizes. Adds 2 to the x extent of the far x blocks (level 1). |
|
Test the case when the blocks do not have the same sizes. Adds 2 to the x extent of the far x blocks (level 1). |
|
This is called by the superclass. This is the method you should override. |
|
This is called by the superclass. This is the method you should override. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 104 of file vtkHierarchicalFractal.h. |
|
Definition at line 105 of file vtkHierarchicalFractal.h. |
|
Definition at line 106 of file vtkHierarchicalFractal.h. |
|
Definition at line 107 of file vtkHierarchicalFractal.h. |
|
Definition at line 108 of file vtkHierarchicalFractal.h. |
|
Definition at line 176 of file vtkHierarchicalFractal.h. |
|
Definition at line 177 of file vtkHierarchicalFractal.h. |
|
Definition at line 178 of file vtkHierarchicalFractal.h. |
|
Definition at line 179 of file vtkHierarchicalFractal.h. |
|
Definition at line 180 of file vtkHierarchicalFractal.h. |
|
Definition at line 181 of file vtkHierarchicalFractal.h. |
|
Definition at line 182 of file vtkHierarchicalFractal.h. |
|
Definition at line 185 of file vtkHierarchicalFractal.h. |
|
Definition at line 186 of file vtkHierarchicalFractal.h. |
|
Definition at line 188 of file vtkHierarchicalFractal.h. |