com.supermap.ar.areffect.preset

Class ARGeometry

    • Constructor Detail

      • ARGeometry

        public ARGeometry(BaseShape.MatType matType)
        constructor
        Parameters:
        matType - Material Type (Transparent/opaque)
      • ARGeometry

        public ARGeometry()
        constructor Transparent materials are used by default
    • Method Detail

      • getPartShape

        public BaseShape getPartShape(int index)
        Gets the AR Shape object for the child of the specified index
        Parameters:
        index -
        Returns:
      • getPartPoint3Ds

        public java.util.List<Point3D> getPartPoint3Ds(int index)
        Gets the AR coordinate point set for the child object of the specified index
        Parameters:
        index -
        Returns:
      • getPartCount

        public int getPartCount()
        Gets the number of child objects
        Returns:
      • clear

        public void clear()
        clear
        Overrides:
        clear in class BaseShape
      • setSelectionColor

        public void setSelectionColor(Color color)
        Description copied from class: BaseShape
        Sets the color of the rendering object under the selection status
        Overrides:
        setSelectionColor in class BaseShape
      • select

        public void select()
        Description copied from class: BaseShape
        Selected
        Overrides:
        select in class BaseShape
      • unSelect

        public void unSelect()
        Description copied from class: BaseShape
        Cancel the selected status
        Overrides:
        unSelect in class BaseShape
      • updatePoint3D

        public void updatePoint3D(int part,
                                  int index,
                                  Point3D point3D)
      • deletePoint3D

        public void deletePoint3D(int part,
                                  int index)
      • addPoint3D

        public void addPoint3D(int part,
                               int index,
                               Point3D point3D)
      • resetGeometry

        public void resetGeometry()
        Resetting geometry objects
      • isEdit

        public boolean isEdit()
      • setEdit

        public void setEdit(boolean edit)
      • setParentNode

        public void setParentNode(AREffectElement element)
        Setting the parent node
        Parameters:
        element -
      • setParentNode

        public void setParentNode(EffectView arView)
        Setting the parent node
        Parameters:
        arView -
      • getParentElement

        public AREffectElement getParentElement()
        Get the parent node
        Returns: