#include <vtkImageMandelbrotSource.h>
Inheritance diagram for vtkImageMandelbrotSource:
vtkImageMandelbrotSource creates an unsigned char image of the Mandelbrot set. The values in the image are the number of iterations it takes for the magnitude of the value to get over 2. The equation repeated is z = z^2 + C (z and C are complex). Initial value of z is zero, and the real value of C is mapped onto the x axis, and the imaginary value of C is mapped onto the Y Axis. I was thinking of extending this source to generate Julia Sets (initial value of Z varies). This would be 4 possible parameters to vary, but there are no more 4d images :( The third dimension (z axis) is the imaginary value of the initial value.
Definition at line 40 of file vtkImageMandelbrotSource.h.
Public Types | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | CopyOriginAndSample (vtkImageMandelbrotSource *source) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetWholeExtent (int extent[6]) |
void | SetWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ) |
virtual int * | GetWholeExtent () |
virtual void | GetWholeExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetWholeExtent (int[6]) |
virtual void | SetConstantSize (int) |
virtual int | GetConstantSize () |
virtual void | ConstantSizeOn () |
virtual void | ConstantSizeOff () |
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 | SetSampleCX (double, double, double, double) |
virtual void | SetSampleCX (double[4]) |
virtual double * | GetSampleCX () |
virtual void | GetSampleCX (double &, double &, double &, double &) |
virtual void | GetSampleCX (double[4]) |
void | SetSizeCX (double cReal, double cImag, double xReal, double xImag) |
double * | GetSizeCX () |
void | GetSizeCX (double s[4]) |
virtual void | SetMaximumNumberOfIterations (unsigned short) |
virtual unsigned short | GetMaximumNumberOfIterations () |
void | Zoom (double factor) |
void | Pan (double x, double y, double z) |
Static Public Member Functions | |
static vtkImageMandelbrotSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageMandelbrotSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageMandelbrotSource () | |
~vtkImageMandelbrotSource () | |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
double | EvaluateSet (double p[4]) |
Protected Attributes | |
int | ProjectionAxes [3] |
int | WholeExtent [6] |
double | OriginCX [4] |
double | SampleCX [4] |
unsigned short | MaximumNumberOfIterations |
double | SizeCX [4] |
int | ConstantSize |
|
Reimplemented from vtkImageAlgorithm. Definition at line 44 of file vtkImageMandelbrotSource.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. |
|
Reimplemented from vtkImageAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageAlgorithm. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkImageAlgorithm. |
|
Reimplemented from vtkImageAlgorithm. |
|
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 vtkImageAlgorithm. |
|
Set/Get the extent of the whole output Volume. |
|
|
|
|
|
|
|
|
|
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant. |
|
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant. |
|
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant. |
|
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant. |
|
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 vtkImageMandelbrotSource.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 |
|
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 |
|
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). |
|
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). |
|
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). |
|
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). |
|
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). |
|
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). |
|
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). |
|
The maximum number of cycles run to see if the value goes over 2 |
|
The maximum number of cycles run to see if the value goes over 2 |
|
Convienence for Viewer. Pan 3D volume relative to spacing. Zoom constant factor. |
|
Convienence for Viewer. Pan 3D volume relative to spacing. Zoom constant factor. |
|
Convienence for Viewer. Copy the OriginCX and the SpacingCX. What about other parameters ??? |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkImageAlgorithm. |
|
Reimplemented from vtkImageAlgorithm. |
|
|
|
Definition at line 118 of file vtkImageMandelbrotSource.h. |
|
Definition at line 121 of file vtkImageMandelbrotSource.h. |
|
Definition at line 124 of file vtkImageMandelbrotSource.h. |
|
Definition at line 126 of file vtkImageMandelbrotSource.h. |
|
Definition at line 127 of file vtkImageMandelbrotSource.h. |
|
Definition at line 131 of file vtkImageMandelbrotSource.h. |
|
Definition at line 134 of file vtkImageMandelbrotSource.h. |