Package org.jlab.geom.geant
Class Geant4Mesh
java.lang.Object
org.jlab.geom.geant.Geant4Mesh
- Author:
- gavalian
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
Geant4Mesh
public Geant4Mesh()
-
-
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
-