Interface VisualizationItem<T extends VisualizationItem<T>>
- Type Parameters:
- T- the specific type of visualization item this visualization item is
public interface VisualizationItem<T extends VisualizationItem<T>>
Represents a visualization item with color.
- 
Method SummaryModifier and Type Method Description static List<VisualizationItem>createAngle(Vector3d origin, Vector3d firstDirection, Vector3d secondDirection)Creates an angle visualization with the degrees shown between the two direction segments.static VisualizationItemcreateArea(Area area, double elevation)Creates a visualization of an area.static VisualizationItemcreateBoundingBox(AABB3d aabb)Creates a visualization for an axis aligned bounding box.static List<VisualizationItem>createDimension(Vector3d startPoint, Vector3d endPoint)Creates a dimension visualization.ARGBColorgetColor()Returns the color of the visualization item.TwithColor(ARGBColor color)Returns a copy of this visualization item with the specified color.
- 
Method Details- 
createDimensionCreates 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
 
- 
createBoundingBoxCreates 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
 
- 
createAreaCreates a visualization of an area.- Parameters:
- area- the area
- elevation- the elevation
- Returns:
- the visualization of the area
- Since:
- 9.10.2
 
- 
createAnglestatic 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
 
- 
getColorARGBColor getColor()Returns the color of the visualization item.- Returns:
- the color
- Since:
- 9.10.2
 
- 
withColorReturns 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
 
 
-