Interface VisualizationItem<T extends VisualizationItem<T>>

Type Parameters:
T - the specific type of visualization item this visualization item is
All Known Subinterfaces:
Bitmap, Lines, Mesh, Points, Text

public interface VisualizationItem<T extends VisualizationItem<T>>
Represents a visualization item with color.
Since:
9.10.2
See Also:
Text, Bitmap, Points, Lines, Mesh
  • Method Details

    • createDimension

      static List<VisualizationItem> createDimension(Vector3d startPoint, Vector3d endPoint)
      Creates a dimension visualization. A bi-directional arrow and a text displaying the length will be visualized.
      Parameters:
      startPoint - the start point
      endPoint - the end point
      Returns:
      the list of visualization items that make up the bi-directional arrow and the text
      Since:
      9.10.2
    • createBoundingBox

      static VisualizationItem createBoundingBox(AABB3d aabb)
      Creates a visualization for an axis aligned bounding box.
      Parameters:
      aabb - the axis aligned bounding box
      Returns:
      the axis aligned bounding box visualization
      Since:
      9.10.2
    • createArea

      static VisualizationItem createArea(Area area, double elevation)
      Creates a visualization of an area.
      Parameters:
      area - the area
      elevation - the elevation
      Returns:
      the visualization of the area
      Since:
      9.10.2
    • createAngle

      static List<VisualizationItem> createAngle(Vector3d origin, Vector3d firstDirection, Vector3d secondDirection)
      Creates an angle visualization with the degrees shown between the two direction segments.
      Parameters:
      origin - the origin point
      firstDirection - the first direction
      secondDirection - the second direction
      Returns:
      the angle visualization
      Since:
      9.10.2
    • getColor

      ARGBColor getColor()
      Returns the color of the visualization item.
      Returns:
      the color
      Since:
      9.10.2
    • withColor

      T withColor(ARGBColor color)
      Returns a copy of this visualization item with the specified color.
      Parameters:
      color - the specified color
      Returns:
      a copy of this visualization item with its color replaced by the given color
      Since:
      9.10.2