Package one.empty3.gui
Class GraphicalEdit2
- java.lang.Object
-
- one.empty3.gui.GraphicalEdit2
-
public class GraphicalEdit2 extends java.lang.Object
Created by manue on 19-11-19.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphicalEdit2.Action
-
Constructor Summary
Constructors Constructor Description GraphicalEdit2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Representable r)
void
copy(Representable representable, Point3D translate)
void
copyOn(Representable representable, ParametricCurve pc, double u, int rotate)
void
copyOn(Representable representable, ParametricSurface surface, double u, double v, int rotate)
void
duplicateOnCurve()
Sel1: objets à dupliquer Sel2: points de la courbe sur lesquels dupliquer Adapation du repère en le liant à la courbe OUIvoid
duplicateOnPoints()
Sel1: objets à dupliquer Sel2: points sur lesquels dupliquer Adapation du repère en le liant à la courbe NONvoid
duplicateOnSurface()
Sel1: objets à dupliquer Sel2: points de la surface à sur lesquelsduplqiuer Adapation du repère en le liant à la surface OUIvoid
extrude()
Sel1 est considéré comme la surface à extruder (donc que des points) Sel2 le chemin d'extrusionGraphicalEdit2.Action
getActionToPerform()
int
getActiveSelection()
java.util.ArrayList<Representable>
getCurrentSelection()
javax.swing.JList<Representable>
getJList()
Main
getMain()
UpdateViewMain
getPanel()
boolean
getSelection()
java.util.ArrayList<Representable>
getSelectionIn()
java.util.ArrayList<Representable>
getSelectionOut()
boolean
isActiveGraphicalEdit()
boolean
isEndSel1()
boolean
isSelectArbitraryPoints()
boolean
isSelecting()
boolean
isSelectingIn()
boolean
isSelectingMultipleObjects()
boolean
isSelectingOut()
boolean
isSelection()
boolean
isStartSel1()
void
performAction()
void
remove(Representable r)
void
run()
void
setActionToPerform(GraphicalEdit2.Action actionToPerform)
void
setActiveGraphicalEdit(boolean activeGraphicalEdit)
void
setActiveSelection(int activeSelection)
void
setEndSel1(boolean endSel1)
void
setMain(Main main)
void
setPanel(UpdateViewMain panel)
void
setRotSel(boolean rotSel)
void
setSelectArbitraryPointsIn(boolean selectArbitraryPoints)
void
setSelectingIn(boolean selectingIn)
void
setSelectingMultipleObjects(boolean selectingMultipleObjects)
void
setSelectingOut(boolean selectingOut)
void
setSelection(boolean selection)
void
setSelectionIn(java.util.ArrayList<Representable> selectionIn)
void
setSelectionOut(java.util.ArrayList<Representable> selectionOut)
void
setStartSel1(boolean startSel1)
void
setTransSel(boolean transSel)
-
-
-
Method Detail
-
isEndSel1
public boolean isEndSel1()
-
isStartSel1
public boolean isStartSel1()
-
setStartSel1
public void setStartSel1(boolean startSel1)
-
setActiveGraphicalEdit
public void setActiveGraphicalEdit(boolean activeGraphicalEdit)
-
setMain
public void setMain(Main main)
-
setEndSel1
public void setEndSel1(boolean endSel1)
-
setActiveSelection
public void setActiveSelection(int activeSelection)
-
getActiveSelection
public int getActiveSelection()
-
getCurrentSelection
public java.util.ArrayList<Representable> getCurrentSelection()
-
getJList
public javax.swing.JList<Representable> getJList()
-
setSelection
public void setSelection(boolean selection)
-
isSelection
public boolean isSelection()
-
getSelection
public boolean getSelection()
-
setTransSel
public void setTransSel(boolean transSel)
-
setRotSel
public void setRotSel(boolean rotSel)
-
isSelectingMultipleObjects
public boolean isSelectingMultipleObjects()
-
setSelectingMultipleObjects
public void setSelectingMultipleObjects(boolean selectingMultipleObjects)
-
isSelecting
public boolean isSelecting()
-
getMain
public Main getMain()
-
isActiveGraphicalEdit
public boolean isActiveGraphicalEdit()
-
isSelectingIn
public boolean isSelectingIn()
-
setSelectingIn
public void setSelectingIn(boolean selectingIn)
-
isSelectingOut
public boolean isSelectingOut()
-
setSelectingOut
public void setSelectingOut(boolean selectingOut)
-
isSelectArbitraryPoints
public boolean isSelectArbitraryPoints()
-
setSelectArbitraryPointsIn
public void setSelectArbitraryPointsIn(boolean selectArbitraryPoints)
-
getActionToPerform
public GraphicalEdit2.Action getActionToPerform()
-
setActionToPerform
public void setActionToPerform(GraphicalEdit2.Action actionToPerform)
-
getSelectionIn
public java.util.ArrayList<Representable> getSelectionIn()
-
setSelectionIn
public void setSelectionIn(java.util.ArrayList<Representable> selectionIn)
-
getSelectionOut
public java.util.ArrayList<Representable> getSelectionOut()
-
setSelectionOut
public void setSelectionOut(java.util.ArrayList<Representable> selectionOut)
-
duplicateOnPoints
public void duplicateOnPoints()
Sel1: objets à dupliquer Sel2: points sur lesquels dupliquer Adapation du repère en le liant à la courbe NON
-
duplicateOnCurve
public void duplicateOnCurve()
Sel1: objets à dupliquer Sel2: points de la courbe sur lesquels dupliquer Adapation du repère en le liant à la courbe OUI
-
duplicateOnSurface
public void duplicateOnSurface()
Sel1: objets à dupliquer Sel2: points de la surface à sur lesquelsduplqiuer Adapation du repère en le liant à la surface OUI
-
extrude
public void extrude()
Sel1 est considéré comme la surface à extruder (donc que des points) Sel2 le chemin d'extrusion
-
performAction
public void performAction()
-
getPanel
public UpdateViewMain getPanel()
-
setPanel
public void setPanel(UpdateViewMain panel)
-
run
public void run()
-
add
public void add(Representable r)
-
remove
public void remove(Representable r)
-
copy
public void copy(Representable representable, Point3D translate)
-
copyOn
public void copyOn(Representable representable, ParametricCurve pc, double u, int rotate)
-
copyOn
public void copyOn(Representable representable, ParametricSurface surface, double u, double v, int rotate)
-
-