Files
Renderive/Core/plottable/export.h
T
2026-08-02 01:14:42 +08:00

31 lines
1.5 KiB
C++

#pragma once
#include <functional>
#include <memory>
#include "Afterglow.h"
#include "Audio_Frequency.h"
#include "Hover_Info.h"
#include "Interpolation.h"
#include "Multi_Select_Rect.h"
#include "Planisphere.h"
#include "Performance_Shower.h"
#include "Spectrum.h"
#include "Sweep_Frequency.h"
#include "Waterfall.h"
namespace renderive {
class Plot_Core;
LIB_DECL std::shared_ptr<Performance_Shower> attach_performance_shower(Plot_Core& plot);
LIB_DECL std::shared_ptr<Performance_Shower> attach_performance_shower(Plot_Core& plot, const Performance_Shower_Options& options);
LIB_DECL std::shared_ptr<Performance_Shower> performance_shower(Plot_Core& plot);
LIB_DECL void detach_performance_shower(Plot_Core& plot);
LIB_DECL bool performance_shower_enabled(const Plot_Core& plot);
LIB_DECL void set_performance_shower_enabled(Plot_Core& plot, bool enabled);
LIB_DECL std::shared_ptr<const Performance_Display_Snapshot> performance_shower_snapshot(const Plot_Core& plot);
LIB_DECL void set_performance_shower_update_callback(Plot_Core& plot, std::function<void()> callback);
LIB_DECL void notify_performance_shower_viewport_changed(Plot_Core& plot);
LIB_DECL bool performance_shower_handle_wheel(Plot_Core& plot, PointF position, double angle_delta_y, double pixel_delta_y);
LIB_DECL bool performance_shower_handle_pointer_press(Plot_Core& plot, PointF position);
LIB_DECL bool performance_shower_handle_pointer_move(Plot_Core& plot, PointF position);
LIB_DECL bool performance_shower_handle_pointer_release(Plot_Core& plot, PointF position);
} // namespace renderive