public class PgElementSet_Menu extends PgPointSet_Menu
PgGeometry_Menu
,
Serialized Formm_pointSetMethod, MTHD_ADD_TEXTURE, MTHD_APPLY_AMBIENT_MATRIX, MTHD_APPLY_CAMERA_MATRIX, MTHD_APPLY_MODELING_MATRIX, MTHD_CONVERT_ELEMENTSET, MTHD_CONVERT_POINTSET, MTHD_CONVERT_POLYGON, MTHD_CONVERT_POLYGONSET, MTHD_DECREMENT_DIMENSION, MTHD_ENABLE_INDEX_LABELS, MTHD_FLIP_ORIENTATION, MTHD_IGNORE_DEPTHCUE, MTHD_INCREMENT_DIMENSION, MTHD_INVERT_VERTEX_MARKS, MTHD_MAKE_VERTEX_TEXTURE_CYL, MTHD_MAKE_VERTEX_TEXTURE_SPH, MTHD_MAKE_VERTEX_TEXTURE_XY, MTHD_MAKE_VERTEX_TEXTURE_XZ, MTHD_MAKE_VERTEX_TEXTURE_YZ, MTHD_MARK_ALL_VERTICES, MTHD_MARK_VERTICES, MTHD_MOVE_TO_ORIGIN, MTHD_PRINT_FVECTOR, MTHD_PROJECT_FROM_AMBIENT_SPACE, MTHD_PROJECT_TO_SPHERE, MTHD_REMOVE_MARKED_VERTICES, MTHD_REMOVE_TEXTURE, MTHD_REMOVE_VECTOR_FIELDS, MTHD_REMOVE_VERTEX_COLORS, MTHD_REMOVE_VERTEX_NORMALS, MTHD_SHOW_GLOBAL_VERTEX_COLOR, MTHD_SHOW_MARKED_VERTICES, MTHD_SHOW_VECTOR_ARROWS, MTHD_SHOW_VERTEX_LABELS, MTHD_SHOW_VERTEX_NORMAL_ARROW, MTHD_SHOW_VERTEX_OUTLINE, MTHD_SHOW_VERTEX_TEXTURE, MTHD_UNMARK_ALL_VERTICES, MTHD_UNMARK_VERTICES, MTHD_VERTEX_COLOR_FROM_VECTOR, MTHD_VERTEX_COLOR_FROM_XYZ, MTHD_VERTEX_COLOR_FROM_Z, MTHD_VERTEX_COLOR_FROM_Z_HUE
m_geometryMethod, MTHD_PRINT_ALL, MTHD_PRINT_BNDBOX, MTHD_PRINT_CENTER, MTHD_SHOW_BNDBOX, MTHD_SHOW_CENTER, MTHD_SHOW_NAME, MTHD_UPDATE
Constructor and Description |
---|
PgElementSet_Menu() |
Modifier and Type | Method and Description |
---|---|
boolean |
applyMethod(java.lang.String aMethod)
Find and execute a command selected by menu selection.
|
void |
init(PsObject anObject)
Register the target geometry, and
subclasses should register all menu items and submenus.
|
boolean |
update(java.lang.Object event)
Update this menu if the parent object has changed.
|
getViewer, setViewer
actionPerformed, addMenu, addMenu, addMenuItem, addMenuItem, addMenuItem, clone, getFather, getLanguage, getMenu, getMenuItem, getName, hasMenu, hasMenuItem, itemStateChanged, removeMenu, removeMenuItem, setName, setParent
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
public static final int MTHD_CLOSE_BOUNDARY
public static final int MTHD_CONSTRAIN_BOUNDARY
public static final int MTHD_CHECK_NEIGHBOUR
public static final int MTHD_MAKE_NEIGHBOUR
public static final int MTHD_MAKE_VERTEX_NORMALS
public static final int MTHD_MAKE_ELEMENT_NORMALS
public static final int MTHD_REMOVE_UNUSED_VERTICES
public static final int MTHD_MARK_ELEMENTS
public static final int MTHD_UNMARK_ELEMENTS
public static final int MTHD_REMOVE_MARKED_ELEMENTS
public static final int MTHD_SHOW_MARKED_ELEMENTS
public static final int MTHD_MARK_EDGES
public static final int MTHD_UNMARK_EDGES
public static final int MTHD_REMOVE_MARKED_EDGES
public static final int MTHD_SHOW_MARKED_EDGES
public static final int MTHD_MARK_BOUNDARIES
public static final int MTHD_UNMARK_BOUNDARIES
public static final int MTHD_REMOVE_MARKED_BOUNDARIES
public static final int MTHD_SHOW_MARKED_BOUNDARIES
public static final int MTHD_SHOW_BACKFACE
public static final int MTHD_COMPUTE_AREA
public static final int MTHD_COMPUTE_VOLUME
public static final int MTHD_COMPUTE_L2NORM
public static final int MTHD_TRIANGULATE
public static final int MTHD_FLIP_EDGES
public static final int MTHD_REFINE_INTO_FOUR
public static final int MTHD_PRINT_EDGE_LIST
public static final int MTHD_PRINT_BND_LIST
public static final int MTHD_SHOW_GLOBAL_ELEMENT_COLOR
public static final int MTHD_MAKE_ELEMENT_COLOR_FROM_XYZ
public static final int MTHD_MAKE_ELEMENT_COLOR_FROM_Z
public static final int MTHD_MAKE_ELEMENT_COLOR_FROM_Z_HUE
public static final int MTHD_SHOW_EDGE_LABELS
public static final int MTHD_SHOW_ELEMENT_LABELS
public static final int MTHD_SHOW_GLOBAL_ELEMENT_BACK_COLOR
public static final int MTHD_SHOW_FRONT_COLOR_ON_BACK
public static final int MTHD_SHOW_ELEMENT_NORMAL_ARROW
public static final int MTHD_RESET_BOUNDARY_NORMALS
public static final int MTHD_SHOW_ELEMENT_TEXTURE
public static final int MTHD_MARK_ALL_ELEMENTS
public static final int MTHD_UNMARK_ALL_ELEMENTS
public static final int MTHD_REMOVE_ELEMENT_COLORS
public static final int MTHD_REMOVE_ELEMENT_NORMALS
public static final int MTHD_REMOVE_ELEMENT_TEXTURE
public static final int MTHD_ELEMENT_FROM_VERTEX_TEXTURE
public static final int MTHD_INVERT_ELEMENT_MARKS
public static final int MTHD_SHOW_SILHOUETTE
public static final int MTHD_REMOVE_BOUNDARY
public static final int MTHD_REMOVE_MARKED_VERTICES_KEEP_E
public static final int MTHD_REMOVE_MARKED_ELEMENTS_KEEP_V
public static final int MTHD_SHOW_GLOBAL_EDGE_COLOR
public static final int MTHD_EDGE_COLOR_FROM_ELEMENT
public static final int MTHD_EDGE_COLOR_FROM_VERTEX
public static final int MTHD_MAKE_VERTEX_COLOR_FROM_ELEMENT
public static final int MTHD_MAKE_ELEMENT_COLOR_FROM_VERTEX
public static final int MTHD_SHOW_GOURAUD_SHADING
public static final int MTHD_SHOW_EDGE_SHADING
public static final int MTHD_SHOW_ELEMENT_SHADING
public static final int MTHD_SHOW_ELEMENT_COLOR_FROM_VERTEX
public static final int MTHD_REMOVE_ELEMENT_BACK_COLORS
public static final int MTHD_EXTRACT_BOUNDARY_POLYGONS
public java.lang.String[] m_elementSetMethod
public void init(PsObject anObject)
PsMethodMenu
init
in class PgPointSet_Menu
anObject
- argument used by subclasses to specify object on which action shall be executed.public boolean update(java.lang.Object event)
update
in interface PsUpdateIf
update
in class PgPointSet_Menu
event
- carries a lot of informationPsMethodMenu.setParent(PsUpdateIf)
,
PsMethodMenu.getFather()
public boolean applyMethod(java.lang.String aMethod)
applyMethod
in class PgPointSet_Menu
"