Class AttenuationComputeOutput

java.lang.Object
org.noise_planet.noisemodelling.propagation.AttenuationComputeOutput
All Implemented Interfaces:
CutPlaneVisitorFactory

public class AttenuationComputeOutput extends Object implements CutPlaneVisitorFactory
Way to store data computed by threads. Multiple threads use one instance. This class must be thread safe
Author:
Nicolas Fortin, Pierre Aumond
  • Field Details

  • Constructor Details

    • AttenuationComputeOutput

      public AttenuationComputeOutput(boolean exportPaths, SceneWithAttenuation scene)
    • AttenuationComputeOutput

      public AttenuationComputeOutput(boolean exportPaths, boolean exportAttenuationMatrix, SceneWithAttenuation scene)
  • Method Details

    • getScene

      public Scene getScene()
    • subProcess

      public CutPlaneVisitor subProcess(org.h2gis.api.ProgressVisitor progressVisitor)
      Specified by:
      subProcess in interface CutPlaneVisitorFactory
      Parameters:
      progressVisitor - Progression information, used to cancel processing too
      Returns:
      an instance of the interface IComputePathsOut
    • getVerticesSoundLevel

      public List<ReceiverNoiseLevel> getVerticesSoundLevel()
      Returns:
      a list of SourceReceiverAttenuation
    • getPropagationPaths

      public List<CnossosPath> getPropagationPaths()
      Returns:
      a list of Path propagation
    • clearPropagationPaths

      public void clearPropagationPaths()
    • appendReflexionPath

      public void appendReflexionPath(long added)
    • appendDiffractionPath

      public void appendDiffractionPath(long added)
    • appendImageReceiver

      public void appendImageReceiver(long added)
    • appendSourceCount

      public void appendSourceCount(long srcCount)
    • appendFreeFieldTestCount

      public void appendFreeFieldTestCount(long freeFieldTestCount)
    • log

      public void log(String str)
    • appendCellComputed

      public void appendCellComputed()
      Increment cell computed counter by 1
    • getCellComputed

      public long getCellComputed()