public class Transrotator3d extends Dragger3dBase
Dragger3d.DraggerType, Dragger3d.DragModeCONSTRAIN, REPOSITIONTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
Transrotator3d() |
Transrotator3d(Viewer viewer,
double size) |
| Modifier and Type | Method and Description |
|---|---|
Dragger3dConstrainer |
getConstrainer() |
void |
getSelection(java.util.LinkedList<java.lang.Object> list,
int qid)
Append to
list the component (or components) associated with
the qid-th selection query issued by this component's render
method. |
boolean |
mouseDragged(MouseRayEvent e) |
boolean |
mouseMoved(MouseRayEvent e) |
boolean |
mousePressed(MouseRayEvent e) |
boolean |
mouseReleased(MouseRayEvent e) |
void |
render(Renderer renderer,
int flags)
Render this object using the functionality of the supplied
Renderer. |
void |
setConstrainer(Dragger3dConstrainer c) |
addListener, fireDraggerAddedListeners, fireDraggerBeginListeners, fireDraggerEndListeners, fireDraggerMoveListeners, fireDraggerRemovedListeners, getDraggerToWorld, getLineWidth, getNetSize, getRenderHints, getSize, getSizeScale, getViewer, isSelectable, isVisible, mouseClicked, numSelectionQueriesNeeded, prerender, removeListener, scaleSize, setDraggerToWorld, setLineWidth, setPosition, setSize, setSizeScale, setViewer, setVisible, updateBoundsclearFlags, getDragMode, getFlags, isDragging, setDragMode, setFlagspublic Transrotator3d()
public Transrotator3d(Viewer viewer, double size)
public Dragger3dConstrainer getConstrainer()
public void setConstrainer(Dragger3dConstrainer c)
public void render(Renderer renderer, int flags)
IsRenderableRenderer.renderer - provides the functionality used to perform the rendering.flags - flags that may be used to control different
aspects of the rendering. Flags are defined in Renderer
and currently include
Renderer.HIGHLIGHT and
Renderer.SORT_FACES.public void getSelection(java.util.LinkedList<java.lang.Object> list,
int qid)
IsSelectablelist the component (or components) associated with
the qid-th selection query issued by this component's render
method. This will only be called if this component manages its own
selection (i.e., the number nums returned by IsSelectable.numSelectionQueriesNeeded() is positive), and qid will in
turn be a number between 0 and nums-1.list - selected objects are appended to the end of this listqid - index of the selection querypublic boolean mousePressed(MouseRayEvent e)
mousePressed in interface Dragger3dmousePressed in class Dragger3dBasepublic boolean mouseReleased(MouseRayEvent e)
mouseReleased in interface Dragger3dmouseReleased in class Dragger3dBasepublic boolean mouseDragged(MouseRayEvent e)
mouseDragged in interface Dragger3dmouseDragged in class Dragger3dBasepublic boolean mouseMoved(MouseRayEvent e)
mouseMoved in interface Dragger3dmouseMoved in class Dragger3dBase