com.supermap.ar.areffect.loader

Class ArSceneLoader

  • java.lang.Object
    • com.supermap.ar.areffect.loader.ArSceneLoader
  • Direct Known Subclasses:
    ModelGroupScene


    public class ArSceneLoader
    extends java.lang.Object
    AR scene loader Scenes of each floor, sand table, pipeline, etc
    • Constructor Detail

      • ArSceneLoader

        public ArSceneLoader(EffectView arEffectView)
        The constructor
        Parameters:
        arEffectView -
      • ArSceneLoader

        public ArSceneLoader(AREffectElement parent)
        Location of the constructor parent
        Parameters:
        parent -
    • Method Detail

      • updateScenePosition

        public void updateScenePosition(Point3D position)
        Sets the base parent node location
        Parameters:
        position -
      • updateSceneRotation

        public void updateSceneRotation(Quaternion rotation)
        Setting the parent node
        Parameters:
        rotation -
      • updateSceneScale

        public void updateSceneScale(float scale)
        Update scene ratio
        Parameters:
        scale -
      • getSceneElement

        public AREffectElement getSceneElement()
        Gets the scene node element
        Returns:
      • clear

        public void clear()
        Empty scene
      • getAnchorNodeList

        public java.util.List<AnchorNode> getAnchorNodeList()
        Gets all the anchor nodes in the scenario
        Returns:
      • getContext

        public android.content.Context getContext()
        Get context
        Returns:
      • getAbsolutePath

        public java.lang.String getAbsolutePath()
        get path
        Returns:
      • setAbsolutePath

        public void setAbsolutePath(java.lang.String rootPath)
        set path
        Parameters:
        rootPath -