|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.keridwen.modelling.mesh.inspector.analysers.MeshAnalyser
public abstract class MeshAnalyser
Abstract analyser class, in order to provide a generic probing tool for the mesh. All specific analyser, implementing a given quality evaluation subroutine or a validation test on the mesh should be derived from this class and implement the MeshAnalyserInterface interface. The analyser should be linked to the mesh to be analysed. Each analyser is identified by the ANALYSER_TYPE number. This is the value used in the controler of the Mesh Inspector to select the used/current analyser. The result is returned through an analysis object, implementing the MeshAnalysisInterface interface, that can then be used for various plotting and/or post-processing.
Field Summary | |
---|---|
int |
ANALYSER_TYPE
set the analyser type |
protected GenericAnalysis |
analysis
|
String |
DATA_ARRAY_NAME
|
Boolean |
HISTROGRAM_ENABLE
|
protected HashMap |
inputParameters
|
protected com.artenum.penelope.mesh.interfaces.Mesh |
mesh
|
protected String |
name
|
protected HashMap |
outputParameters
|
Constructor Summary | |
---|---|
MeshAnalyser()
|
Method Summary | |
---|---|
Object |
analyseAndBuildVtkDataSet()
return a vtk data set with the quality value mapped on it. |
GenericAnalysis |
analyseMesh()
perform the analysis of the mesh and return the result under the form of an analysis object. |
float[][] |
computeDistributionFunction(int samplingLevel,
boolean normalise)
Compute the distribution function (i.e histogram) of the quality level distribution over the mesh. |
GenericAnalysis |
getAnalysis()
Return the current result of the analysis. |
HashMap |
getInputParameters()
return the input parameters |
com.artenum.penelope.mesh.interfaces.Mesh |
getMesh()
get the mesh on which one the analysis is performed. |
String |
getName()
|
HashMap |
getOutputParameters()
return the output parameter of the current analyser. |
void |
printAnalysis()
print the result of the analysis. |
void |
setAnalysis(GenericAnalysis analysis)
Set the output analysis object in which one the results should be stored. |
void |
setInputParameters(HashMap inputParameters)
set the input parameters. |
void |
setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)
set the mesh object on wich on the analysis should be performed. |
void |
setName(String name)
set the nem of the current analyser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.keridwen.modelling.mesh.inspector.interfaces.MeshAnalyserInterface |
---|
probeCell |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public int ANALYSER_TYPE
public String DATA_ARRAY_NAME
public Boolean HISTROGRAM_ENABLE
protected com.artenum.penelope.mesh.interfaces.Mesh mesh
protected String name
protected GenericAnalysis analysis
protected HashMap inputParameters
protected HashMap outputParameters
Constructor Detail |
---|
public MeshAnalyser()
Method Detail |
---|
public HashMap getInputParameters()
public void setInputParameters(HashMap inputParameters)
setInputParameters
in interface MeshAnalyserInterface
public HashMap getOutputParameters()
getOutputParameters
in interface MeshAnalyserInterface
public void setName(String name)
public String getName()
public GenericAnalysis getAnalysis()
MeshAnalyserInterface
getAnalysis
in interface MeshAnalyserInterface
public void setAnalysis(GenericAnalysis analysis)
setAnalysis
in interface MeshAnalyserInterface
public com.artenum.penelope.mesh.interfaces.Mesh getMesh()
public void setMesh(com.artenum.penelope.mesh.interfaces.Mesh mesh)
setMesh
in interface MeshAnalyserInterface
public float[][] computeDistributionFunction(int samplingLevel, boolean normalise)
public void printAnalysis()
printAnalysis
in interface MeshAnalyserInterface
public Object analyseAndBuildVtkDataSet()
analyseAndBuildVtkDataSet
in interface MeshAnalyserInterface
public GenericAnalysis analyseMesh()
analyseMesh
in interface MeshAnalyserInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |