org.jcae.viewer3d.post
Class TextureFitter.PickViewableCAD

java.lang.Object
  extended by org.jcae.viewer3d.ViewableAdaptor
      extended by org.jcae.viewer3d.cad.ViewableCAD
          extended by 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).


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jcae.viewer3d.cad.ViewableCAD
ViewableCAD.CADPickingInfo, ViewableCAD.EdgePickingInfo, ViewableCAD.FacePickingInfo, ViewableCAD.VertexPickingInfo
 
Field Summary
 
Fields inherited from class org.jcae.viewer3d.cad.ViewableCAD
DOMAIN_SELECTION, EDGE_SELECTION, FACE_SELECTION, MULTI_SELECTION, NONE_SELECTION, polygonAttrBack, polygonAttrFront, polygonAttrNone, VERTEX_SELECTION
 
Constructor Summary
TextureFitter.PickViewableCAD(CADProvider provider, org.jcae.opencascade.jni.TopoDS_Shape shape)
           
 
Method Summary
 double[] getLastPick()
          Return the coordinates of the last picked point on a surface
 void pick(PickViewable result)
           
 void setSelectionMode(short mode)
          Set the picking mode of this viewable.
 void unselectAll()
           
 
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 org.jcae.viewer3d.ViewableAdaptor
domainsChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextureFitter.PickViewableCAD

public TextureFitter.PickViewableCAD(CADProvider provider,
                                     org.jcae.opencascade.jni.TopoDS_Shape shape)
Method Detail

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:

Overrides:
setSelectionMode in class ViewableCAD

unselectAll

public void unselectAll()
Specified by:
unselectAll in interface Viewable
Overrides:
unselectAll in class ViewableCAD