|
| ImageProductHandler (std::shared_ptr< products::Product >, bool dataset_mode=false) |
void | initOverlayConverters () |
void | do_process () |
| Actual processing function to be implemented by the child class.
|
void | drawMenu () |
| Render explorer menu left sidebar.
|
void | drawContents (ImVec2 win_size) |
| Render explorer contents (center/left)
|
void | drawMenuBar () |
| Render explorer menu bar (in the left sidebar)
|
void | setConfig (nlohmann::json p) |
| Optional, allows setting a configuration/state from JSON.
|
nlohmann::json | getConfig () |
| Optional, allows getting a configuration/state as JSON.
|
void | resetConfig () |
| Optional, allows resetting the handler's configuration.
|
void | saveResult (std::string directory) |
void | addSubHandler (std::shared_ptr< Handler > handler, bool ontop=false) |
| Add a new subhandler.
|
void | delSubHandler (std::shared_ptr< Handler > handler, bool now=false) |
| Delete a subhandler.
|
bool | drawTreeMenu (std::shared_ptr< Handler > &h) |
| Render explorer menu bar (in the left sidebar)
|
std::string | getID () |
Public Member Functions inherited from satdump::handlers::ProductHandler |
nlohmann::json | getInstrumentCfg () |
| ProductHandler (std::shared_ptr< products::Product > p, bool dataset_mode=false, std::function< bool(nlohmann::ordered_json &)> filterPreset=[](auto &) { return true;}) |
| Constructor.
|
std::string | getName () |
| Get this handler's readable name.
|
std::string | getID () |
Public Member Functions inherited from satdump::handlers::Handler |
std::string | getTreeID () |
| Get this handler's ImGui ID for rendering in the tree.
|
bool | hasSubhandlers () |
| Check if this handler contains any sub-handlers.
|
virtual std::vector< std::shared_ptr< Handler > > | getAllSubHandlers () |
| Get all current subhandlers.
|
void | setCanBeSelected (bool v) |
| Set if a handler can be select in the tree.
|
void | setCanBeDragged (bool v) |
| Set if a handler can be dragged around in the tree.
|
void | setCanBeDraggedTo (bool v) |
| Set if a handler can be dragged to in the tree.
|
void | setSubHandlersCanBeDragged (bool v) |
| Set if a handler's subhandlers can be dragged to in the tree.
|
void | setCanSubBeReorgTo (bool v) |
| Set if a handler's subhandlers can be reordered.
|
Public Member Functions inherited from satdump::handlers::ProcessingHandler |
void | process () |
| Performing processing. This is not multi-threaded, intended to call it externally.
|
void | set_is_processing (bool v) |
| Set the processing status externally, to force waiting before starting a new thread.
|
void | asyncProcess () |
| Perform processing asynchronously, in a thread.
|
|
std::shared_ptr< ImageHandler > | img_handler |
bool | enabled_advanced_menus = false |
products::ImageProduct * | product |
std::shared_ptr< products::ImageCalibrator > | img_calibrator |
bool | needs_to_update = true |
std::string | channel_selection_box_str |
int | channel_selection_curr_id = 0 |
bool | images_can_be_calibrated = false |
bool | channel_calibrated = false |
std::map< int, std::map< std::string, CalibInfo > > | channels_calibrated_ranges |
std::string | channels_calibrated_curr_unit |
std::vector< std::pair< calibration::UnitInfo, std::shared_ptr< calibration::UnitConverter > > > | channels_calibration_units_and_converters |
std::string | expression |
float | progress = 0 |
Public Attributes inherited from satdump::handlers::Handler |
std::string | handler_tree_icon = "N" |