void render(Graphics3D g3d, ModelSet modelSet) { // , Rectangle rectClip
   if (!viewer.getRefreshing()) return;
   render1(g3d, modelSet); // , rectClip
   Rectangle band = viewer.getRubberBandSelection();
   if (band != null && g3d.setColix(viewer.getColixRubberband()))
     g3d.drawRect(band.x, band.y, 0, 0, band.width, band.height);
 }
Beispiel #2
0
 protected void setColor(Color c) {
   ((Graphics3D) mG).setColix(Graphics3D.getColix(c.getRGB()));
 }