ImguiColorbar#
ImguiColorbar#
Constructor#
|
An imgui colorbar with draggable vmin/vmax handles, an optional histogram, a gamma slider, and a right-click colormap picker. |
Properties#
get or set the width of the colored bar in pixels |
|
get or set the colormap |
|
the value range spanned by the bar |
|
the figure this container is drawn in |
|
get or set the gamma, applied to the images and the bar |
|
get or set the graphics managed by this colorbar |
|
get or set the height of the colorbar in pixels, |
|
the histogram as a precomputed (counts, edges) tuple, or |
|
get or set the title drawn above the bar, |
|
get or set the upper contrast limit |
|
get or set the lower contrast limit |
Methods#
pushes and pops the ID to keep identical containers unique within one frame |
|
Implement your GUI here and it will be drawn within the host window |