java.lang.Object
com.ardor3d.extension.model.collada.jdom.data.DataCache

public class DataCache extends Object
Performance cache and temp storage during parsing.
  • Constructor Details

    • DataCache

      public DataCache()
  • Method Details

    • bindMaterial

      public void bindMaterial(String ref, org.jdom2.Element material)
    • unbindMaterial

      public void unbindMaterial(String ref)
    • getBoundMaterial

      public org.jdom2.Element getBoundMaterial(String ref)
    • containsTexture

      public boolean containsTexture(String path)
    • addTexture

      public void addTexture(String path, Texture texture)
    • getTexture

      public Texture getTexture(String path)
    • getIdCache

      public Map<String,org.jdom2.Element> getIdCache()
    • getSidCache

      public Map<String,org.jdom2.Element> getSidCache()
    • getxPathExpressions

      public Map<String,org.jdom2.xpath.XPathExpression<?>> getxPathExpressions()
    • getPattern

      public Pattern getPattern()
    • getTransformTypes

      public List<String> getTransformTypes()
    • getFloatArrays

      public Map<org.jdom2.Element,float[]> getFloatArrays()
    • getDoubleArrays

      public Map<org.jdom2.Element,double[]> getDoubleArrays()
    • getBooleanArrays

      public Map<org.jdom2.Element,boolean[]> getBooleanArrays()
    • getIntArrays

      public Map<org.jdom2.Element,int[]> getIntArrays()
    • getStringArrays

      public Map<org.jdom2.Element,String[]> getStringArrays()
    • getVertMappings

      public Map<org.jdom2.Element,List<MeshVertPairs>> getVertMappings()
    • getMeshVertMap

      public Map<Mesh,VertMap> getMeshVertMap()
    • getParsedVertexColors

      public Map<MeshData,List<FloatBuffer>> getParsedVertexColors()
    • getMaterialInfoMap

      public Map<String,MaterialInfo> getMaterialInfoMap()
    • getMeshMaterialMap

      public Map<Mesh,String> getMeshMaterialMap()
    • getElementSpatialMapping

      public Map<org.jdom2.Element,Spatial> getElementSpatialMapping()
    • getElementJointMapping

      public Map<org.jdom2.Element,Joint> getElementJointMapping()
    • getExternalJointMapping

      public Map<String,Joint> getExternalJointMapping()
    • getRootJointNode

      public JointNode getRootJointNode()
    • setRootJointNode

      public void setRootJointNode(JointNode rootJointNode)
    • getJointSkeletonMapping

      public Map<Joint,Skeleton> getJointSkeletonMapping()
    • getSkeletonPoseMapping

      public Map<Skeleton,SkeletonPose> getSkeletonPoseMapping()
    • getControllers

      public List<ControllerStore> getControllers()
    • getSkeletons

      public List<Skeleton> getSkeletons()
    • addSkeleton

      public void addSkeleton(Skeleton skeleton)
    • setMeshVertMap

      public void setMeshVertMap(Mesh geometry, VertMap map)
    • addAttachmentPoint

      public void addAttachmentPoint(Joint joint, AttachmentPoint attach)
    • getAttachmentPoints

      public Map<Joint,List<AttachmentPoint>> getAttachmentPoints()