예제 #1
0
  public void SetTickSeperationXYZ(Point3D newTickSpeperation) {
    this.tickSeperationXYZ = newTickSpeperation;

    xAxisGrid.setTickSeperationXY(new Point2D(tickSeperationXYZ.getY(), tickSeperationXYZ.getZ()));

    yAxisGrid.setTickSeperationXY(new Point2D(tickSeperationXYZ.getZ(), tickSeperationXYZ.getX()));

    zAxisGrid.setTickSeperationXY(new Point2D(tickSeperationXYZ.getX(), tickSeperationXYZ.getY()));
  }
예제 #2
0
  public void checkScale(Point3D newMaxLengthXYZ) {
    // yz
    xAxisGrid.updateGrid(new Point2D(newMaxLengthXYZ.getY(), newMaxLengthXYZ.getZ()));
    // zx
    yAxisGrid.updateGrid(new Point2D(newMaxLengthXYZ.getZ(), newMaxLengthXYZ.getX()));
    // xy
    zAxisGrid.updateGrid(new Point2D(newMaxLengthXYZ.getX(), newMaxLengthXYZ.getY()));

    reDeclareLabels();
  }
예제 #3
0
 private void reDeclareLabels() {
   xAxisGrid.reDeclareLabels(
       new Point2D(axisLimitMin.getY(), axisLimitMin.getZ()),
       new Point2D(axisLimitMax.getY(), axisLimitMax.getZ()));
   yAxisGrid.reDeclareLabels(
       new Point2D(axisLimitMin.getZ(), axisLimitMin.getX()),
       new Point2D(axisLimitMax.getZ(), axisLimitMax.getX()));
   zAxisGrid.reDeclareLabels(
       new Point2D(axisLimitMin.getX(), axisLimitMin.getY()),
       new Point2D(axisLimitMax.getX(), axisLimitMax.getY()));
 }
예제 #4
0
 public void flipZGridVisible() {
   zAxisGrid.setVisible(!zAxisGrid.isVisible());
 }
예제 #5
0
 public void flipYGridVisible() {
   yAxisGrid.setVisible(!yAxisGrid.isVisible());
 }
예제 #6
0
 public void flipXGridVisible() {
   xAxisGrid.setVisible(!xAxisGrid.isVisible());
 }
예제 #7
0
 public void setGridZVisible(boolean visible) {
   zAxisGrid.setVisible(visible);
 }
예제 #8
0
 public void setGridYVisible(boolean visible) {
   yAxisGrid.setVisible(visible);
 }
예제 #9
0
 public void setGridXVisible(boolean visible) {
   xAxisGrid.setVisible(visible);
 }