Home | Trees | Index | Help |
|
---|
Module Metaball ::
Class Metaball
|
|
Method Summary | |
---|---|
None |
Add a new metaelem to this metaball. |
a list of 24 floats(8 points, 3 coordinates) |
Retrieves the bounding box of a metaball object. |
a list of 3 floats |
Retrieves the location of a metaball object. |
float |
Retrieves the metadata of a metaball object. |
List |
retreives the list of the Metaelems of the Metaball |
float |
Retrieves the len parameter of a metaelem object. |
float |
Retrieves the s parameter of a metaelem object. |
int |
Retrieves the type of a metaelem object. |
float |
Retrieves the x parameter of a metaelem object. |
float |
Retrieves the y parameter of a metaelem object. |
float |
Retrieves the z parameter of a metaelem object. |
string |
Retrieves the name of a metaball object. |
int |
Retrieves the number of metaelems (elementary spheres or cylinders) of a metaball object. |
float |
Retrieves the rendersize of a metaball object. |
a list of 3 floats |
Retrieves the rotation of a metaball object. |
a list of 3 floats |
Retrieves the size of a metaball object. |
float |
Retrieves the threshold of a metaball object. |
float |
Retrieves the wiresize of a metaball object. |
None |
Sets the location of a metaball object. |
None |
The setMetadata function has the same semantics as getMetadata, except that it needs the parameter value, and always returns None. |
None |
Sets the len parameter of a metaelem object. |
None |
Sets the s parameter of a metaelem object. |
None |
Sets the type of a metaelem object. |
None |
Sets the x parameter of a metaelem object. |
None |
Sets the y parameter of a metaelem object. |
None |
Sets the z parameter of a metaelem object. |
None |
Sets the name of a metaball object. |
None |
Sets the render size of a metaball object. |
None |
Sets the rotation of a metaball object. |
None |
Sets the size of a metaball object. |
None |
Sets the threshold of a metaball object. |
None |
Sets the wire size of a metaball object. |
Class Variable Summary | |
---|---|
loc : The location of the metaball. | |
name : The name of the metaball. | |
rot : The rotation of the metaball. | |
size : The size of the metaball. |
Method Details |
---|
addMetaelem(paramslist)Add a new metaelem to this metaball. 'paramslist' must have the following ten elements:
|
getBbox()Retrieves the bounding box of a metaball object.
|
getLoc()Retrieves the location of a metaball object.
|
getMetadata(name, num)Retrieves the metadata of a metaball object. A metaball is composed of one or several elementary objects, spheres or cylinders, which interact to create the smooth surface everybody knows. The get/set Metadata functions allow users to read/write the parameters of these elementary objects, called metaelements.
|
getMetaElemList()retreives the list of the Metaelems of the Metaball
|
getMetalen(pos)Retrieves the len parameter of a metaelem object.
|
getMetas(pos)Retrieves the s parameter of a metaelem object.
|
getMetatype(pos)Retrieves the type of a metaelem object.
|
getMetax(pos)Retrieves the x parameter of a metaelem object.
|
getMetay(pos)Retrieves the y parameter of a metaelem object.
|
getMetaz(pos)Retrieves the z parameter of a metaelem object.
|
getName()Retrieves the name of a metaball object.
|
getNMetaElems()Retrieves the number of metaelems (elementary spheres or cylinders) of a metaball object.
|
getRendersize()Retrieves the rendersize of a metaball object.
|
getRot()Retrieves the rotation of a metaball object.
|
getSize()Retrieves the size of a metaball object.
|
getThresh()Retrieves the threshold of a metaball object.
|
getWiresize()Retrieves the wiresize of a metaball object.
|
setLoc(newloc)Sets the location of a metaball object.
|
setMetadata(name, num, val)The setMetadata function has the same semantics as getMetadata, except that it needs the parameter value, and always returns None.
|
setMetalen(pos, newlen)Sets the len parameter of a metaelem object.
|
setMetas(pos, news)Sets the s parameter of a metaelem object.
|
setMetatype(pos, newtype)Sets the type of a metaelem object.
|
setMetax(pos, newx)Sets the x parameter of a metaelem object.
|
setMetay(pos, newy)Sets the y parameter of a metaelem object.
|
setMetaz(pos, newz)Sets the z parameter of a metaelem object.
|
setName(name)Sets the name of a metaball object.
|
setRendersize(newsize)Sets the render size of a metaball object.
|
setRot(newrot)Sets the rotation of a metaball object.
|
setSize(newsize)Sets the size of a metaball object.
|
setThresh(threshold)Sets the threshold of a metaball object.
|
setWiresize(newsize)Sets the wire size of a metaball object.
|
Class Variable Details |
---|
locThe location of the metaball. |
nameThe name of the metaball. |
rotThe rotation of the metaball. |
sizeThe size of the metaball. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 12 21:47:29 2004 | http://epydoc.sf.net |