diva.sketch.demo
Class RegionLabeler

java.lang.Object
  extended by diva.sketch.demo.RegionLabeler

public class RegionLabeler
extends Object

This utility program allows users to sketch drawings, label the strokes in the drawings with prespecified labels, and write the scene out to a file. The structure of the resulting scene is:

                       root
             _________/    \________
            /                       \
         region1      ...           regionN
          /   \                    /   |    \
       lbl1   lbl1              lblN  lblN  lblN
        |       |                /     |      \
     stroke1 stroke2      strokeK-2 strokeK-1 strokeK
 

Version:
$Revision: 1.4 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Field Summary
static String DRAW_MODE
           
static String UNKNOWN_REGION
           
 
Constructor Summary
RegionLabeler(AppContext context, String[] argv)
          Construct a new sketch-based editor.
 
Method Summary
static void main(String[] argv)
          Create and run a basic sketch application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRAW_MODE

public static final String DRAW_MODE
See Also:
Constant Field Values

UNKNOWN_REGION

public static final String UNKNOWN_REGION
See Also:
Constant Field Values
Constructor Detail

RegionLabeler

public RegionLabeler(AppContext context,
                     String[] argv)
Construct a new sketch-based editor.

Method Detail

main

public static void main(String[] argv)
Create and run a basic sketch application.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.