Files
Renderive/Core/plottable/export.h
T
2026-08-03 10:00:45 +08:00

34 lines
1.8 KiB
C++

#pragma once
#include <functional>
#include <memory>
#include <string>
#include "Afterglow.h"
#include "Frequency_Trace.h"
#include "Hover_Tooltip.h"
#include "Interpolation.h"
#include "Selection_Rectangle_Overlay.h"
#include "Constellation_Diagram.h"
#include "Performance_Overlay.h"
#include "Spectrum.h"
#include "Sweep_Spectrum.h"
#include "Waterfall.h"
namespace renderive {
class Plot_Core;
LIB_DECL std::shared_ptr<Performance_Overlay> attach_performance_overlay(Plot_Core& plot);
LIB_DECL std::shared_ptr<Performance_Overlay> attach_performance_overlay(Plot_Core& plot, const Performance_Overlay_Options& options);
LIB_DECL std::shared_ptr<Performance_Overlay> performance_overlay(Plot_Core& plot);
LIB_DECL void set_performance_plot_name(Plot_Core& plot, std::string name);
LIB_DECL void detach_performance_overlay(Plot_Core& plot);
LIB_DECL bool performance_overlay_enabled(const Plot_Core& plot);
LIB_DECL void set_performance_overlay_enabled(Plot_Core& plot, bool enabled);
LIB_DECL std::shared_ptr<const Performance_Display_Snapshot> performance_overlay_snapshot(const Plot_Core& plot);
LIB_DECL void set_performance_overlay_update_callback(Plot_Core& plot, std::function<void()> callback);
LIB_DECL void set_performance_overlay_clipboard_callback(Plot_Core& plot, std::function<void(std::string)> callback);
LIB_DECL void notify_performance_overlay_viewport_changed(Plot_Core& plot);
LIB_DECL bool performance_overlay_handle_wheel(Plot_Core& plot, PointF position, double angle_delta_y, double pixel_delta_y);
LIB_DECL bool performance_overlay_handle_pointer_press(Plot_Core& plot, PointF position);
LIB_DECL bool performance_overlay_handle_pointer_move(Plot_Core& plot, PointF position);
LIB_DECL bool performance_overlay_handle_pointer_release(Plot_Core& plot, PointF position);
LIB_DECL bool performance_overlay_handle_pointer_leave(Plot_Core& plot);
} // namespace renderive