Class AttenuationComputeOutput
java.lang.Object
org.noise_planet.noisemodelling.propagation.AttenuationComputeOutput
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionbooleanboolean -
Constructor Summary
ConstructorsConstructorDescriptionAttenuationComputeOutput(boolean exportPaths, boolean exportAttenuationMatrix, SceneWithAttenuation scene) AttenuationComputeOutput(boolean exportPaths, SceneWithAttenuation scene) -
Method Summary
Modifier and TypeMethodDescriptionvoidIncrement cell computed counter by 1voidappendDiffractionPath(long added) voidappendFreeFieldTestCount(long freeFieldTestCount) voidappendImageReceiver(long added) voidappendReflexionPath(long added) voidappendSourceCount(long srcCount) voidlonggetScene()voidsubProcess(org.h2gis.api.ProgressVisitor progressVisitor)
-
Field Details
-
receiversAttenuationLevels
-
pathParameters
-
propagationPathsSize
-
exportPaths
public boolean exportPaths -
exportAttenuationMatrix
public boolean exportAttenuationMatrix -
cnossosPathCount
-
nb_couple_receiver_src
-
nb_obstr_test
-
nb_image_receiver
-
nb_reflexion_path
-
nb_diffraction_path
-
cellComputed
-
scene
-
-
Constructor Details
-
AttenuationComputeOutput
-
AttenuationComputeOutput
public AttenuationComputeOutput(boolean exportPaths, boolean exportAttenuationMatrix, SceneWithAttenuation scene)
-
-
Method Details
-
getScene
-
subProcess
- Specified by:
subProcessin interfaceCutPlaneVisitorFactory- Parameters:
progressVisitor- Progression information, used to cancel processing too- Returns:
- an instance of the interface IComputePathsOut
-
getVerticesSoundLevel
- Returns:
- a list of SourceReceiverAttenuation
-
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
-
appendCellComputed
public void appendCellComputed()Increment cell computed counter by 1 -
getCellComputed
public long getCellComputed()
-