Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkHierarchicalFractal Class Reference

A source to test AMR data object. More...

#include <vtkHierarchicalFractal.h>

Inheritance diagram for vtkHierarchicalFractal:
Inheritance graph
[legend]
Collaboration diagram for vtkHierarchicalFractal:
Collaboration graph
[legend]

Public Types

typedef vtkCompositeDataSetAlgorithm Superclass
 
- Public Types inherited from vtkCompositeDataSetAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
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 intGetTimeStepRange ()
 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...
 
- Public Member Functions inherited from vtkCompositeDataSetAlgorithm
vtkCompositeDataSetAlgorithmNewInstance () const
 
vtkCompositeDataSetGetOutput ()
 
vtkCompositeDataSetGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
vtkCompositeDataSetGetOutput ()
 
vtkCompositeDataSetGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkHierarchicalFractalNew ()
 
static int IsTypeOf (const char *type)
 
static vtkHierarchicalFractalSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCompositeDataSetAlgorithm
static vtkCompositeDataSetAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCompositeDataSetAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkHierarchicalFractal ()
 
 ~vtkHierarchicalFractal () override
 
int RequestDataObject (vtkInformation *req, vtkInformationVector **inV, vtkInformationVector *outV) override
 
int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 This is called by the superclass. More...
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 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 doubleGetTopLevelSpacing ()
 
virtual void GetTopLevelSpacing (double &, double &, double &)
 
virtual void GetTopLevelSpacing (double [3])
 
virtual void SetTopLevelOrigin (double, double, double)
 
virtual void SetTopLevelOrigin (double [3])
 
virtual doubleGetTopLevelOrigin ()
 
virtual void GetTopLevelOrigin (double &, double &, double &)
 
virtual void GetTopLevelOrigin (double [3])
 
void InternalImageDataCopy (vtkHierarchicalFractal *src)
 
- Protected Member Functions inherited from vtkCompositeDataSetAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkCompositeDataSetAlgorithm ()
 
 ~vtkCompositeDataSetAlgorithm ()
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

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
 
vtkIntArrayLevels
 
int TwoDimensional
 
double TopLevelSpacing [3]
 
double TopLevelOrigin [3]
 
int GenerateRectilinearGrids
 
vtkSmartPointer< HierarchicalFractalOutputUtil > OutputUtil
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

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 30 of file vtkHierarchicalFractal.h.

Member Typedef Documentation

◆ Superclass

Definition at line 36 of file vtkHierarchicalFractal.h.

Constructor & Destructor Documentation

◆ vtkHierarchicalFractal()

vtkHierarchicalFractal::vtkHierarchicalFractal ( )
protected

◆ ~vtkHierarchicalFractal()

vtkHierarchicalFractal::~vtkHierarchicalFractal ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkHierarchicalFractal* vtkHierarchicalFractal::New ( )
static

◆ GetClassName()

virtual const char* vtkHierarchicalFractal::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkHierarchicalFractal::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkHierarchicalFractal::IsA ( const char *  type)
virtual

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ SafeDownCast()

static vtkHierarchicalFractal* vtkHierarchicalFractal::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkHierarchicalFractal::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ SetFractalValue()

virtual void vtkHierarchicalFractal::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.

◆ GetFractalValue()

virtual float vtkHierarchicalFractal::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.

◆ SetMaximumLevel()

virtual void vtkHierarchicalFractal::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.

◆ GetMaximumLevel()

virtual int vtkHierarchicalFractal::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.

◆ SetDimensions()

virtual void vtkHierarchicalFractal::SetDimensions ( int  )
virtual

XYZ dimensions of cells.

◆ GetDimensions()

virtual int vtkHierarchicalFractal::GetDimensions ( )
virtual

XYZ dimensions of cells.

◆ SetGhostLevels()

virtual void vtkHierarchicalFractal::SetGhostLevels ( int  )
virtual

For testing ghost levels.

◆ GetGhostLevels()

virtual int vtkHierarchicalFractal::GetGhostLevels ( )
virtual

For testing ghost levels.

◆ GhostLevelsOn()

virtual void vtkHierarchicalFractal::GhostLevelsOn ( )
virtual

For testing ghost levels.

◆ GhostLevelsOff()

virtual void vtkHierarchicalFractal::GhostLevelsOff ( )
virtual

For testing ghost levels.

◆ SetTimeStep()

virtual void vtkHierarchicalFractal::SetTimeStep ( int  )
virtual

Dummy time-step.

◆ GetTimeStep()

virtual int vtkHierarchicalFractal::GetTimeStep ( )
virtual

Dummy time-step.

◆ GetTimeStepRange() [1/3]

virtual int* vtkHierarchicalFractal::GetTimeStepRange ( )
virtual

Dummy time-step.

◆ GetTimeStepRange() [2/3]

virtual void vtkHierarchicalFractal::GetTimeStepRange ( int ,
int  
)
virtual

Dummy time-step.

◆ GetTimeStepRange() [3/3]

virtual void vtkHierarchicalFractal::GetTimeStepRange ( int  [2])
virtual

Dummy time-step.

◆ SetGenerateRectilinearGrids()

virtual void vtkHierarchicalFractal::SetGenerateRectilinearGrids ( int  )
virtual

Generate either rectilinear grids either uniform grids.

Default is false.

◆ GetGenerateRectilinearGrids()

virtual int vtkHierarchicalFractal::GetGenerateRectilinearGrids ( )
virtual

Generate either rectilinear grids either uniform grids.

Default is false.

◆ GenerateRectilinearGridsOn()

virtual void vtkHierarchicalFractal::GenerateRectilinearGridsOn ( )
virtual

Generate either rectilinear grids either uniform grids.

Default is false.

◆ GenerateRectilinearGridsOff()

virtual void vtkHierarchicalFractal::GenerateRectilinearGridsOff ( )
virtual

Generate either rectilinear grids either uniform grids.

Default is false.

◆ SetTwoDimensional()

virtual void vtkHierarchicalFractal::SetTwoDimensional ( int  )
virtual

Make a 2D data set to test.

◆ GetTwoDimensional()

virtual int vtkHierarchicalFractal::GetTwoDimensional ( )
virtual

Make a 2D data set to test.

◆ TwoDimensionalOn()

virtual void vtkHierarchicalFractal::TwoDimensionalOn ( )
virtual

Make a 2D data set to test.

◆ TwoDimensionalOff()

virtual void vtkHierarchicalFractal::TwoDimensionalOff ( )
virtual

Make a 2D data set to test.

◆ SetAsymetric()

virtual void vtkHierarchicalFractal::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).

◆ GetAsymetric()

virtual int vtkHierarchicalFractal::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).

◆ SetOverlap()

virtual void vtkHierarchicalFractal::SetOverlap ( int  )
virtual

Test with lower levels overlapping higher levels.

This is what I assume flash is like.

◆ GetOverlap()

virtual int vtkHierarchicalFractal::GetOverlap ( )
virtual

Test with lower levels overlapping higher levels.

This is what I assume flash is like.

◆ RequestDataObject()

int vtkHierarchicalFractal::RequestDataObject ( vtkInformation req,
vtkInformationVector **  inV,
vtkInformationVector outV 
)
overrideprotectedvirtual

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ RequestInformation()

int vtkHierarchicalFractal::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
overrideprotectedvirtual

This is called by the superclass.

This is the method you should override.

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ RequestData()

int vtkHierarchicalFractal::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
overrideprotectedvirtual

This is called by the superclass.

This is the method you should override.

Reimplemented from vtkCompositeDataSetAlgorithm.

◆ Traverse()

void vtkHierarchicalFractal::Traverse ( int blockId,
int  level,
vtkCompositeDataSet output,
int  x0,
int  x1,
int  y0,
int  y1,
int  z0,
int  z1,
int  onFace[6] 
)
protected

◆ LineTest2()

int vtkHierarchicalFractal::LineTest2 ( float  x0,
float  y0,
float  z0,
float  x1,
float  y1,
float  z1,
double  bds[6] 
)
protected

◆ LineTest()

int vtkHierarchicalFractal::LineTest ( float  x0,
float  y0,
float  z0,
float  x1,
float  y1,
float  z1,
double  bds[6],
int  level,
int  target 
)
protected

◆ SetBlockInfo()

void vtkHierarchicalFractal::SetBlockInfo ( vtkUniformGrid grid,
int  level,
int ext,
int  onFace[6] 
)
protected

◆ SetRBlockInfo()

void vtkHierarchicalFractal::SetRBlockInfo ( vtkRectilinearGrid grid,
int  level,
int ext,
int  onFace[6] 
)
protected

◆ AddVectorArray()

void vtkHierarchicalFractal::AddVectorArray ( vtkCompositeDataSet output)
protected

◆ AddTestArray()

void vtkHierarchicalFractal::AddTestArray ( vtkCompositeDataSet output)
protected

◆ AddFractalArray()

void vtkHierarchicalFractal::AddFractalArray ( vtkCompositeDataSet output)
protected

◆ AddBlockIdArray()

void vtkHierarchicalFractal::AddBlockIdArray ( vtkCompositeDataSet output)
protected

◆ AddDepthArray()

void vtkHierarchicalFractal::AddDepthArray ( vtkHierarchicalBoxDataSet output)
protected

◆ AddGhostLevelArray()

void vtkHierarchicalFractal::AddGhostLevelArray ( vtkDataSet grid,
int  dim[3],
int  onFace[6] 
)
protected

◆ MandelbrotTest()

int vtkHierarchicalFractal::MandelbrotTest ( double  x,
double  y 
)
protected

◆ TwoDTest()

int vtkHierarchicalFractal::TwoDTest ( double  bds[6],
int  level,
int  target 
)
protected

◆ CellExtentToBounds()

void vtkHierarchicalFractal::CellExtentToBounds ( int  level,
int  ext[6],
double  bds[6] 
)
protected

◆ ExecuteRectilinearMandelbrot()

