예제 #1
0
 public static AirspaceAttributes getSelectionAttributes() {
   AirspaceAttributes attributes = new BasicAirspaceAttributes();
   attributes.setInteriorMaterial(Material.WHITE);
   attributes.setOutlineMaterial(Material.BLACK);
   attributes.setDrawOutline(true);
   attributes.setInteriorOpacity(0.8);
   attributes.setOutlineOpacity(0.8);
   attributes.setOutlineWidth(2);
   return attributes;
 }
예제 #2
0
 public static AirspaceAttributes getDefaultAttributes() {
   AirspaceAttributes attributes = new BasicAirspaceAttributes();
   attributes.setInteriorMaterial(
       new Material(Color.BLACK, Color.LIGHT_GRAY, Color.DARK_GRAY, Color.BLACK, 0.0f));
   attributes.setOutlineMaterial(Material.DARK_GRAY);
   attributes.setDrawOutline(true);
   attributes.setInteriorOpacity(0.95);
   attributes.setOutlineOpacity(.95);
   attributes.setOutlineWidth(2);
   return attributes;
 }
예제 #3
0
 public static AirspaceAttributes getSelectionAndIntersectionAttributes() {
   AirspaceAttributes attributes = new BasicAirspaceAttributes();
   attributes.setInteriorMaterial(Material.ORANGE);
   attributes.setInteriorOpacity(0.8);
   return attributes;
 }
예제 #4
0
 public static AirspaceAttributes getIntersectionAttributes() {
   AirspaceAttributes attributes = new BasicAirspaceAttributes();
   attributes.setInteriorMaterial(Material.RED);
   attributes.setInteriorOpacity(0.95);
   return attributes;
 }