Package com.supermap.ar.areffect.utils

  • Class Summary 
    Class Description
    PoseUtils
    Pose tool Quaternion, Euler Angle, rotation matrix conversion
    ScreenPointTool
    Screen coordinate conversion tool AR coordinates => screen coordinates
    VideoDatasetVectorHelper
    Video data set Assistant For converting CSV + MP4 into video data set SampleCode: // Create instance, parameters (context, Datasource) VideoDatasetVectorHelper videoDatasetVectorHelper = new VideoDatasetVectorHelper(this, datasources.get(0)); try { videoDatasetVectorHelper.readVideo(SD_CARD+"/UAVSurvey/Common/2022_05_16_15_51_51.mp4"); } catch (FileNotFoundException e) { e.printStackTrace(); } try { videoDatasetVectorHelper.readCsv(SD_CARD+"/UAVSurvey/Common/2022_05_16_15_51_51.csv"); } catch (IOException e) { e.printStackTrace(); } DatasetVector datasetVector = videoDatasetVectorHelper.createDatasetVector("NewVideoDatasetVector");
    VideoEffectViewHelper
    Video effects View Assistant Used during initialization to set the view size
    XmlNode
    XML element node 与XmlNodeParser for parsing XMLL SampleCode:
    XmlNodeParser
    The XML parser Used to parse XML SampleCode: XmlNode xmlNode = new XmlNodeParser().parse(file); ArrayList xmlNodeList = xmlNode.getXmlNode("sml:MapBounds");
  • Enum Summary 
    Enum Description
    VideoEffectViewHelper.Setting