Link Search Menu Expand Document

CLASSIFIER : Selector

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

Class Diagram

Class diagram of class of Selector.

Attributes table

attribute type cardinality
selected-share vboolean [1,1]
selected-event vboolean [0,1]
selected-object GRNODE [0,-1]
selected-point vvector [1,1]
selected-normal vvector [1,1]
selected-vertex vint [1,1]
selected-edge vint [1,1]
selected-cell vint [1,1]
selected-group vstring [1,1]
artifact GRNODE [0,-1]
pointer SelectionPointer [1,1]
active vboolean [1,1]
event vboolean [1,1]
driving-at-event vboolean [1,1]
driving-active vboolean [1,1]
driven-node GRNODE [0,1]
driven-scene-if-no-object vboolean [0,1]
driving-scale vreal [0,1]

Methods

  • activate(self,..) :
  • is_active(self,..) :
  • share_selection(self,..) : set selected_share of selector if True the selection is shared unless only the viewer is concerned should be False only when no other device may control the selection < selected_share (default :True)

  • is_selection_shared(self,..) : get selected_share of selector if True the selection is shared unless only the viewer is concerned > selected_share

  • selection_event(self,..) : check if a SET VALUE event concerned a selection < uid : the uid of a SET VALUE event >s : True if the current selection is concerned and selection was effective otherwise returns False False means that no event concerned or it is a the norma pick down

  • get_selected_objects(self,..) : get selected_object of selector > selected_object

  • get_selected_point(self,..) : get selected_point of selector > selected_point

  • get_selected_normal(self,..) : get selected_normal of selector > selected_normal

  • get_selected_vertex(self,..) : get selected_vertex of selector > selected_vertex

  • get_selected_edge(self,..) : get selected_edge of selector > selected_edge

  • get_selected_cell(self,..) : get selected_cell of selector > selected_cell

  • get_selected_group(self,..) : get selected_group of selector (patch of a CAD model indeed) > selected_group

  • add_avatar(self,..) : add an avatar (graphic node) visualizing the selector position < artifact (default :None remove the avatar)

  • get_avatar(self,..) : get avatar nodes > a lit of graphic node

  • set_pointer(self,..) : set pointer of selector < pointer (default : None)

  • get_pointer(self,..) : get pointer of selector > pointer

  • set_selection_event(self,..) : set event of selector < event : vboolean

  • set_driving_event(self,..) : set event of selector < event_state vboolean

  • set_driving_at_event(self,..) : set driving at event mode : driving uses the same event as selection to be used when the boolean between selection and driving mode are shared < event_state vboolean

  • driving_at_event(self,..) : set driving at event mode : driving uses the same event as selection > the corresponding status

  • set_driven_node(self,..) : set driven_node of selector < driven_node (default :)

  • get_driven_node(self,..) : get driven_node of selector > driven_node

  • set_driving_scale(self,..) : set driving_scale of selector < driving_scale (default :1.0)

  • get_driving_scale(self,..) : get driving_scale of selector > driving_scale