package scala3d
The scala3d
package contains classes, traits and objects for for simple 3D
graphics in scala, based upon javafx. Its package object contains type aliases for
'javafx.geometry.Point3D' and all subclasses of 'javafx.scene.shape.Shape3D'.
- Alphabetic
- By Inheritance
- scala3d
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Line3D extends Cylinder
The
Line3D
class ... -
case class
Line3DHelper() extends Application with Product with Serializable
The
Line3DHelper
class ... -
class
Line3Dend extends Line3D
The
Line3Dend
class ... -
class
MoleculeSampleApp extends Application
The
MoleculeSampleApp
class illustrates the creation of 3D objects (a representation of a Hydrogen molecule) as well as how to rotate them using the mouse.The
MoleculeSampleApp
class illustrates the creation of 3D objects (a representation of a Hydrogen molecule) as well as how to rotate them using the mouse. It support the following keyboard commands as well: 'V' toggles the visibility of the Hydrogen molecule, 'X' toggles the visibility of the coordinate axes, 'Z' restores original locations. -
class
Xform extends Group
The
Xform
class supports custom transforms (Translate, Rotate and Scale).
Value Members
-
object
Line3DTest
The
Line3DTest
object is used to test theLine3D
class.The
Line3DTest
object is used to test theLine3D
class. > runMain scalation.scala3d.Line3DTest -
object
MoleculeSampleApp
The
MoleculeSampleApp
object is used to launch the javafx application. -
object
PerspectiveCamera
The
PerspectiveCamera
object provides factory methods for building cameras. -
object
PhongMaterial
The
PhongMaterial
object provides factory methods for building materials shaded according the Phong reflection model. -
object
Point3D_O
The
Point3D_O
object supplies factory methods forPoint3D
. -
object
RotateOrder extends Enumeration
The
RotateOrder
object enumerates possible rotation orders, e.g., XYZ mean rotate on x-axis, then y-axis and then on z-axis.