org.keridwen.modelling.mesh.inspector.app
Class Inspector

java.lang.Object
  extended by org.keridwen.modelling.mesh.inspector.app.Inspector

public class Inspector
extends Object

Main class of the JFreeMesh Inspector runnable application.

Author:
Julien Forest, Artenum SARL.

Constructor Summary
Inspector()
          Main constructor of the Inspector is graphical mode.
 
Method Summary
 String getAnalyserName()
           
 Controller getControler()
           
 String getFileIn()
           
 String getFileOut()
           
 InspectorGUI getGui()
           
 int getQualityType()
           
 void initCassandraPanel(Container mainContainer)
          Initialise the Cassandra panel in the context of the container given in argument.
 boolean isVtkExportFlag()
           
 JPanel loadCassandra()
          try to load the Cassandra module, if possible, i.e if the Cassandra's context is true, the Cassandr's jar are in the class path and the VTK's context is true.
static void main(String[] args)
          Main exectable.
 void run()
           
 void setAnalyserName(String analyserName)
           
 void setCassandraPlugInsPath(String path)
           
 void setControler(Controller controler)
           
 void setDefaultCassandraPlugInsPath()
           
 void setFileIn(String fileIn)
           
 void setFileOut(String fileOut)
           
 void setGui(InspectorGUI gui)
           
 void setQualityType(int qualityType)
           
 void setVtkExportFlag(boolean vtkExportFlag)
          Set the VTK context is active (true) or not (false).
static void showHelp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inspector

public Inspector()
Main constructor of the Inspector is graphical mode.

Method Detail

getControler

public Controller getControler()

setControler

public void setControler(Controller controler)

initCassandraPanel

public void initCassandraPanel(Container mainContainer)
Initialise the Cassandra panel in the context of the container given in argument.

Parameters:
mainContainer - - Swing container in whih one the Cassandra panel will be deployed.

run

public void run()

isVtkExportFlag

public boolean isVtkExportFlag()
Returns:
a boolean flag saying, if the VTK context is active (true) or not (false).

setVtkExportFlag

public void setVtkExportFlag(boolean vtkExportFlag)
Set the VTK context is active (true) or not (false).

Parameters:
vtkExportFlag - - VTK context active if true or not otherwise.

getQualityType

public int getQualityType()

setQualityType

public void setQualityType(int qualityType)

getFileIn

public String getFileIn()

setFileIn

public void setFileIn(String fileIn)

getFileOut

public String getFileOut()

setFileOut

public void setFileOut(String fileOut)

getAnalyserName

public String getAnalyserName()

setAnalyserName

public void setAnalyserName(String analyserName)

getGui

public InspectorGUI getGui()

setGui

public void setGui(InspectorGUI gui)

setDefaultCassandraPlugInsPath

public void setDefaultCassandraPlugInsPath()

setCassandraPlugInsPath

public void setCassandraPlugInsPath(String path)

main

public static void main(String[] args)
                 throws Exception
Main exectable.

Parameters:
args -
Throws:
Exception

loadCassandra

public JPanel loadCassandra()
try to load the Cassandra module, if possible, i.e if the Cassandra's context is true, the Cassandr's jar are in the class path and the VTK's context is true. If it succeed to load Cassandra, this method: - set the CassandraViewer field of the controller (for further data exchange and control) - return the Cassandra's panel. If it didn't succeed: - set the Cassandra's context to false; - return null

Returns:
a JPanel containing the Cassandra's viewer.

showHelp

public static void showHelp()


Copyright © 2013 Artenum. All Rights Reserved.