Package shapes
Class STLModel
java.lang.Object
shapes.STLModel
This class represent a stl model. It has the MehsView, the name, the color and the position of the model
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionjavafx.scene.shape.MeshViewgetName()booleanvoidA method to set the color of the model.voidsetColor(javafx.scene.paint.PhongMaterial material) voidsetMeshView(javafx.scene.shape.MeshView mv) voidvoidsetVisible(boolean val) 
- 
Constructor Details- 
STLModelpublic STLModel(javafx.scene.shape.MeshView mv) 
- 
STLModel
 
- 
- 
Method Details- 
setName
- 
getName
- 
setColorA method to set the color of the model.- Parameters:
- hex- a hex value as a string
 
- 
setColorpublic void setColor(javafx.scene.paint.PhongMaterial material) 
- 
setMeshViewpublic void setMeshView(javafx.scene.shape.MeshView mv) 
- 
getMeshViewpublic javafx.scene.shape.MeshView getMeshView()
- 
setVisiblepublic void setVisible(boolean val) 
- 
isVisiblepublic boolean isVisible()
 
-