81 |
Class that defines the structured points. |
Class that defines the structured points. |
82 |
""" |
""" |
83 |
|
|
84 |
# NOTE: The algorithm of this class was extracted from Mayavi's source code. |
# NOTE: The algorithm of this class was extracted from Mayavi's |
85 |
|
# online source code. |
86 |
def __init__(self, object): |
def __init__(self, object): |
87 |
""" |
""" |
88 |
Initialise the structured points. |
Initialise the structured points. |
143 |
|
|
144 |
def setDimension(self, x, y, z): |
def setDimension(self, x, y, z): |
145 |
""" |
""" |
146 |
Set the dimension (number of points) on the x, y and z axes. |
Set the dimension (number of points) on the x, y and z axes. The |
147 |
|
smaller the dimension, the more points are populated. |
148 |
|
|
149 |
@type x: Number |
@type x: Number |
150 |
@param x: Number of points on the x-axis |
@param x: Number of points on the x-axis |