Object

it.unibo.scafi.renderer3d.util.rendering

Rendering3DUtils

Related Doc: package rendering

Permalink

object Rendering3DUtils

This contains methods to create the elements of the 3d JavaFx scene such as labels, cubes, spheres, lines, etc.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Rendering3DUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def createAmbientLight: AmbientLight

    Permalink

    Creates a light that illuminates the whole scene with a constant illumination, without any low light parts.

    Creates a light that illuminates the whole scene with a constant illumination, without any low light parts.

    returns

    the ambient light

  7. def createCube(size: Double, color: Color, position: Point3D = Point3D.Zero): Box

    Permalink

    Creates a 3d cube.

    Creates a 3d cube.

    size

    the length of the side of the cube

    color

    the color of the cube

    position

    the position where the cube should be placed

    returns

    the cube

  8. def createFilledSphere(radius: Double, position: Point3D, highQuality: Boolean = false): Sphere

    Permalink

    Creates a black sphere where the polygonal faces are rendered as solid surfaces.

    Creates a black sphere where the polygonal faces are rendered as solid surfaces.

    radius

    the desired radius of the sphere

    position

    the position where the sphere should be placed

    highQuality

    whether the sphere should have lots of divisions or not

    returns

    the sphere

  9. def createLine(points: (Point3D, Point3D), visible: Boolean, color: Color, thickness: Double): Cylinder

    Permalink

    Creates a 3d line as a really thin cylinder.

    Creates a 3d line as a really thin cylinder.

    points

    the start and end 3d points of the line

    visible

    whether the line should be already visible or not

    color

    the chosen color

    returns

    the 3d line

  10. def createMaterial(color: Color): Material

    Permalink

    Creates a material given a color.

    Creates a material given a color. Caching has been used, since the same materials can be requested many times.

    color

    the chosen color

    returns

    the material

  11. def createOutlinedSphere(radius: Double, position: Point3D): Sphere

    Permalink

    Creates a wireframe sphere, with lines linking consecutive vertices, colored with a half transparent gray.

    Creates a wireframe sphere, with lines linking consecutive vertices, colored with a half transparent gray.

    radius

    the desired radius of the sphere

    position

    the position where the sphere should be placed

    returns

    the sphere

  12. def createPyramid(radius: Double, height: Double, color: Color, position: Point3D = Point3D.Zero): PyramidMesh

    Permalink

    Creates a 3d pyramid.

    Creates a 3d pyramid.

    radius

    the radius of the pyramid

    height

    the height of the pyramid

    color

    the color of the pyramid

    position

    the position where the pyramid should be placed

    returns

    the pyramid

  13. def createSphere(radius: Double, color: Color, position: Point3D, drawOutlineOnly: Boolean): Sphere

    Permalink

    Creates a sphere that can be rendered as outline or as a filled sphere.

    Creates a sphere that can be rendered as outline or as a filled sphere.

    radius

    the desired radius of the sphere

    color

    the desired color of the sphere

    position

    the position where the sphere should be placed

    drawOutlineOnly

    if it is true only the sphere will be rendered as wireframe

    returns

    the sphere

  14. def createText(textString: String, fontSize: Int, position: Point3D): Text

    Permalink

    Creates a 2d text label that can also be used and rotated in a 3d scene.

    Creates a 2d text label that can also be used and rotated in a 3d scene.

    textString

    the text that should be displayed

    fontSize

    the font size to be used

    position

    the position where the text label should be placed

    returns

    the text label

  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped