|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
High-level scene wrapper to compose objects and algorithm visualizations. More...
#include <tikzgeom_scene.H>
Static Public Member Functions | |
| static void | draw_beamer_overlays (std::ostream &output, const std::vector< Tikz_Scene > &steps, const Tikz_Beamer_Document_Options &options={}) |
Export multiple scenes as beamer overlays (\\only<k>{...}) in one frame. | |
| static std::string | to_beamer_overlays (const std::vector< Tikz_Scene > &steps, const Tikz_Beamer_Document_Options &options={}) |
| String variant of draw_beamer_overlays. | |
| static void | draw_handout_overlays (std::ostream &output, const std::vector< Tikz_Scene > &steps, const Tikz_Beamer_Document_Options &options={}) |
Export multiple scenes as handout overlays (forces beamer[handout]). | |
| static std::string | to_handout_overlays (const std::vector< Tikz_Scene > &steps, const Tikz_Beamer_Document_Options &options={}) |
| String variant of draw_handout_overlays. | |
Private Member Functions | |
| void | draw_beamer_document (std::ostream &output, const Tikz_Beamer_Document_Options &options, const bool handout_mode) const |
Static Private Member Functions | |
| static std::string | compose_beamer_class_options (const bool handout_mode, const std::string &class_options) |
| static void | draw_beamer_document_preamble (std::ostream &output, const Tikz_Beamer_Document_Options &options, const bool handout_mode) |
| static void | draw_beamer_document_epilogue (std::ostream &output) |
| static void | draw_beamer_frame_begin (std::ostream &output, const std::string &frame_title, const std::string &frame_options) |
| static void | draw_beamer_overlays_document (std::ostream &output, const std::vector< Tikz_Scene > &steps, const Tikz_Beamer_Document_Options &options, const bool handout_mode) |
Private Attributes | |
| Tikz_Plane | plane_ |
| bool | squarize_ = true |
High-level scene wrapper to compose objects and algorithm visualizations.
Tikz_Scene owns a Tikz_Plane and exposes:
add),visualize_*), anddraw, to_tikz, draw_standalone, to_standalone, draw_beamer, draw_handout, overlay deck helpers).This keeps a single interface when a figure combines multiple geometric layers (inputs, intermediate states, final outputs, annotations).
Definition at line 80 of file tikzgeom_scene.H.
|
inline |
Definition at line 175 of file tikzgeom_scene.H.
|
inline |
Definition at line 280 of file tikzgeom_scene.H.
References plane_, and Aleph::put_in_plane().
|
inline |
Definition at line 287 of file tikzgeom_scene.H.
References plane_, and Aleph::put_in_plane().
|
inline |
Definition at line 259 of file tikzgeom_scene.H.
References Aleph::Tikz_Plane::add_legend_entry(), and plane_.
|
inline |
Definition at line 295 of file tikzgeom_scene.H.
References plane_, and Aleph::put_points().
|
inline |
Definition at line 304 of file tikzgeom_scene.H.
References plane_, and Aleph::put_points().
|
inline |
Definition at line 313 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::put_polygons().
|
inline |
Definition at line 191 of file tikzgeom_scene.H.
References Aleph::Tikz_Plane::clear(), and plane_.
|
inline |
Definition at line 266 of file tikzgeom_scene.H.
References Aleph::Tikz_Plane::clear_legend(), and plane_.
|
inlinestaticprivate |
Definition at line 82 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp().
Referenced by draw_beamer_document_preamble().
|
inline |
Definition at line 528 of file tikzgeom_scene.H.
References Aleph::Tikz_Plane::draw(), output, plane_, and squarize_.
Referenced by draw_beamer_frame(), and to_tikz().
|
inline |
Definition at line 583 of file tikzgeom_scene.H.
|
inlineprivate |
Definition at line 161 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), draw_beamer_document_epilogue(), draw_beamer_document_preamble(), draw_beamer_frame(), options, and output.
|
inlinestaticprivate |
Definition at line 122 of file tikzgeom_scene.H.
References output.
Referenced by draw_beamer_document(), and draw_beamer_overlays_document().
|
inlinestaticprivate |
Definition at line 98 of file tikzgeom_scene.H.
References compose_beamer_class_options(), Aleph::divide_and_conquer_partition_dp(), options, and output.
Referenced by draw_beamer_document(), and draw_beamer_overlays_document().
|
inline |
Definition at line 540 of file tikzgeom_scene.H.
References draw(), draw_beamer_frame_begin(), and output.
Referenced by draw_beamer_document().
|
inlinestaticprivate |
Definition at line 127 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), and output.
Referenced by draw_beamer_frame(), and draw_beamer_overlays_document().
|
inlinestatic |
Export multiple scenes as beamer overlays (\\only<k>{...}) in one frame.
Definition at line 614 of file tikzgeom_scene.H.
Referenced by main().
|
inlinestaticprivate |
Definition at line 138 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), draw_beamer_document_epilogue(), draw_beamer_document_preamble(), draw_beamer_frame_begin(), options, and output.
|
inline |
Definition at line 598 of file tikzgeom_scene.H.
|
inlinestatic |
Export multiple scenes as handout overlays (forces beamer[handout]).
Definition at line 633 of file tikzgeom_scene.H.
Referenced by main().
|
inline |
Definition at line 551 of file tikzgeom_scene.H.
|
inline |
Definition at line 253 of file tikzgeom_scene.H.
References Aleph::Tikz_Plane::enable_auto_legend(), and plane_.
|
inline |
Definition at line 247 of file tikzgeom_scene.H.
References Aleph::Tikz_Plane::enable_native_tikz_layers(), and plane_.
|
inline |
Definition at line 185 of file tikzgeom_scene.H.
References plane_.
|
inline |
Definition at line 186 of file tikzgeom_scene.H.
References plane_.
|
inline |
Definition at line 197 of file tikzgeom_scene.H.
References plane_, and Aleph::Tikz_Plane::put_cartesian_axis().
|
inline |
Definition at line 209 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::Tikz_Plane::put_coordinate_grid().
Definition at line 511 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::put_funnel_trace_step().
|
inline |
Definition at line 272 of file tikzgeom_scene.H.
References plane_, and Aleph::Tikz_Plane::register_tikz_style().
|
inline |
Definition at line 203 of file tikzgeom_scene.H.
References plane_, and Aleph::Tikz_Plane::remove_cartesian_axis().
|
inline |
Definition at line 217 of file tikzgeom_scene.H.
References plane_, and Aleph::Tikz_Plane::remove_coordinate_grid().
Definition at line 517 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), and plane_.
Definition at line 523 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), and plane_.
|
inline |
Definition at line 229 of file tikzgeom_scene.H.
References plane_, and Aleph::Tikz_Plane::set_axis_style().
|
inline |
Definition at line 223 of file tikzgeom_scene.H.
References plane_, and Aleph::Tikz_Plane::set_default_style().
|
inline |
Definition at line 235 of file tikzgeom_scene.H.
References plane_, and Aleph::Tikz_Plane::set_grid_style().
|
inline |
Definition at line 241 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::Tikz_Plane::set_point_radius_mm().
Definition at line 189 of file tikzgeom_scene.H.
References squarize_.
|
inline |
Definition at line 188 of file tikzgeom_scene.H.
References squarize_.
|
inline |
Definition at line 590 of file tikzgeom_scene.H.
|
inlinestatic |
String variant of draw_beamer_overlays.
Definition at line 623 of file tikzgeom_scene.H.
|
inline |
Definition at line 605 of file tikzgeom_scene.H.
|
inlinestatic |
String variant of draw_handout_overlays.
Definition at line 642 of file tikzgeom_scene.H.
Referenced by TEST().
|
inline |
Definition at line 575 of file tikzgeom_scene.H.
|
inline |
Definition at line 533 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), and draw().
Definition at line 497 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_aabb_tree().
|
inline |
Definition at line 504 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_aabb_tree_query().
|
inline |
Definition at line 406 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_alpha_shape().
|
inline |
Definition at line 357 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_boolean_operation().
Definition at line 427 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_closest_pair().
|
inline |
Definition at line 399 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_convex_decomposition().
|
inline |
Definition at line 323 of file tikzgeom_scene.H.
References Aleph::DynList< T >::append(), Aleph::divide_and_conquer_partition_dp(), plane_, Aleph::HTList::size(), and Aleph::visualize_convex_hull().
|
inline |
Definition at line 350 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_convex_intersection().
Definition at line 413 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_delaunay().
|
inline |
Definition at line 441 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_half_plane_intersection().
|
inline |
Definition at line 476 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_kdtree_partitions().
Definition at line 469 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_line_sweep().
|
inline |
Definition at line 448 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_minkowski_sum().
|
inline |
Definition at line 455 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_monotone_triangulation().
|
inline |
Definition at line 371 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_power_diagram().
Definition at line 483 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_range_tree().
|
inline |
Definition at line 490 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_range_tree_query().
|
inline |
Definition at line 420 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_regular_triangulation().
|
inline |
Definition at line 434 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_rotating_calipers().
|
inline |
Definition at line 378 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_segment_arrangement().
|
inline |
Definition at line 385 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_shortest_path_in_polygon().
|
inline |
Definition at line 392 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_shortest_path_with_portals().
|
inline |
Definition at line 462 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_visibility_polygon().
Definition at line 364 of file tikzgeom_scene.H.
References Aleph::divide_and_conquer_partition_dp(), plane_, and Aleph::visualize_voronoi().
|
private |
Definition at line 171 of file tikzgeom_scene.H.
Referenced by add(), add(), add_legend_entry(), add_points(), add_points(), add_polygons(), clear(), clear_legend(), draw(), enable_auto_legend(), enable_native_tikz_layers(), plane(), plane(), put_cartesian_axis(), put_coordinate_grid(), put_funnel_trace_step(), register_tikz_style(), remove_cartesian_axis(), remove_coordinate_grid(), run(), run(), set_axis_style(), set_default_style(), set_grid_style(), set_point_radius_mm(), visualize_aabb_tree(), visualize_aabb_tree_query(), visualize_alpha_shape(), visualize_boolean_operation(), visualize_closest_pair(), visualize_convex_decomposition(), visualize_convex_hull(), visualize_convex_intersection(), visualize_delaunay(), visualize_half_plane_intersection(), visualize_kdtree_partitions(), visualize_line_sweep(), visualize_minkowski_sum(), visualize_monotone_triangulation(), visualize_power_diagram(), visualize_range_tree(), visualize_range_tree_query(), visualize_regular_triangulation(), visualize_rotating_calipers(), visualize_segment_arrangement(), visualize_shortest_path_in_polygon(), visualize_shortest_path_with_portals(), visualize_visibility_polygon(), and visualize_voronoi().
Definition at line 172 of file tikzgeom_scene.H.
Referenced by draw(), set_squarize(), and squarize().