sub_arctic.lib
Class backdrop_sem_draw

java.lang.Object
  |
  +--sub_arctic.lib.backdrop_sem_draw

public class backdrop_sem_draw
extends java.lang.Object
implements interactor_pred

An interface_pred predicate class that performs a semantic redraw action for a semantic lens. In this case the object draws a small name tag containing the class name, and a bounding box. This predicate expects a sem_draw_context object as its parameters argument. This predicate is executed for its side effect only and always returns false.

See Also:
base_interactor.traverse_and_collect(int, int, sub_arctic.lib.interactor_pred, sub_arctic.lib.interactor_pred, sub_arctic.lib.traversal_xform, java.lang.Object, sub_arctic.input.pick_collector)

Field Summary
static int id
          Unique id for this drawing traversal
 
Method Summary
 boolean test(interactor obj, java.lang.Object parameters)
          Perform the predicate test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public static final int id
Unique id for this drawing traversal
Method Detail

test

public boolean test(interactor obj,
                    java.lang.Object parameters)
Perform the predicate test. In this case we are doing this for the side effect (drawing a tag and bounding box for the object) and always return false.
Specified by:
test in interface interactor_pred
Parameters:
obj - the interactor the predicate is drawing.
parameters - a sem_draw_context object containing the a drawable object and other bookkeeping needed for drawing.
Returns:
boolean false in all cases.