VTK
|
A source to test AMR data object. More...
#include <vtkTemporalFractal.h>
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.
Reimplemented from vtkAlgorithm.
Definition at line 49 of file vtkTemporalFractal.h.
vtkTemporalFractal::vtkTemporalFractal | ( | ) | [protected] |
vtkTemporalFractal::~vtkTemporalFractal | ( | ) | [protected] |
static vtkTemporalFractal* vtkTemporalFractal::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkTemporalFractal::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAlgorithm.
virtual int vtkTemporalFractal::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAlgorithm.
static vtkTemporalFractal* vtkTemporalFractal::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAlgorithm.
virtual vtkObjectBase* vtkTemporalFractal::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAlgorithm.
Reimplemented from vtkAlgorithm.
void vtkTemporalFractal::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkAlgorithm.
virtual void vtkTemporalFractal::SetFractalValue | ( | float | ) | [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 float vtkTemporalFractal::GetFractalValue | ( | ) | [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 void vtkTemporalFractal::SetMaximumLevel | ( | int | ) | [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 int vtkTemporalFractal::GetMaximumLevel | ( | ) | [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 void vtkTemporalFractal::SetDimensions | ( | int | ) | [virtual] |
XYZ dimensions of cells.
virtual int vtkTemporalFractal::GetDimensions | ( | ) | [virtual] |
XYZ dimensions of cells.
virtual void vtkTemporalFractal::SetGhostLevels | ( | int | ) | [virtual] |
For testing ghost levels.
virtual int vtkTemporalFractal::GetGhostLevels | ( | ) | [virtual] |
For testing ghost levels.
virtual void vtkTemporalFractal::GhostLevelsOn | ( | ) | [virtual] |
For testing ghost levels.
virtual void vtkTemporalFractal::GhostLevelsOff | ( | ) | [virtual] |
For testing ghost levels.
virtual void vtkTemporalFractal::SetGenerateRectilinearGrids | ( | int | ) | [virtual] |
Generate either rectilinear grids either uniform grids. Default is false.
virtual int vtkTemporalFractal::GetGenerateRectilinearGrids | ( | ) | [virtual] |
Generate either rectilinear grids either uniform grids. Default is false.
virtual void vtkTemporalFractal::GenerateRectilinearGridsOn | ( | ) | [virtual] |
Generate either rectilinear grids either uniform grids. Default is false.
virtual void vtkTemporalFractal::GenerateRectilinearGridsOff | ( | ) | [virtual] |
Generate either rectilinear grids either uniform grids. Default is false.
virtual void vtkTemporalFractal::SetDiscreteTimeSteps | ( | int | ) | [virtual] |
Limit this source to discrete integer time steps Default is off (continuous)
virtual int vtkTemporalFractal::GetDiscreteTimeSteps | ( | ) | [virtual] |
Limit this source to discrete integer time steps Default is off (continuous)
virtual void vtkTemporalFractal::DiscreteTimeStepsOn | ( | ) | [virtual] |
Limit this source to discrete integer time steps Default is off (continuous)
virtual void vtkTemporalFractal::DiscreteTimeStepsOff | ( | ) | [virtual] |
Limit this source to discrete integer time steps Default is off (continuous)
virtual void vtkTemporalFractal::SetTwoDimensional | ( | int | ) | [virtual] |
Make a 2D data set to test.
virtual int vtkTemporalFractal::GetTwoDimensional | ( | ) | [virtual] |
Make a 2D data set to test.
virtual void vtkTemporalFractal::TwoDimensionalOn | ( | ) | [virtual] |
Make a 2D data set to test.
virtual void vtkTemporalFractal::TwoDimensionalOff | ( | ) | [virtual] |
Make a 2D data set to test.
virtual void vtkTemporalFractal::SetAsymetric | ( | int | ) | [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 int vtkTemporalFractal::GetAsymetric | ( | ) | [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 void vtkTemporalFractal::SetAdaptiveSubdivision | ( | int | ) | [virtual] |
Make the division adaptive or not, defaults to Adaptive
virtual int vtkTemporalFractal::GetAdaptiveSubdivision | ( | ) | [virtual] |
Make the division adaptive or not, defaults to Adaptive
virtual void vtkTemporalFractal::AdaptiveSubdivisionOn | ( | ) | [virtual] |
Make the division adaptive or not, defaults to Adaptive
virtual void vtkTemporalFractal::AdaptiveSubdivisionOff | ( | ) | [virtual] |
Make the division adaptive or not, defaults to Adaptive
virtual int vtkTemporalFractal::FillOutputPortInformation | ( | int | vtkNotUsedport, |
vtkInformation * | info | ||
) | [protected, virtual] |
virtual int vtkTemporalFractal::ProcessRequest | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
see vtkAlgorithm for details
Reimplemented from vtkAlgorithm.
virtual int vtkTemporalFractal::RequestDataObject | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
virtual int vtkTemporalFractal::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
virtual int vtkTemporalFractal::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
virtual int vtkTemporalFractal::RequestOneTimeStep | ( | vtkCompositeDataSet * | output, |
vtkInformation * | request, | ||
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
void vtkTemporalFractal::Traverse | ( | int & | blockId, |
int | level, | ||
vtkDataObject * | output, | ||
int | x0, | ||
int | x1, | ||
int | y0, | ||
int | y1, | ||
int | z0, | ||
int | z1, | ||
int | onFace[6] | ||
) | [protected] |
int vtkTemporalFractal::LineTest2 | ( | float | x0, |
float | y0, | ||
float | z0, | ||
float | x1, | ||
float | y1, | ||
float | z1, | ||
double | bds[6] | ||
) | [protected] |
int vtkTemporalFractal::LineTest | ( | float | x0, |
float | y0, | ||
float | z0, | ||
float | x1, | ||
float | y1, | ||
float | z1, | ||
double | bds[6], | ||
int | level, | ||
int | target | ||
) | [protected] |
void vtkTemporalFractal::SetBlockInfo | ( | vtkUniformGrid * | grid, |
int | level, | ||
int * | ext, | ||
int | onFace[6] | ||
) | [protected] |
void vtkTemporalFractal::SetRBlockInfo | ( | vtkRectilinearGrid * | grid, |
int | level, | ||
int * | ext, | ||
int | onFace[6] | ||
) | [protected] |
void vtkTemporalFractal::AddVectorArray | ( | vtkHierarchicalBoxDataSet * | output | ) | [protected] |
void vtkTemporalFractal::AddTestArray | ( | vtkHierarchicalBoxDataSet * | output | ) | [protected] |
void vtkTemporalFractal::AddFractalArray | ( | vtkCompositeDataSet * | output | ) | [protected] |
void vtkTemporalFractal::AddBlockIdArray | ( | vtkHierarchicalBoxDataSet * | output | ) | [protected] |
void vtkTemporalFractal::AddDepthArray | ( | vtkHierarchicalBoxDataSet * | output | ) | [protected] |
void vtkTemporalFractal::AddGhostLevelArray | ( | vtkDataSet * | grid, |
int | dim[3], | ||
int | onFace[6] | ||
) | [protected] |
int vtkTemporalFractal::MandelbrotTest | ( | double | x, |
double | y | ||
) | [protected] |
int vtkTemporalFractal::TwoDTest | ( | double | bds[6], |
int | level, | ||
int | target | ||
) | [protected] |
void vtkTemporalFractal::CellExtentToBounds | ( | int | level, |
int | ext[6], | ||
double | bds[6] | ||
) | [protected] |
void vtkTemporalFractal::ExecuteRectilinearMandelbrot | ( | vtkRectilinearGrid * | grid, |
double * | ptr | ||
) | [protected] |
double vtkTemporalFractal::EvaluateSet | ( | double | p[4] | ) | [protected] |
void vtkTemporalFractal::GetContinuousIncrements | ( | int | extent[6], |
vtkIdType & | incX, | ||
vtkIdType & | incY, | ||
vtkIdType & | incZ | ||
) | [protected] |
virtual void vtkTemporalFractal::SetTopLevelSpacing | ( | double | , |
double | , | ||
double | |||
) | [protected, virtual] |
virtual void vtkTemporalFractal::SetTopLevelSpacing | ( | double | [3] | ) | [protected, virtual] |
virtual double* vtkTemporalFractal::GetTopLevelSpacing | ( | ) | [protected, virtual] |
virtual void vtkTemporalFractal::GetTopLevelSpacing | ( | double & | , |
double & | , | ||
double & | |||
) | [protected, virtual] |
virtual void vtkTemporalFractal::GetTopLevelSpacing | ( | double | [3] | ) | [protected, virtual] |
virtual void vtkTemporalFractal::SetTopLevelOrigin | ( | double | , |
double | , | ||
double | |||
) | [protected, virtual] |
virtual void vtkTemporalFractal::SetTopLevelOrigin | ( | double | [3] | ) | [protected, virtual] |
virtual double* vtkTemporalFractal::GetTopLevelOrigin | ( | ) | [protected, virtual] |
virtual void vtkTemporalFractal::GetTopLevelOrigin | ( | double & | , |
double & | , | ||
double & | |||
) | [protected, virtual] |
virtual void vtkTemporalFractal::GetTopLevelOrigin | ( | double | [3] | ) | [protected, virtual] |
void vtkTemporalFractal::InternalImageDataCopy | ( | vtkTemporalFractal * | src | ) | [protected] |
int vtkTemporalFractal::StartBlock [protected] |
Definition at line 124 of file vtkTemporalFractal.h.
int vtkTemporalFractal::EndBlock [protected] |
Definition at line 125 of file vtkTemporalFractal.h.
int vtkTemporalFractal::BlockCount [protected] |
Definition at line 126 of file vtkTemporalFractal.h.
int vtkTemporalFractal::Asymetric [protected] |
Definition at line 213 of file vtkTemporalFractal.h.
int vtkTemporalFractal::MaximumLevel [protected] |
Definition at line 214 of file vtkTemporalFractal.h.
int vtkTemporalFractal::Dimensions [protected] |
Definition at line 215 of file vtkTemporalFractal.h.
float vtkTemporalFractal::FractalValue [protected] |
Definition at line 216 of file vtkTemporalFractal.h.
int vtkTemporalFractal::GhostLevels [protected] |
Definition at line 217 of file vtkTemporalFractal.h.
vtkIntArray* vtkTemporalFractal::Levels [protected] |
Definition at line 218 of file vtkTemporalFractal.h.
int vtkTemporalFractal::TwoDimensional [protected] |
Definition at line 219 of file vtkTemporalFractal.h.
int vtkTemporalFractal::DiscreteTimeSteps [protected] |
Definition at line 220 of file vtkTemporalFractal.h.
double vtkTemporalFractal::TopLevelSpacing[3] [protected] |
Definition at line 223 of file vtkTemporalFractal.h.
double vtkTemporalFractal::TopLevelOrigin[3] [protected] |
Definition at line 224 of file vtkTemporalFractal.h.
int vtkTemporalFractal::GenerateRectilinearGrids [protected] |
Definition at line 226 of file vtkTemporalFractal.h.
double vtkTemporalFractal::CurrentTime [protected] |
Definition at line 228 of file vtkTemporalFractal.h.
int vtkTemporalFractal::AdaptiveSubdivision [protected] |
Definition at line 230 of file vtkTemporalFractal.h.
vtkSmartPointer<TemporalFractalOutputUtil> vtkTemporalFractal::OutputUtil [protected] |
Definition at line 231 of file vtkTemporalFractal.h.