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
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
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
The
Point3D
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.