Class Task

java.lang.Object
com.agisoft.metashape.tasks.Task
Direct Known Subclasses:
AddFrames, AddPhotos, AlignCameras, AlignChunks, AnalyzePhotos, BuildContours, BuildDem, BuildDenseCloud, BuildDepthMaps, BuildModel, BuildOrthomosaic, BuildSeamlines, BuildTexture, BuildTiledModel, BuildUV, CalibrateColors, CalibrateLens, CalibrateReflectance, ClassifyGroundPoints, ClassifyPoints, CloseHoles, ColorizeDenseCloud, ColorizeModel, CompactDenseCloud, ConvertImages, DecimateModel, DetectFiducials, DetectMarkers, DuplicateChunk, ExportCameras, ExportDepth, ExportMarkers, ExportMasks, ExportModel, ExportOrthophotos, ExportPanorama, ExportPoints, ExportRaster, ExportReference, ExportReport, ExportShapes, ExportTexture, ExportTiledModel, FilterDenseCloud, ImportCameras, ImportMarkers, ImportMasks, ImportModel, ImportPoints, ImportRaster, ImportReference, ImportShapes, ImportTiledModel, InvertMasks, LoadProject, MatchPhotos, MergeAssets, MergeChunks, OptimizeCameras, PlanMission, ReduceOverlap, RefineMesh, RemoveLighting, ResetMasks, RunScript, SaveProject, SmoothModel, TrackMarkers, TransformRaster, TriangulatePoints

public class Task extends Object
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Task

      protected Task​(long cPtr, boolean cMemoryOwn)
    • Task

      public Task​(Task task)
    • Task

      public Task​(String name)
  • Method Details

    • getCPtr

      protected static long getCPtr​(Task obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • getName

      public String getName()
      Task name.
    • getParameterNames

      public String[] getParameterNames()
      List of configured parameter names.
    • setParameter

      public void setParameter​(String name, Variant value)
      Set parameter value.
    • getParameter

      public Variant getParameter​(String name)
      Get parameter value.
    • getTarget

      public Task.TaskTarget getTarget()
      Task target.
    • isGPUSupported

      public boolean isGPUSupported()
      GPU supported flag.
    • getWorkitemCount

      public int getWorkitemCount()
      Workitem count.
    • setWorkitemCount

      public void setWorkitemCount​(int count)
      Workitem count.
    • toNetworkTask

      public NetworkTask toNetworkTask()
      Convert task to NetworkTask.
    • toNetworkTask

      public NetworkTask toNetworkTask​(Chunk chunk)
      Convert task to NetworkTask to be applied to the chunk.
    • toNetworkTask

      public NetworkTask toNetworkTask​(Chunk[] chunks)
      Convert task to NetworkTask to be applied to the list of chunks.
    • toNetworkTask

      public NetworkTask toNetworkTask​(Document doc)
      Convert task to NetworkTask to be applied to the whole project.
    • apply

      public void apply​(Chunk chunk, Progress progress)
      Apply task to chunk.
    • apply

      public void apply​(Document doc, Progress progress)
      Apply task to document.