|
Eidolon
|
Classes | |
| class | TestX4DFPlugin |
| class | X4DFPlugin |
Functions | |
| def | shapeStr (arr) |
| def | array2MatrixForm (arr, dtype) |
| def | convertMesh (obj, arrayformat=ASCII, filenamePrefix=None) |
| def | convertImage (obj, plugin, arrayformat=ASCII, datatype='f4', filenamePrefix=None) |
| def | importMeshes (x4) |
| def | importImages (x4, plugin) |
Variables | |
| ConfigArgs | |
| def eidolon.plugins.X4DFPlugin.array2MatrixForm | ( | arr, | |
| dtype | |||
| ) |
Return the equivalent of `arr' with a 2D shape and with the given type.

| def eidolon.plugins.X4DFPlugin.convertImage | ( | obj, | |
| plugin, | |||
arrayformat = ASCII, |
|||
datatype = 'f4', |
|||
filenamePrefix = None |
|||
| ) |
Convert the ImageSceneObject `obj' into a x4df structure. The arrays are all formatted the same using `arrayformat' and are stored in files whose names begin with `filenamePrefix' if this is given, otherwise they are stored in the XML document. If the format is binary and `filenamePrefix' is not given, the name of `obj' is used instead. The `plugin' value should be an ImageScenePlugin instance used to generate an object array from obj, typically this is `obj.plugin' but doesn't have to be. The return value is a single x4df object containing a single mesh.


| def eidolon.plugins.X4DFPlugin.convertMesh | ( | obj, | |
arrayformat = ASCII, |
|||
filenamePrefix = None |
|||
| ) |
Convert the MeshSceneObject `obj' into a x4df structure. The arrays are all formatted the same using `arrayformat' and are stored in files whose names begin with `filenamePrefix' if this is given, otherwise they are stored in the XML document. If the format is binary and `filenamePrefix' is not given, the name of `obj' is used instead. The return value is a single x4df object containing a single mesh.


| def eidolon.plugins.X4DFPlugin.importImages | ( | x4, | |
| plugin | |||
| ) |
Import images from the X4DF object `x4', returning a list of ImageSceneObject instances. The `plugin' must be an ImageScenePlugin instance used to create the objects.

| def eidolon.plugins.X4DFPlugin.importMeshes | ( | x4 | ) |
Import meshes from the X4DF object `x4', returning a list of MeshSceneObject instances.

| def eidolon.plugins.X4DFPlugin.shapeStr | ( | arr | ) |

| ConfigArgs |
1.8.13