/** * Sets the width of marks used to draw nodes. * @param markWidth mark width in pixels (or points, as for a font). */ public void setMarkWidth(int markWidth) { _markWidth = markWidth; updateBestProjectors(); repaint(); }
/** * Sets the orientation of mesh (x,y) axes. * @param orientation the orientation. */ public void setOrientation(Orientation orientation) { if (_orientation!=orientation) { _orientation = orientation; updateBestProjectors(); repaint(); } }
/** * Sets the width of lines used to draw edges of triangles. * @param lineWidth line width in pixels (or points, as for a font). */ public void setLineWidth(int lineWidth) { _lineWidth = lineWidth; updateBestProjectors(); repaint(); }
/** * Sets the tri mesh rendered by this view. * @param mesh the tri mesh. */ public void setMesh(TriMesh mesh) { _mesh = mesh; updateMinMax(); updateBestProjectors(); repaint(); }