summaryrefslogtreecommitdiffstats
path: root/src/PickTest/PickTest.java
diff options
context:
space:
mode:
authorjada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300>2005-11-03 22:46:51 +0000
committerjada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300>2005-11-03 22:46:51 +0000
commitc6805f980728cf8ebe1a329dc0e584c741accc8d (patch)
tree2b5989ad02fb6bd3d418a8adadd1658e3845b894 /src/PickTest/PickTest.java
parent514fe3f6240041c178ff9262d0b91e838fad1d3b (diff)
1) Modified IntersectTest to use the new pickfast utils.
2) Cleanup PickTest
Diffstat (limited to 'src/PickTest/PickTest.java')
-rw-r--r--src/PickTest/PickTest.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/PickTest/PickTest.java b/src/PickTest/PickTest.java
index 88feef7..802b1d4 100644
--- a/src/PickTest/PickTest.java
+++ b/src/PickTest/PickTest.java
@@ -243,7 +243,6 @@ public class PickTest extends Applet implements ActionListener {
morph = new Morph((GeometryArray[]) geomMorph, appearance);
morph.setCapability(Morph.ALLOW_WEIGHTS_READ);
morph.setCapability(Morph.ALLOW_WEIGHTS_WRITE);
- //PickTool.setCapabilities(morph, PickTool.INTERSECT_FULL);
spinTg.addChild(morph);
} else {
// Geometry picking require this to be set.
@@ -263,7 +262,6 @@ public class PickTest extends Applet implements ActionListener {
shape.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
shape.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
shape.setCapability(Shape3D.ENABLE_PICK_REPORTING);
- //PickTool.setCapabilities(shape, PickTool.INTERSECT_FULL);
spinTg.addChild(shape);
}
@@ -294,7 +292,6 @@ public class PickTest extends Applet implements ActionListener {
String pickModeString = new String("Pick Mode");
String boundsString = new String("BOUNDS");
String geometryString = new String("GEOMETRY");
- //String geometryIntersectString = new String("GEOMETRY_INTERSECT_INFO");
String toleranceString = new String("Pick Tolerance");
String tolerance0String = new String("0");
String tolerance2String = new String("2");
@@ -327,7 +324,6 @@ public class PickTest extends Applet implements ActionListener {
bg = new ButtonGroup();
addRadioButton(panel, bg, pickModeString, boundsString, true);
addRadioButton(panel, bg, pickModeString, geometryString, false);
- //addRadioButton(panel, bg, pickModeString, geometryIntersectString, false);
panel.add(new JLabel(toleranceString));
bg = new ButtonGroup();
@@ -352,8 +348,6 @@ public class PickTest extends Applet implements ActionListener {
setPickMode(PickInfo.PICK_BOUNDS);
} else if (value == geometryString) {
setPickMode(PickInfo.PICK_GEOMETRY);
- //} else if (value == geometryIntersectString) {
- //setPickMode(PickInfo.PICK_GEOMETRY);
} else {
System.out.println("Unknown pick mode: " + value);
}