1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
Usage
vtkRTAnalyticSource just produces images with pixel values
determined by a Maximum*Gaussian*XMag*sin(XFreq*x)*sin
(YFreq*y)*cos(ZFreq*z) Values are float scalars on point
data with name "RTData".
To create an instance of class vtkRTAnalyticSource, simply
invoke its constructor as follows
obj = vtkRTAnalyticSource
Methods
The class vtkRTAnalyticSource has several methods that can
be used. They are listed below. Note that the documentation
is translated automatically from the VTK sources, and may
not be completely intelligible. When in doubt, consult the
VTK website. In the methods listed below, obj is an instance
of the vtkRTAnalyticSource class.
* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkRTAnalyticSource = obj.NewInstance ()
* vtkRTAnalyticSource = obj.SafeDownCast (vtkObject o)
* obj.SetWholeExtent (int xMinx, int xMax, int yMin, int
yMax, int zMin, int zMax) - Set/Get the extent of the
whole output image. Initial value is {-10,10,-10,10,-
10,10}
* int = obj. GetWholeExtent () - Set/Get the extent of the
whole output image. Initial value is {-10,10,-10,10,-
10,10}
* obj.SetCenter (double , double , double ) - Set/Get the
center of function. Initial value is {0.0,0.0,0.0}
* obj.SetCenter (double a[3]) - Set/Get the center of
function. Initial value is {0.0,0.0,0.0}
* double = obj. GetCenter () - Set/Get the center of
function. Initial value is {0.0,0.0,0.0}
* obj.SetMaximum (double ) - Set/Get the Maximum value of
the function. Initial value is 255.0.
* double = obj.GetMaximum () - Set/Get the Maximum value of
the function. Initial value is 255.0.
* obj.SetStandardDeviation (double ) - Set/Get the standard
deviation of the function. Initial value is 0.5.
* double = obj.GetStandardDeviation () - Set/Get the
standard deviation of the function. Initial value is 0.5.
* obj.SetXFreq (double ) - Set/Get the natural frequency in
x. Initial value is 60.
* double = obj.GetXFreq () - Set/Get the natural frequency
in x. Initial value is 60.
* obj.SetYFreq (double ) - Set/Get the natural frequency in
y. Initial value is 30.
* double = obj.GetYFreq () - Set/Get the natural frequency
in y. Initial value is 30.
* obj.SetZFreq (double ) - Set/Get the natural frequency in
z. Initial value is 40.
* double = obj.GetZFreq () - Set/Get the natural frequency
in z. Initial value is 40.
* obj.SetXMag (double ) - Set/Get the magnitude in x.
Initial value is 10.
* double = obj.GetXMag () - Set/Get the magnitude in x.
Initial value is 10.
* obj.SetYMag (double ) - Set/Get the magnitude in y.
Initial value is 18.
* double = obj.GetYMag () - Set/Get the magnitude in y.
Initial value is 18.
* obj.SetZMag (double ) - Set/Get the magnitude in z.
Initial value is 5.
* double = obj.GetZMag () - Set/Get the magnitude in z.
Initial value is 5.
* obj.SetSubsampleRate (int ) - Set/Get the sub-sample rate.
Initial value is 1.
* int = obj.GetSubsampleRate () - Set/Get the sub-sample
rate. Initial value is 1.
* FreeMat_Documentation
* Visualization_Toolkit_Imaging_Classes
* Generated on Thu Jul 25 2013 17:18:33 for FreeMat by
doxygen_ 1.8.1.1
|