VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkHyperOctreeFractalSource Class Reference

Create an octree from a fractal. hyperoctree. More...

#include <vtkHyperOctreeFractalSource.h>

Inheritance diagram for vtkHyperOctreeFractalSource:
[legend]
Collaboration diagram for vtkHyperOctreeFractalSource:
[legend]

Public Types

typedef vtkHyperOctreeAlgorithm Superclass
 
- Public Types inherited from vtkHyperOctreeAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
typedef vtkObject Superclass
 
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkHyperOctreeFractalSourceNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int GetMaximumLevel ()
 
void SetMaximumLevel (int levels)
 
void SetMinimumLevel (int level)
 
int GetMinimumLevel ()
 
void SetProjectionAxes (int x, int y, int z)
 
void SetProjectionAxes (int a[3])
 
virtual int * GetProjectionAxes ()
 
virtual void GetProjectionAxes (int &, int &, int &)
 
virtual void GetProjectionAxes (int[3])
 
virtual void SetOriginCX (double, double, double, double)
 
virtual void SetOriginCX (double[4])
 
virtual double * GetOriginCX ()
 
virtual void GetOriginCX (double &, double &, double &, double &)
 
virtual void GetOriginCX (double[4])
 
virtual void SetSizeCX (double, double, double, double)
 
virtual void SetSizeCX (double[4])
 
virtual double * GetSizeCX ()
 
virtual void GetSizeCX (double &, double &, double &, double &)
 
virtual void GetSizeCX (double[4])
 
virtual void SetMaximumNumberOfIterations (unsigned short)
 
virtual unsigned char GetMaximumNumberOfIterations ()
 
virtual void SetDimension (int)
 
virtual int GetDimension ()
 
virtual void SetSpanThreshold (double)
 
virtual double GetSpanThreshold ()
 
- Public Member Functions inherited from vtkHyperOctreeAlgorithm
vtkHyperOctreeAlgorithmNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkDataObjectGetInput ()
 
vtkDataObjectGetInput (int port)
 
vtkHyperOctree * GetHyperOctreeInput (int port)
 
vtkHyperOctree * GetOutput ()
 
vtkHyperOctree * GetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformation * GetInputPortInformation (int port)
 
vtkInformation * GetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformation * GetInputArrayInformation (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)
 
vtkInformation * GetInputInformation (int port, int index)
 
vtkInformation * GetOutputInformation (int port)
 
virtual void UpdateInformation ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
virtual double ComputePriority ()
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
 
virtual vtkInformation * GetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
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 ()
 
vtkInformation * GetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
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)
 
void SetUpdateExtent (int extent[6])
 
int * GetUpdateExtent ()
 
int * GetUpdateExtent (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)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static
vtkHyperOctreeFractalSource
SafeDownCast (vtkObjectBase *o)
 
static
vtkHyperOctreeFractalSource
New ()
 
- Static Public Member Functions inherited from vtkHyperOctreeAlgorithm
static int IsTypeOf (const char *type)
 
static vtkHyperOctreeAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
static vtkInformationIntegerKey * INPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKey * INPUT_IS_REPEATABLE ()
 
static
vtkInformationInformationVectorKey * 
INPUT_REQUIRED_FIELDS ()
 
static
vtkInformationStringVectorKey * 
INPUT_REQUIRED_DATA_TYPE ()
 
static
vtkInformationInformationVectorKey * 
INPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKey * INPUT_PORT ()
 
static vtkInformationIntegerKey * INPUT_CONNECTION ()
 
static vtkInformationIntegerKey * PRESERVES_DATASET ()
 
static vtkInformationIntegerKey * PRESERVES_GEOMETRY ()
 
static vtkInformationIntegerKey * PRESERVES_BOUNDS ()
 
static vtkInformationIntegerKey * PRESERVES_TOPOLOGY ()
 
static vtkInformationIntegerKey * PRESERVES_ATTRIBUTES ()
 
static vtkInformationIntegerKey * PRESERVES_RANGES ()
 
static vtkInformationIntegerKey * MANAGES_METAINFORMATION ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkHyperOctreeFractalSource ()
 
 ~vtkHyperOctreeFractalSource ()
 
int RequestInformation (vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void Subdivide (vtkHyperOctreeCursor *cursor, int level, vtkHyperOctree *output, double *origin, double *size, float *cornerVals)
 
float EvaluateWorldPoint (double p[3])
 
float EvaluateSet (double p[4])
 
- Protected Member Functions inherited from vtkHyperOctreeAlgorithm
 vtkHyperOctreeAlgorithm ()
 
 ~vtkHyperOctreeAlgorithm ()
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
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)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArray * GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArray * GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArray * GetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArray * GetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformation * GetInputArrayFieldInformation (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)
 
virtual void SetErrorCode (unsigned long)
 

Protected Attributes

int MaximumLevel
 
int MinimumLevel
 
int Dimension
 
int ProjectionAxes [3]
 
unsigned char MaximumNumberOfIterations
 
double OriginCX [4]
 
double SizeCX [4]
 
double Origin [3]
 
double Size [3]
 
double SpanThreshold
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformation * Information
 
double Progress
 
char * ProgressText
 
unsigned long ErrorCode
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKey * PORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

Create an octree from a fractal. hyperoctree.

See Also
vtkHyperOctreeSampleFunction
Tests:
vtkHyperOctreeFractalSource (Tests)

Definition at line 35 of file vtkHyperOctreeFractalSource.h.

Member Typedef Documentation

Definition at line 38 of file vtkHyperOctreeFractalSource.h.

Constructor & Destructor Documentation

vtkHyperOctreeFractalSource::vtkHyperOctreeFractalSource ( )
protected
vtkHyperOctreeFractalSource::~vtkHyperOctreeFractalSource ( )
protected

Member Function Documentation

static int vtkHyperOctreeFractalSource::IsTypeOf ( const char *  type)
static
virtual int vtkHyperOctreeFractalSource::IsA ( const char *  type)
virtual

Reimplemented from vtkHyperOctreeAlgorithm.

static vtkHyperOctreeFractalSource* vtkHyperOctreeFractalSource::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkHyperOctreeFractalSource::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkHyperOctreeAlgorithm.

vtkHyperOctreeFractalSource* vtkHyperOctreeFractalSource::NewInstance ( ) const
void vtkHyperOctreeFractalSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkHyperOctreeFractalSource* vtkHyperOctreeFractalSource::New ( )
static
int vtkHyperOctreeFractalSource::GetMaximumLevel ( )

Return the maximum number of levels of the hyperoctree.

Postcondition
positive_result: result>=1
void vtkHyperOctreeFractalSource::SetMaximumLevel ( int  levels)

Set the maximum number of levels of the hyperoctree. If GetMinLevels()>=levels, GetMinLevels() is changed to levels-1.

Precondition
positive_levels: levels>=1
Postcondition
is_set: this->GetLevels()==levels
min_is_valid: this->GetMinLevels()<this->GetLevels()
void vtkHyperOctreeFractalSource::SetMinimumLevel ( int  level)

Return the minimal number of levels of systematic subdivision.

Postcondition
positive_result: result>=0
int vtkHyperOctreeFractalSource::GetMinimumLevel ( )

Return the minimal number of levels of systematic subdivision.

Postcondition
positive_result: result>=0
void vtkHyperOctreeFractalSource::SetProjectionAxes ( int  x,
int  y,
int  z 
)

Set the projection from the 4D space (4 parameters / 2 imaginary numbers) to the axes of the 3D Volume. 0=C_Real, 1=C_Imaginary, 2=X_Real, 4=X_Imaginary

void vtkHyperOctreeFractalSource::SetProjectionAxes ( int  a[3])
inline

Set the projection from the 4D space (4 parameters / 2 imaginary numbers) to the axes of the 3D Volume. 0=C_Real, 1=C_Imaginary, 2=X_Real, 4=X_Imaginary

Definition at line 68 of file vtkHyperOctreeFractalSource.h.

virtual int* vtkHyperOctreeFractalSource::GetProjectionAxes ( )
virtual

Set the projection from the 4D space (4 parameters / 2 imaginary numbers) to the axes of the 3D Volume. 0=C_Real, 1=C_Imaginary, 2=X_Real, 4=X_Imaginary

virtual void vtkHyperOctreeFractalSource::GetProjectionAxes ( int &  ,
int &  ,
int &   
)
virtual

Set the projection from the 4D space (4 parameters / 2 imaginary numbers) to the axes of the 3D Volume. 0=C_Real, 1=C_Imaginary, 2=X_Real, 4=X_Imaginary

virtual void vtkHyperOctreeFractalSource::GetProjectionAxes ( int  [3])
virtual

Set the projection from the 4D space (4 parameters / 2 imaginary numbers) to the axes of the 3D Volume. 0=C_Real, 1=C_Imaginary, 2=X_Real, 4=X_Imaginary

virtual void vtkHyperOctreeFractalSource::SetOriginCX ( double  ,
double  ,
double  ,
double   
)
virtual

Imaginary and real value for C (constant in equation) and X (initial value).

virtual void vtkHyperOctreeFractalSource::SetOriginCX ( double  [4])
virtual

Imaginary and real value for C (constant in equation) and X (initial value).

virtual double* vtkHyperOctreeFractalSource::GetOriginCX ( )
virtual

Imaginary and real value for C (constant in equation) and X (initial value).

virtual void vtkHyperOctreeFractalSource::GetOriginCX ( double &  ,
double &  ,
double &  ,
double &   
)
virtual

Imaginary and real value for C (constant in equation) and X (initial value).

virtual void vtkHyperOctreeFractalSource::GetOriginCX ( double  [4])
virtual

Imaginary and real value for C (constant in equation) and X (initial value).

virtual void vtkHyperOctreeFractalSource::SetSizeCX ( double  ,
double  ,
double  ,
double   
)
virtual

Just a different way of setting the sample. This sets the size of the 4D volume. SampleCX is computed from size and extent. Size is ignored when a dimension i 0 (collapsed).

virtual void vtkHyperOctreeFractalSource::SetSizeCX ( double  [4])
virtual

Just a different way of setting the sample. This sets the size of the 4D volume. SampleCX is computed from size and extent. Size is ignored when a dimension i 0 (collapsed).

virtual double* vtkHyperOctreeFractalSource::GetSizeCX ( )
virtual

Just a different way of setting the sample. This sets the size of the 4D volume. SampleCX is computed from size and extent. Size is ignored when a dimension i 0 (collapsed).

virtual void vtkHyperOctreeFractalSource::GetSizeCX ( double &  ,
double &  ,
double &  ,
double &   
)
virtual

Just a different way of setting the sample. This sets the size of the 4D volume. SampleCX is computed from size and extent. Size is ignored when a dimension i 0 (collapsed).

virtual void vtkHyperOctreeFractalSource::GetSizeCX ( double  [4])
virtual

Just a different way of setting the sample. This sets the size of the 4D volume. SampleCX is computed from size and extent. Size is ignored when a dimension i 0 (collapsed).

virtual void vtkHyperOctreeFractalSource::SetMaximumNumberOfIterations ( unsigned  short)
virtual

The maximum number of cycles run to see if the value goes over 2

virtual unsigned char vtkHyperOctreeFractalSource::GetMaximumNumberOfIterations ( )
virtual

The maximum number of cycles run to see if the value goes over 2

virtual void vtkHyperOctreeFractalSource::SetDimension ( int  )
virtual

Create a 2D or 3D fractal.

virtual int vtkHyperOctreeFractalSource::GetDimension ( )
virtual

Create a 2D or 3D fractal.

virtual void vtkHyperOctreeFractalSource::SetSpanThreshold ( double  )
virtual

Controls when a leaf gets subdivided. If the corner values span a larger range than this value, the leaf is subdivided. This defaults to 2.

virtual double vtkHyperOctreeFractalSource::GetSpanThreshold ( )
virtual

Controls when a leaf gets subdivided. If the corner values span a larger range than this value, the leaf is subdivided. This defaults to 2.

int vtkHyperOctreeFractalSource::RequestInformation ( vtkInformation *  vtkNotUsedrequest,
vtkInformationVector **  vtkNotUsedinputVector,
vtkInformationVector *  outputVector 
)
protected
virtual int vtkHyperOctreeFractalSource::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

This is called by the superclass. This is the method you should override.

Reimplemented from vtkHyperOctreeAlgorithm.

void vtkHyperOctreeFractalSource::Subdivide ( vtkHyperOctreeCursor cursor,
int  level,
vtkHyperOctree *  output,
double *  origin,
double *  size,
float *  cornerVals 
)
protected
float vtkHyperOctreeFractalSource::EvaluateWorldPoint ( double  p[3])
protected
float vtkHyperOctreeFractalSource::EvaluateSet ( double  p[4])
protected

Member Data Documentation

int vtkHyperOctreeFractalSource::MaximumLevel
protected

Definition at line 123 of file vtkHyperOctreeFractalSource.h.

int vtkHyperOctreeFractalSource::MinimumLevel
protected

Definition at line 124 of file vtkHyperOctreeFractalSource.h.

int vtkHyperOctreeFractalSource::Dimension
protected

Definition at line 125 of file vtkHyperOctreeFractalSource.h.

int vtkHyperOctreeFractalSource::ProjectionAxes[3]
protected

Definition at line 127 of file vtkHyperOctreeFractalSource.h.

unsigned char vtkHyperOctreeFractalSource::MaximumNumberOfIterations
protected

Definition at line 129 of file vtkHyperOctreeFractalSource.h.

double vtkHyperOctreeFractalSource::OriginCX[4]
protected

Definition at line 132 of file vtkHyperOctreeFractalSource.h.

double vtkHyperOctreeFractalSource::SizeCX[4]
protected

Definition at line 136 of file vtkHyperOctreeFractalSource.h.

double vtkHyperOctreeFractalSource::Origin[3]
protected

Definition at line 141 of file vtkHyperOctreeFractalSource.h.

double vtkHyperOctreeFractalSource::Size[3]
protected

Definition at line 142 of file vtkHyperOctreeFractalSource.h.

double vtkHyperOctreeFractalSource::SpanThreshold
protected

Definition at line 144 of file vtkHyperOctreeFractalSource.h.


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