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

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

#include <ellipsoid_tree/plot2d.hpp>

Public Attributes

bool points = true
 Draw the stored points as markers.
 
bool splits = true
 Draw the recursive splitting lines.
 
int max_depth = -1
 draw splitting lines down to this depth (-1: all)
 
double marker_radius_px = 2.5
 Point marker radius in canvas pixels.
 
bool color_splits_by_depth = true
 Color splitting lines by their recursion depth.
 
Style point_style = Style{colors::transparent(), 0.0, colors::black()}
 Style for the point markers.
 
Style split_style = Style{colors::black(), 1.1, colors::transparent()}
 Style for the splitting lines.
 

Detailed Description

Options controlling what draw_kdtree renders and how.

Member Data Documentation

◆ points

bool ellipsoid_tree::DrawKDTreeOptions::points = true

Draw the stored points as markers.

◆ splits

bool ellipsoid_tree::DrawKDTreeOptions::splits = true

Draw the recursive splitting lines.

◆ max_depth

int ellipsoid_tree::DrawKDTreeOptions::max_depth = -1

draw splitting lines down to this depth (-1: all)

◆ marker_radius_px

double ellipsoid_tree::DrawKDTreeOptions::marker_radius_px = 2.5

Point marker radius in canvas pixels.

◆ color_splits_by_depth

bool ellipsoid_tree::DrawKDTreeOptions::color_splits_by_depth = true

Color splitting lines by their recursion depth.

◆ point_style

Style ellipsoid_tree::DrawKDTreeOptions::point_style = Style{colors::transparent(), 0.0, colors::black()}

Style for the point markers.

◆ split_style

Style ellipsoid_tree::DrawKDTreeOptions::split_style = Style{colors::black(), 1.1, colors::transparent()}

Style for the splitting lines.


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