Exemplo n.º 1
0
  /**
   * constructor for previewable
   *
   * @param view3D
   * @param selectedPoints
   * @param cs1D
   */
  @SuppressWarnings("unchecked")
  public DrawQuadric3D(EuclidianView3D view3D, ArrayList selectedPoints, int type) {

    super(view3D);

    GeoQuadric3D q = new GeoQuadric3D(view3D.getKernel().getConstruction());
    setGeoElement(q);
    q.setIsPickable(false);
    q.setType(type);
    // setGeoElement(q);

    setPickingType(PickingType.SURFACE);

    this.selectedPoints = selectedPoints;

    updatePreview();
  }
Exemplo n.º 2
0
 protected void setBackground(GColor updatedColor, GColor applyedColor) {
   super.setBackground(updatedColor, applyedColor);
   evjpanel.setBackground(org.geogebra.desktop.awt.GColorD.getAwtColor(bgApplyedColor));
 }