ParaView
|
A source to test AMR data object. More...
#include <vtkHierarchicalFractal.h>
Inherits vtkCompositeDataSetAlgorithm.
Public Types | |
typedef vtkCompositeDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFractalValue (float) |
Essentially the iso surface value. More... | |
virtual float | GetFractalValue () |
Essentially the iso surface value. More... | |
virtual void | SetMaximumLevel (int) |
Any blocks touching a predefined line will be subdivided to this level. More... | |
virtual int | GetMaximumLevel () |
Any blocks touching a predefined line will be subdivided to this level. More... | |
virtual void | SetDimensions (int) |
XYZ dimensions of cells. More... | |
virtual int | GetDimensions () |
XYZ dimensions of cells. More... | |
virtual void | SetGhostLevels (int) |
For testing ghost levels. More... | |
virtual int | GetGhostLevels () |
For testing ghost levels. More... | |
virtual void | GhostLevelsOn () |
For testing ghost levels. More... | |
virtual void | GhostLevelsOff () |
For testing ghost levels. More... | |
virtual void | SetTimeStep (int) |
Dummy time-step. More... | |
virtual int | GetTimeStep () |
Dummy time-step. More... | |
virtual int * | GetTimeStepRange () |
Dummy time-step. More... | |
virtual void | GetTimeStepRange (int &, int &) |
Dummy time-step. More... | |
virtual void | GetTimeStepRange (int [2]) |
Dummy time-step. More... | |
virtual void | SetGenerateRectilinearGrids (int) |
Generate either rectilinear grids either uniform grids. More... | |
virtual int | GetGenerateRectilinearGrids () |
Generate either rectilinear grids either uniform grids. More... | |
virtual void | GenerateRectilinearGridsOn () |
Generate either rectilinear grids either uniform grids. More... | |
virtual void | GenerateRectilinearGridsOff () |
Generate either rectilinear grids either uniform grids. More... | |
virtual void | SetTwoDimensional (int) |
Make a 2D data set to test. More... | |
virtual int | GetTwoDimensional () |
Make a 2D data set to test. More... | |
virtual void | TwoDimensionalOn () |
Make a 2D data set to test. More... | |
virtual void | TwoDimensionalOff () |
Make a 2D data set to test. More... | |
virtual void | SetAsymetric (int) |
Test the case when the blocks do not have the same sizes. More... | |
virtual int | GetAsymetric () |
Test the case when the blocks do not have the same sizes. More... | |
virtual void | SetOverlap (int) |
Test with lower levels overlapping higher levels. More... | |
virtual int | GetOverlap () |
Test with lower levels overlapping higher levels. More... | |
Static Public Member Functions | |
static vtkHierarchicalFractal * | New () |
static int | IsTypeOf (const char *type) |
static vtkHierarchicalFractal * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkHierarchicalFractal () | |
~vtkHierarchicalFractal () | |
virtual int | RequestDataObject (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
This is called by the superclass. More... | |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
This is called by the superclass. More... | |
void | Traverse (int &blockId, int level, vtkCompositeDataSet *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 (vtkCompositeDataSet *output) |
void | AddTestArray (vtkCompositeDataSet *output) |
void | AddFractalArray (vtkCompositeDataSet *output) |
void | AddBlockIdArray (vtkCompositeDataSet *output) |
void | AddDepthArray (vtkHierarchicalBoxDataSet *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) |
Protected Attributes | |
int | StartBlock |
int | EndBlock |
int | BlockCount |
int | TimeStep |
int | TimeStepRange [2] |
int | Overlap |
int | Asymetric |
int | MaximumLevel |
int | Dimensions |
float | FractalValue |
int | GhostLevels |
vtkIntArray * | Levels |
int | TwoDimensional |
double | TopLevelSpacing [3] |
double | TopLevelOrigin [3] |
int | GenerateRectilinearGrids |
vtkSmartPointer< HierarchicalFractalOutputUtil > | OutputUtil |
A source to test AMR data object.
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. If GenerateRectilinearGrids is true then this filter outputs vtkHierarchicalBoxDataSet otherwise it generates a vtkMultiBlockDataSet.
Definition at line 42 of file vtkHierarchicalFractal.h.
typedef vtkCompositeDataSetAlgorithm vtkHierarchicalFractal::Superclass |
Definition at line 47 of file vtkHierarchicalFractal.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkHierarchicalFractal::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Essentially the iso surface value.
The fractal array is scaled to map this value to 0.5 for use as a volume fraction.
|
virtual |
Essentially the iso surface value.
The fractal array is scaled to map this value to 0.5 for use as a volume fraction.
|
virtual |
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.
|
virtual |
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.
|
virtual |
XYZ dimensions of cells.
|
virtual |
XYZ dimensions of cells.
|
virtual |
For testing ghost levels.
|
virtual |
For testing ghost levels.
|
virtual |
For testing ghost levels.
|
virtual |
For testing ghost levels.
|
virtual |
Dummy time-step.
|
virtual |
Dummy time-step.
|
virtual |
Dummy time-step.
|
virtual |
Dummy time-step.
|
virtual |
Dummy time-step.
|
virtual |
Generate either rectilinear grids either uniform grids.
Default is false.
|
virtual |
Generate either rectilinear grids either uniform grids.
Default is false.
|
virtual |
Generate either rectilinear grids either uniform grids.
Default is false.
|
virtual |
Generate either rectilinear grids either uniform grids.
Default is false.
|
virtual |
Make a 2D data set to test.
|
virtual |
Make a 2D data set to test.
|
virtual |
Make a 2D data set to test.
|
virtual |
Make a 2D data set to test.
|
virtual |
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).
|
virtual |
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).
|
virtual |
Test with lower levels overlapping higher levels.
This is what I assume flash is like.
|
virtual |
Test with lower levels overlapping higher levels.
This is what I assume flash is like.
|
protectedvirtual |
|
protectedvirtual |
This is called by the superclass.
This is the method you should override.
|
protectedvirtual |
This is called by the superclass.
This is the method you should override.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 137 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 138 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 139 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 140 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 141 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 199 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 200 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 201 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 202 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 203 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 204 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 205 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 206 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 209 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 210 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 212 of file vtkHierarchicalFractal.h.
|
protected |
Definition at line 215 of file vtkHierarchicalFractal.h.