VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkHyperOctreeFractalSource Class Reference

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

#include <vtkHyperOctreeFractalSource.h>

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

List of all members.

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 intGetProjectionAxes ()
virtual void GetProjectionAxes (int &, int &, int &)
virtual void GetProjectionAxes (int[3])
virtual void SetOriginCX (double, double, double, double)
virtual void SetOriginCX (double[4])
virtual doubleGetOriginCX ()
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 doubleGetSizeCX ()
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 vtkObjectBaseNewInstanceInternal () 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

Reimplemented from vtkHyperOctreeAlgorithm.

Definition at line 38 of file vtkHyperOctreeFractalSource.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkHyperOctreeFractalSource::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 vtkHyperOctreeAlgorithm.

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

Reimplemented from vtkHyperOctreeAlgorithm.

virtual vtkObjectBase* vtkHyperOctreeFractalSource::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkHyperOctreeAlgorithm.

Reimplemented from vtkHyperOctreeAlgorithm.

void vtkHyperOctreeFractalSource::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 vtkHyperOctreeAlgorithm.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

Return the maximum number of levels of the hyperoctree.

Postcondition:
positive_result: result>=1

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

Return the minimal number of levels of systematic subdivision.

Postcondition:
positive_result: result>=0

Return the minimal number of levels of systematic subdivision.

Postcondition:
positive_result: result>=0

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

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.

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

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

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.

Create a 2D or 3D fractal.

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.

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 
) [protected, virtual]

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]

Member Data Documentation

Definition at line 123 of file vtkHyperOctreeFractalSource.h.

Definition at line 124 of file vtkHyperOctreeFractalSource.h.

Definition at line 125 of file vtkHyperOctreeFractalSource.h.

Definition at line 127 of file vtkHyperOctreeFractalSource.h.

Definition at line 129 of file vtkHyperOctreeFractalSource.h.

Definition at line 132 of file vtkHyperOctreeFractalSource.h.

Definition at line 136 of file vtkHyperOctreeFractalSource.h.

Definition at line 141 of file vtkHyperOctreeFractalSource.h.

Definition at line 142 of file vtkHyperOctreeFractalSource.h.

Definition at line 144 of file vtkHyperOctreeFractalSource.h.


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