org.jcae.viewer3d.post
Class TextureFitter.PickViewableCAD
java.lang.Object
org.jcae.viewer3d.ViewableAdaptor
org.jcae.viewer3d.cad.ViewableCAD
org.jcae.viewer3d.post.TextureFitter.PickViewableCAD
- All Implemented Interfaces:
- Viewable
- Enclosing class:
- TextureFitter
public static class TextureFitter.PickViewableCAD
- extends ViewableCAD
A special ViewableCAD which allows picking points on a surface.
Other kind of picking are not availables (use the ViewableCAD if
you need them).
| Methods inherited from class org.jcae.viewer3d.cad.ViewableCAD |
addSelectionListener, addSelectionListener, domainsChangedPerform, fireSelectionChanged, getDomainProvider, getJ3DNode, getPickUserData, getSelection, highlightEdge, highlightEdge, highlightFace, highlightFace, highlightVertex, highlightVertex, removeSelectionListener, removeSelectionListener, setDomainVisible, setLineWidth, setName, setSelectionMode, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TextureFitter.PickViewableCAD
public TextureFitter.PickViewableCAD(CADProvider provider,
org.jcae.opencascade.jni.TopoDS_Shape shape)
pick
public void pick(PickViewable result)
- Specified by:
pick in interface Viewable- Overrides:
pick in class ViewableCAD
getLastPick
public double[] getLastPick()
- Return the coordinates of the last picked point on a surface
setSelectionMode
public void setSelectionMode(short mode)
- Description copied from class:
ViewableCAD
- Set the picking mode of this viewable.
Allowed values are:
- 0, for none selection
- 1, for domain selection (see CADProvider for how CADDomain are created)
- 2, for face selection
- 3, for edge selection
- 4, for vertex selection
- 5, for multimodal (face, edge, vertex) selection
- Overrides:
setSelectionMode in class ViewableCAD
unselectAll
public void unselectAll()
- Specified by:
unselectAll in interface Viewable- Overrides:
unselectAll in class ViewableCAD