void vtkHierarchicalFractal::ExecuteRectilinearMandelbrot ( vtkRectilinearGrid grid,
double ptr 
)
protected

◆ EvaluateSet()

double vtkHierarchicalFractal::EvaluateSet ( double  p[4])
protected

◆ GetContinuousIncrements()

void vtkHierarchicalFractal::GetContinuousIncrements ( int  extent[6],
vtkIdType incX,
vtkIdType incY,
vtkIdType incZ 
)
protected

◆ SetTopLevelSpacing() [1/2]

virtual void vtkHierarchicalFractal::SetTopLevelSpacing ( double  ,
double  ,
double   
)
protectedvirtual

◆ SetTopLevelSpacing() [2/2]

virtual void vtkHierarchicalFractal::SetTopLevelSpacing ( double  [3])
protectedvirtual

◆ GetTopLevelSpacing() [1/3]

virtual double* vtkHierarchicalFractal::GetTopLevelSpacing ( )
protectedvirtual

◆ GetTopLevelSpacing() [2/3]

virtual void vtkHierarchicalFractal::GetTopLevelSpacing ( double ,
double ,
double  
)
protectedvirtual

◆ GetTopLevelSpacing() [3/3]

virtual void vtkHierarchicalFractal::GetTopLevelSpacing ( double  [3])
protectedvirtual

◆ SetTopLevelOrigin() [1/2]

virtual void vtkHierarchicalFractal::SetTopLevelOrigin ( double  ,
double  ,
double   
)
protectedvirtual

◆ SetTopLevelOrigin() [2/2]

virtual void vtkHierarchicalFractal::SetTopLevelOrigin ( double  [3])
protectedvirtual

◆ GetTopLevelOrigin() [1/3]

virtual double* vtkHierarchicalFractal::GetTopLevelOrigin ( )
protectedvirtual

◆ GetTopLevelOrigin() [2/3]

virtual void vtkHierarchicalFractal::GetTopLevelOrigin ( double ,
double ,
double  
)
protectedvirtual

◆ GetTopLevelOrigin() [3/3]

virtual void vtkHierarchicalFractal::GetTopLevelOrigin ( double  [3])
protectedvirtual

◆ InternalImageDataCopy()

void vtkHierarchicalFractal::InternalImageDataCopy ( vtkHierarchicalFractal src)
protected

Member Data Documentation

◆ StartBlock

int vtkHierarchicalFractal::StartBlock
protected

Definition at line 126 of file vtkHierarchicalFractal.h.

◆ EndBlock

int vtkHierarchicalFractal::EndBlock
protected

Definition at line 127 of file vtkHierarchicalFractal.h.

◆ BlockCount

int vtkHierarchicalFractal::BlockCount
protected

Definition at line 128 of file vtkHierarchicalFractal.h.

◆ TimeStep

int vtkHierarchicalFractal::TimeStep
protected

Definition at line 129 of file vtkHierarchicalFractal.h.

◆ TimeStepRange

int vtkHierarchicalFractal::TimeStepRange[2]
protected

Definition at line 130 of file vtkHierarchicalFractal.h.

◆ Overlap

int vtkHierarchicalFractal::Overlap
protected

Definition at line 188 of file vtkHierarchicalFractal.h.

◆ Asymetric

int vtkHierarchicalFractal::Asymetric
protected

Definition at line 189 of file vtkHierarchicalFractal.h.

◆ MaximumLevel

int vtkHierarchicalFractal::MaximumLevel
protected

Definition at line 190 of file vtkHierarchicalFractal.h.

◆ Dimensions

int vtkHierarchicalFractal::Dimensions
protected

Definition at line 191 of file vtkHierarchicalFractal.h.

◆ FractalValue

float vtkHierarchicalFractal::FractalValue
protected

Definition at line 192 of file vtkHierarchicalFractal.h.

◆ GhostLevels

int vtkHierarchicalFractal::GhostLevels
protected

Definition at line 193 of file vtkHierarchicalFractal.h.

◆ Levels

vtkIntArray* vtkHierarchicalFractal::Levels
protected

Definition at line 194 of file vtkHierarchicalFractal.h.

◆ TwoDimensional

int vtkHierarchicalFractal::TwoDimensional
protected

Definition at line 195 of file vtkHierarchicalFractal.h.

◆ TopLevelSpacing

double vtkHierarchicalFractal::TopLevelSpacing[3]
protected

Definition at line 198 of file vtkHierarchicalFractal.h.

◆ TopLevelOrigin

double vtkHierarchicalFractal::TopLevelOrigin[3]
protected

Definition at line 199 of file vtkHierarchicalFractal.h.

◆ GenerateRectilinearGrids

int vtkHierarchicalFractal::GenerateRectilinearGrids
protected

Definition at line 201 of file vtkHierarchicalFractal.h.

◆ OutputUtil

vtkSmartPointer<HierarchicalFractalOutputUtil> vtkHierarchicalFractal::OutputUtil
protected

Definition at line 204 of file vtkHierarchicalFractal.h.


The documentation for this class was generated from the following file: