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>

Inherits vtkHyperOctreeAlgorithm.

Public Types

typedef vtkHyperOctreeAlgorithm Superclass
 

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 ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static
vtkHyperOctreeFractalSource
SafeDownCast (vtkObjectBase *o)
 
static
vtkHyperOctreeFractalSource
New ()
 

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 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
 

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

typedef vtkHyperOctreeAlgorithm vtkHyperOctreeFractalSource::Superclass

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
static vtkHyperOctreeFractalSource* vtkHyperOctreeFractalSource::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkHyperOctreeFractalSource::NewInstanceInternal ( ) const
protectedvirtual
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
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: