29 virtual void addPoly(
bool solid,
const QVector<DVect> & points,
bool cl)=0;
This class allows user to draw basic geometric plots using FISH functions.
Definition igeneralplot.h:20
virtual void addLineTo(const DVect &p1)=0
Draw a line (used in conjuction with function addMoveTo)
virtual void addSphere(bool solid, const DVect ¢, const double &rad)=0
Draw a sphere with a given center and radius.
virtual void setDashPattern(int lp)=0
Set dash patterns for lines. Zero is solid.
virtual void addCircle(bool solid, const DVect ¢, const double &rad)=0
Draw a circle with a given center and radius.
virtual void setTransparencyFactor(int c)=0
Set transparency. Zero is opaque. Valid values between 0 and 100.
virtual void setColor(int c)=0
Set the current plot color. Objects draw after this command will be created with this color.
virtual void addString(const DVect &v, const QString &s)=0
Write out a string on a given coordinate (point v).
virtual void addLine(const DVect &p1, const DVect &p2)=0
Draw a line beteween two points.
virtual void setLineWidth(int w)=0
Set line width.
virtual void addPoly(bool solid, const QVector< DVect > &points, bool cl)=0
Draw a polygon. Points are stored on vector 'points'.
virtual void adDExtent2(bool solid, const DExtent2 &r)=0
Draw a rectangle.
virtual void setFontData(const double &fz)=0
Set font size.
virtual void addMoveTo(const DVect &p1)=0
Move to a point in the screen coordinates.
virtual void setColor(const QString &c)=0
DIM - Provides code portability between 2D and 3D codes.
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4