Mandelbrot image.
More...
#include <vtkImageMandelbrotSource.h>
Inherits vtkImageAlgorithm.
|
virtual int | IsA (const char *type) |
|
vtkImageMandelbrotSource * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | CopyOriginAndSample (vtkImageMandelbrotSource *source) |
|
|
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) |
|
|
virtual void | SetSubsampleRate (int) |
|
virtual int | GetSubsampleRate () |
|
Mandelbrot image.
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.
- Examples:
- vtkImageMandelbrotSource (Examples)
- Tests:
- vtkImageMandelbrotSource (Tests)
Definition at line 41 of file vtkImageMandelbrotSource.h.
vtkImageMandelbrotSource::vtkImageMandelbrotSource |
( |
| ) |
|
|
protected |
vtkImageMandelbrotSource::~vtkImageMandelbrotSource |
( |
| ) |
|
|
protected |
static int vtkImageMandelbrotSource::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkImageMandelbrotSource::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkImageMandelbrotSource::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkImageMandelbrotSource::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkImageMandelbrotSource::SetWholeExtent |
( |
int |
extent[6] | ) |
|
Set/Get the extent of the whole output Volume.
void vtkImageMandelbrotSource::SetWholeExtent |
( |
int |
minX, |
|
|
int |
maxX, |
|
|
int |
minY, |
|
|
int |
maxY, |
|
|
int |
minZ, |
|
|
int |
maxZ |
|
) |
| |
Set/Get the extent of the whole output Volume.
virtual int* vtkImageMandelbrotSource::GetWholeExtent |
( |
| ) |
|
|
virtual |
Set/Get the extent of the whole output Volume.
virtual void vtkImageMandelbrotSource::GetWholeExtent |
( |
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
| |
|
virtual |
Set/Get the extent of the whole output Volume.
virtual void vtkImageMandelbrotSource::GetWholeExtent |
( |
int |
[6] | ) |
|
|
virtual |
Set/Get the extent of the whole output Volume.
virtual void vtkImageMandelbrotSource::SetConstantSize |
( |
int |
| ) |
|
|
virtual |
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant.
virtual int vtkImageMandelbrotSource::GetConstantSize |
( |
| ) |
|
|
virtual |
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant.
virtual void vtkImageMandelbrotSource::ConstantSizeOn |
( |
| ) |
|
|
virtual |
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant.
virtual void vtkImageMandelbrotSource::ConstantSizeOff |
( |
| ) |
|
|
virtual |
This flag determines whether the Size or spacing of a data set remain constant (when extent is changed). By default, size remains constant.
void vtkImageMandelbrotSource::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 vtkImageMandelbrotSource::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 69 of file vtkImageMandelbrotSource.h.
virtual int* vtkImageMandelbrotSource::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 vtkImageMandelbrotSource::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 vtkImageMandelbrotSource::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 vtkImageMandelbrotSource::SetOriginCX |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual void vtkImageMandelbrotSource::SetOriginCX |
( |
double |
[4] | ) |
|
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual double* vtkImageMandelbrotSource::GetOriginCX |
( |
| ) |
|
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual void vtkImageMandelbrotSource::GetOriginCX |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual void vtkImageMandelbrotSource::GetOriginCX |
( |
double |
[4] | ) |
|
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual void vtkImageMandelbrotSource::SetSampleCX |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual void vtkImageMandelbrotSource::SetSampleCX |
( |
double |
[4] | ) |
|
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual double* vtkImageMandelbrotSource::GetSampleCX |
( |
| ) |
|
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual void vtkImageMandelbrotSource::GetSampleCX |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
virtual void vtkImageMandelbrotSource::GetSampleCX |
( |
double |
[4] | ) |
|
|
virtual |
Imaginary and real value for C (constant in equation) and X (initial value).
void vtkImageMandelbrotSource::SetSizeCX |
( |
double |
cReal, |
|
|
double |
cImag, |
|
|
double |
xReal, |
|
|
double |
xImag |
|
) |
| |
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).
double* vtkImageMandelbrotSource::GetSizeCX |
( |
| ) |
|
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).
void vtkImageMandelbrotSource::GetSizeCX |
( |
double |
s[4] | ) |
|
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 vtkImageMandelbrotSource::SetMaximumNumberOfIterations |
( |
unsigned |
short | ) |
|
|
virtual |
The maximum number of cycles run to see if the value goes over 2
virtual unsigned short vtkImageMandelbrotSource::GetMaximumNumberOfIterations |
( |
| ) |
|
|
virtual |
The maximum number of cycles run to see if the value goes over 2
void vtkImageMandelbrotSource::Zoom |
( |
double |
factor | ) |
|
Convienence for Viewer. Pan 3D volume relative to spacing. Zoom constant factor.
void vtkImageMandelbrotSource::Pan |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
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 ???
virtual void vtkImageMandelbrotSource::SetSubsampleRate |
( |
int |
| ) |
|
|
virtual |
Set/Get a subsample rate.
virtual int vtkImageMandelbrotSource::GetSubsampleRate |
( |
| ) |
|
|
virtual |
Set/Get a subsample rate.
virtual int vtkImageMandelbrotSource::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
virtual int vtkImageMandelbrotSource::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
double vtkImageMandelbrotSource::EvaluateSet |
( |
double |
p[4] | ) |
|
|
protected |
int vtkImageMandelbrotSource::ProjectionAxes[3] |
|
protected |
int vtkImageMandelbrotSource::WholeExtent[6] |
|
protected |
double vtkImageMandelbrotSource::OriginCX[4] |
|
protected |
double vtkImageMandelbrotSource::SampleCX[4] |
|
protected |
unsigned short vtkImageMandelbrotSource::MaximumNumberOfIterations |
|
protected |
double vtkImageMandelbrotSource::SizeCX[4] |
|
protected |
int vtkImageMandelbrotSource::ConstantSize |
|
protected |
int vtkImageMandelbrotSource::SubsampleRate |
|
protected |
The documentation for this class was generated from the following file: