Link Search Menu Expand Document

CLASSIFIER : GRColor

uid: class-GRColor-CVEViewer-MetaModel@g-scop.grenoble-inp.fr

About

Abstract

A GRColor is a graphic node to select color

GRColorSelector

To create a GRColor just call

colorselector=cve.viewer.GRColor()

Class Diagram

Class diagram of class of GRColor.

Inherits

attribute type cardinality
edited-color vcolor [1,1]

Methods

  • set_color(self,..) :

          Set a color
    		
          <: r,g,b,a : color with transparency comppnent
          <: waitfeedback : wait other device for feedback
          <: local : apply local callbacks
          <: sendtoserver : notify remote device
    
  • get_color(self,..) :

          Get the current selected color
    		
          >: r,g,b,a : color with transparency comppnent