ellipsoid_tree 0.1.0
Exact intersection tests for ellipsoids and friends
Loading...
Searching...
No Matches
ellipsoid_tree::DrawTreeOptions Struct Reference

Options controlling what draw_tree renders and how. More...

#include <ellipsoid_tree/plot2d.hpp>

Public Attributes

bool objects = true
 Draw the stored objects.
 
bool leaf_boxes = false
 bounding box of each element
 
bool node_boxes = true
 composite boxes of the AABB hierarchy
 
int max_depth = -1
 draw node boxes down to this depth only (-1: all)
 
bool color_node_boxes_by_depth = true
 Color node boxes by their depth in the hierarchy.
 
Style object_style = Style{colors::blue(), 1.3, with_alpha(colors::blue(), 0.15)}
 Style for the stored objects.
 
Style leaf_box_style = Style{colors::gray(), 0.8, colors::transparent()}
 Style for the per-element leaf boxes.
 
Style node_box_style = Style{colors::black(), 1.0, colors::transparent()}
 Style for the hierarchy node boxes.
 

Detailed Description

Options controlling what draw_tree renders and how.

Member Data Documentation

◆ objects

bool ellipsoid_tree::DrawTreeOptions::objects = true

Draw the stored objects.

◆ leaf_boxes

bool ellipsoid_tree::DrawTreeOptions::leaf_boxes = false

bounding box of each element

◆ node_boxes

bool ellipsoid_tree::DrawTreeOptions::node_boxes = true

composite boxes of the AABB hierarchy

◆ max_depth

int ellipsoid_tree::DrawTreeOptions::max_depth = -1

draw node boxes down to this depth only (-1: all)

◆ color_node_boxes_by_depth

bool ellipsoid_tree::DrawTreeOptions::color_node_boxes_by_depth = true

Color node boxes by their depth in the hierarchy.

◆ object_style

Style ellipsoid_tree::DrawTreeOptions::object_style = Style{colors::blue(), 1.3, with_alpha(colors::blue(), 0.15)}

Style for the stored objects.

◆ leaf_box_style

Style ellipsoid_tree::DrawTreeOptions::leaf_box_style = Style{colors::gray(), 0.8, colors::transparent()}

Style for the per-element leaf boxes.

◆ node_box_style

Style ellipsoid_tree::DrawTreeOptions::node_box_style = Style{colors::black(), 1.0, colors::transparent()}

Style for the hierarchy node boxes.


The documentation for this struct was generated from the following file: