/** * Take the snapshot of current cluster * * @return */ public RenderedImage SnapShotCluster() { BufferedImage bufferedImage = new BufferedImage( _clusterArea.getWidth(), _clusterArea.getHeight(), BufferedImage.TYPE_INT_RGB); // Create a graphics contents on the buffered image Graphics2D g2d = bufferedImage.createGraphics(); _clusterArea.paint(g2d); return bufferedImage; }
public void SetDisplayAxis(boolean choice) { _displayAxis = choice; _clusterArea.repaint(); }
/** * Should I display the outliner * * @param choice */ public void SetDisplayOutliner(boolean choice) { _displayOutliner = choice; _clusterArea.repaint(); }