Author: HECE - University of Liege, Pierre Archambeau
Date: 2024
Copyright (c) 2024 University of Liege. All rights reserved.
This script and its content are protected by copyright law. Unauthorized
copying or distribution of this file, via any medium, is strictly prohibited.
Module Contents
-
class wolfhece.drawing_obj.Element_To_Draw(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False)[source]
Base class of element to add into WolfMapViewer or another GUI
-
property checked: bool[source]
Return the checked status.
-
property has_OGLContext[source]
Test if the object has a canvas
-
get_mapviewer()[source]
Return the mapviewer
-
set_mapviewer(newmapviewer=None)[source]
Attach a (new) mapviewer to the object
-
check_plot()[source]
Generic function responding to check operation from mapviewer
-
uncheck_plot(unload: bool = True)[source]
Generic function responding to uncheck operation from mapviewer
-
show_properties()[source]
Generic function to show properties of the object
-
hide_properties()[source]
Generic function to hide properties of the object
-
plot(sx=None, sy=None, xmin=None, ymin=None, xmax=None, ymax=None, size=None)[source]
Plot data in OpenGL context
-
find_minmax(update=False)[source]
Generic function to find min and max spatial extent in data
- examplea WolfMapViewer instance needs spatial extent to zoom or test if
element must be plotted