insarviz.view.schema.ColorMapSchema module

class insarviz.view.schema.ColorMapSchema.ColorMapSchema(name)[source]

Bases: Schema

class ColorMapNode(item_model: QAbstractItemModel, schema: ColorMapSchema, model)[source]

Bases: Node

createEditor(parent)[source]
data(role)[source]
destroyEditor()[source]
flags()[source]
paint(painter, option)[source]
staticMetaObject = PySide6.QtCore.QMetaObject("ColorMapNode" inherits "Node": Methods:   #17 type=Slot, signature=_on_colormap_changed(QString), parameters=QString )
make_node(item_model: QAbstractItemModel, model: Any) Node[source]
class insarviz.view.schema.ColorMapSchema.ColormapEditor(colormap)[source]

Bases: HistogramLUTWidget

Arguments:

parent

Optional parent widget

useOpenGL

If True, the GraphicsView will use OpenGL to do all of its rendering. This can improve performance on some systems, but may also introduce bugs (the combination of QGraphicsView and QOpenGLWidget is still an ‘experimental’ feature of Qt)

background

Set the background color of the GraphicsView. Accepts any single argument accepted by mkColor. By default, the background color is determined using the ‘backgroundColor’ configuration option (see setConfigOptions).

auto_range()[source]
sizeHint()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("ColormapEditor" inherits "HistogramLUTWidget": Methods:   #50 type=Slot, signature=_on_levels_changed(PyObject), parameters=PyObject )
insarviz.view.schema.ColorMapSchema.make_colormap(name, values, mode)[source]