VTK
|
A source to test AMR data object. More...
#include <vtkTemporalFractal.h>
Inherits vtkAlgorithm.
Public Types | |
typedef vtkAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTemporalFractal * | NewInstance () const |
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 | SetGenerateRectilinearGrids (int) |
virtual int | GetGenerateRectilinearGrids () |
virtual void | GenerateRectilinearGridsOn () |
virtual void | GenerateRectilinearGridsOff () |
virtual void | SetDiscreteTimeSteps (int) |
virtual int | GetDiscreteTimeSteps () |
virtual void | DiscreteTimeStepsOn () |
virtual void | DiscreteTimeStepsOff () |
virtual void | SetTwoDimensional (int) |
virtual int | GetTwoDimensional () |
virtual void | TwoDimensionalOn () |
virtual void | TwoDimensionalOff () |
virtual void | SetAsymetric (int) |
virtual int | GetAsymetric () |
virtual void | SetAdaptiveSubdivision (int) |
virtual int | GetAdaptiveSubdivision () |
virtual void | AdaptiveSubdivisionOn () |
virtual void | AdaptiveSubdivisionOff () |
Static Public Member Functions | |
static vtkTemporalFractal * | New () |
static int | IsTypeOf (const char *type) |
static vtkTemporalFractal * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTemporalFractal () | |
~vtkTemporalFractal () | |
virtual int | FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
void | Traverse (int &blockId, int level, vtkDataObject *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 (vtkHierarchicalBoxDataSet *output) |
void | AddTestArray (vtkHierarchicalBoxDataSet *output) |
void | AddFractalArray (vtkCompositeDataSet *output) |
void | AddBlockIdArray (vtkHierarchicalBoxDataSet *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 (vtkTemporalFractal *src) |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestDataObject (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestOneTimeStep (vtkCompositeDataSet *output, vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
int | StartBlock |
int | EndBlock |
int | BlockCount |
int | Asymetric |
int | MaximumLevel |
int | Dimensions |
float | FractalValue |
int | GhostLevels |
vtkIntArray * | Levels |
int | TwoDimensional |
int | DiscreteTimeSteps |
double | TopLevelSpacing [3] |
double | TopLevelOrigin [3] |
int | GenerateRectilinearGrids |
double | CurrentTime |
int | AdaptiveSubdivision |
vtkSmartPointer < TemporalFractalOutputUtil > | OutputUtil |
A source to test AMR data object.
vtkTemporalFractal 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. This source produces a vtkHierarchicalBoxDataSet when GenerateRectilinearGrids is off, otherwise produces a vtkMultiBlockDataSet.
Definition at line 45 of file vtkTemporalFractal.h.
typedef vtkAlgorithm vtkTemporalFractal::Superclass |
Definition at line 49 of file vtkTemporalFractal.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkTemporalFractal* vtkTemporalFractal::NewInstance | ( | ) | const |
void vtkTemporalFractal::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 |
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 |
Limit this source to discrete integer time steps Default is off (continuous)
|
virtual |
Limit this source to discrete integer time steps Default is off (continuous)
|
virtual |
Limit this source to discrete integer time steps Default is off (continuous)
|
virtual |
Limit this source to discrete integer time steps Default is off (continuous)
|
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 |
Make the division adaptive or not, defaults to Adaptive
|
virtual |
Make the division adaptive or not, defaults to Adaptive
|
virtual |
Make the division adaptive or not, defaults to Adaptive
|
virtual |
Make the division adaptive or not, defaults to Adaptive
|
protectedvirtual |
|
protectedvirtual |
see vtkAlgorithm for details
|
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.
|
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 124 of file vtkTemporalFractal.h.
|
protected |
Definition at line 125 of file vtkTemporalFractal.h.
|
protected |
Definition at line 126 of file vtkTemporalFractal.h.
|
protected |
Definition at line 213 of file vtkTemporalFractal.h.
|
protected |
Definition at line 214 of file vtkTemporalFractal.h.
|
protected |
Definition at line 215 of file vtkTemporalFractal.h.
|
protected |
Definition at line 216 of file vtkTemporalFractal.h.
|
protected |
Definition at line 217 of file vtkTemporalFractal.h.
|
protected |
Definition at line 218 of file vtkTemporalFractal.h.
|
protected |
Definition at line 219 of file vtkTemporalFractal.h.
|
protected |
Definition at line 220 of file vtkTemporalFractal.h.
|
protected |
Definition at line 223 of file vtkTemporalFractal.h.
|
protected |
Definition at line 224 of file vtkTemporalFractal.h.
|
protected |
Definition at line 226 of file vtkTemporalFractal.h.
|
protected |
Definition at line 228 of file vtkTemporalFractal.h.
|
protected |
Definition at line 230 of file vtkTemporalFractal.h.
|
protected |
Definition at line 231 of file vtkTemporalFractal.h.