xml_Utils
Class X3dConvertor
java.lang.Object
xml_Utils.X3dConvertor
public class X3dConvertor
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeshCount
public static int MeshCount
TransformCount
public static int TransformCount
LightCount
public static int LightCount
ProjetPath
public static java.lang.String ProjetPath
DocumentX3DPath
public static java.lang.String DocumentX3DPath
X3dConvertor
public X3dConvertor()
convertDocumentToVCXML
public static org.jdom.Document convertDocumentToVCXML(org.jdom.Document root,
java.lang.String prjtPath,
java.lang.String x3dPath)
convertNode
public static int convertNode(org.jdom.Element node)
noExponent
public static java.lang.String noExponent(java.lang.String s)
convertShapeNode
public static org.jdom.Element convertShapeNode(org.jdom.Element shape)
point3DToVertex
public static org.jdom.Element point3DToVertex(libs_VAE.Point3D point,
int i)
copyFile
public static void copyFile(java.io.File src,
java.io.File dest)
throws java.io.IOException
- Throws:
java.io.IOException
convertX3DNode
public static org.jdom.Element convertX3DNode(org.jdom.Element x3d)
convertTransformNode
public static org.jdom.Element convertTransformNode(org.jdom.Element transform)
toNode
public static org.jdom.Element toNode(org.jdom.Element element)
convertHeadNode
public static org.jdom.Element convertHeadNode(org.jdom.Element head)
convertPointLightNode
public static org.jdom.Element convertPointLightNode(org.jdom.Element pointlight)
convertDirectionaLightNode
public static org.jdom.Element convertDirectionaLightNode(org.jdom.Element dlight)
convertSceneNode
public static org.jdom.Element convertSceneNode(org.jdom.Element scene)
convertVPNode
public static org.jdom.Element convertVPNode(org.jdom.Element viewPoint)
eraseNode
public static org.jdom.Element eraseNode(org.jdom.Element node)