xml_Utils
Class X3dConvertor

java.lang.Object
  extended by xml_Utils.X3dConvertor

public class X3dConvertor
extends java.lang.Object


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

Field Detail

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
Constructor Detail

X3dConvertor

public X3dConvertor()
Method Detail

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)