Contents
Class Geant4Mesh
java.lang.Object
org.jlab.geom.geant.Geant4Mesh
- Author:
- gavalian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
createMesh
(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 void
static javafx.scene.shape.MeshView
makeMesh
(Geant4Basic volume) Creates a JavaFX Mesh object from given volume, they type string determines which function should be called.static javafx.scene.shape.MeshView
makeMeshBox
(Geant4Basic volume) Creates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.static javafx.scene.shape.MeshView
makeMeshBox
(Geant4Basic volume, Transformation3D trans) Creates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.static javafx.scene.shape.MeshView
makeMeshTrap
(Geant4Basic volume, Transformation3D tr) static javafx.scene.shape.MeshView
makeMeshTrd
(Geant4Basic volume, Transformation3D tr)
-
Constructor Details
-
Method Details
-
createMesh
-
makeMesh
Creates a JavaFX Mesh object from given volume, they type string determines which function should be called.- Parameters:
volume
-- Returns:
-
getMesh
-
makeMeshTrd
-
makeMeshTrap
-
makeMeshBox
Creates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.- Parameters:
volume
-- Returns:
-
makeMeshBox
Creates a JavaFX Mesh for a BOX object, it can be viewed in the JavaFX scene.- Parameters:
volume
-- Returns:
-
getPointsBox
public static float[] getPointsBox(int dx, int dy, int dz) -
getPointsTrap
public static float[] getPointsTrap(double... pars) -
main
-