Package org.jlab.geom.geant
Class Geant4Mesh
java.lang.Object
org.jlab.geom.geant.Geant4Mesh
- Author:
- gavalian
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidcreateMesh(Geant4Basic volume) static List<javafx.scene.shape.MeshView>getMesh(Geant4Basic volume) static float[]getPointsBox(int dx, int dy, int dz) static float[]getPointsTrap(double... pars) static voidstatic javafx.scene.shape.MeshViewmakeMesh(Geant4Basic volume) Creates a JavaFX Mesh object from given volume, they type string determines which function should be called.static javafx.scene.shape.MeshViewmakeMeshBox(Geant4Basic volume) Creates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.static javafx.scene.shape.MeshViewmakeMeshBox(Geant4Basic volume, Transformation3D trans) Creates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.static javafx.scene.shape.MeshViewmakeMeshTrap(Geant4Basic volume, Transformation3D tr) static javafx.scene.shape.MeshViewmakeMeshTrd(Geant4Basic volume, Transformation3D tr) 
- 
Constructor Details- 
Geant4Meshpublic Geant4Mesh()
 
- 
- 
Method Details- 
createMesh
- 
makeMeshCreates a JavaFX Mesh object from given volume, they type string determines which function should be called.- Parameters:
- volume-
- Returns:
 
- 
getMesh
- 
makeMeshTrd
- 
makeMeshTrap
- 
makeMeshBoxCreates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.- Parameters:
- volume-
- Returns:
 
- 
makeMeshBoxCreates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.- Parameters:
- volume-
- Returns:
 
- 
getPointsBoxpublic static float[] getPointsBox(int dx, int dy, int dz) 
- 
getPointsTrappublic static float[] getPointsTrap(double... pars) 
- 
main
 
-