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 Summary
Constructors Constructor and Description ArSceneLoader(AREffectElement parent)
Location of the constructor parentArSceneLoader(EffectView arEffectView)
The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
clear()
Empty scenejava.lang.String
getAbsolutePath()
get pathjava.util.List<AnchorNode>
getAnchorNodeList()
Gets all the anchor nodes in the scenarioandroid.content.Context
getContext()
Get contextAREffectElement
getSceneElement()
Gets the scene node elementvoid
setAbsolutePath(java.lang.String rootPath)
set pathvoid
updateScenePosition(Point3D position)
Sets the base parent node locationvoid
updateSceneRotation(Quaternion rotation)
Setting the parent nodevoid
updateSceneScale(float scale)
Update scene ratio
-
-
-
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
-
-
-