#include <TeVisual.h>
Definition at line 169 of file TeVisual.h.
Public Member Functions | |
| virtual double | alignmentHoriz () |
| Retuns the horizontal alignment of texts. | |
| virtual void | alignmentHoriz (double a) |
| Sets the horizontal alignment of texts. | |
| virtual double | alignmentVert () |
| Retuns the vertical alignment of texts. | |
| virtual void | alignmentVert (double a) |
| Sets the vertical alignment of texts. | |
| virtual bool | bold () |
| Returns the bold style used in the texts. | |
| virtual void | bold (bool b) |
| Sets the bold style for texts. | |
| virtual void | clear () |
| Returns visual to the default parameters. | |
| virtual TeColor & | color () |
| Returns the color used for geometry filling and line, point and text color. | |
| virtual void | color (const TeColor &color) |
| Sets the color used for geometry filling and line, point and text color. | |
| virtual TeColor & | contourColor () |
| Returns the color used in the polygons and cells outlines. | |
| virtual void | contourColor (const TeColor &color) |
| Sets the color for the polygons and cells outlines. | |
| virtual int | contourStyle () |
| Returns the contour style used in the polygons and cells outlines. | |
| virtual void | contourStyle (int s) |
| Sets the contour style for the polygons and cells outlines. | |
| virtual int | contourTransparency () |
| Returns the color used in the polygons and cells outlines. | |
| virtual void | contourTransparency (int t) |
| Sets the percentage of transparency for the polygon ans cells outlines. | |
| virtual int | contourWidth () |
| Returns the contour width used in the polygons and cells outlines. | |
| virtual void | contourWidth (int w) |
| Sets the contour width for the polygons and cells outlines. | |
| virtual TeVisual * | copy () |
| Creates another visual pointer and copies its content. | |
| virtual string | family () |
| Returns fontīs family. | |
| virtual void | family (string f) |
| Sets the text family for fonts. | |
| virtual bool | fixedSize () |
| Retuns a flag indicating if an text have a fixed size. | |
| virtual void | fixedSize (bool i) |
| Sets a flag indicating if the text will have a fixed size. | |
| virtual bool | italic () |
| Returns the italic style used in the texts. | |
| virtual void | italic (bool i) |
| Sets the italic style for texts. | |
| virtual int | lineSpace () |
| Returns the spacing between lines. | |
| virtual void | lineSpace (int s) |
| Sets the spacing between lines. | |
| virtual TeVisual & | operator= (const TeVisual &vis) |
| Assignment operator. | |
| virtual bool | operator== (const TeVisual &vis) |
| Returns TRUE if param1 is equal to param2 or FALSE if they are different. | |
| virtual void | ptAngle (int p) |
| Sets the angle of points and symbols. | |
| virtual int | ptAngle () |
| Returns the angle of points and symbols. | |
| virtual void | setBasic (TeVisual &vis) |
| Copies only the basic visual parameters from another visual. | |
| virtual int | size () |
| Returns the point size. | |
| virtual void | size (int s) |
| Sets the point size. | |
| virtual int | style () |
| Returns the style for the filling of geometries. | |
| virtual void | style (int s) |
| Sets the style for the filling of geometries. | |
| virtual int | tabSize () |
| Returns the number of spaces defined in a tab character. | |
| virtual void | tabSize (int s) |
| Sets the number of spaces defined in a tab character. | |
| TeVisual (const TeVisual &other) | |
| Copy constructor. | |
| TeVisual (TeGeomRep rep=TePOLYGONS) | |
| Empty constructor. | |
| virtual int | transparency () |
| Returns the percentage of transparency used in polygons and cells. | |
| virtual void | transparency (int t) |
| Sets the percentage of transparency for polygons and cells. | |
| virtual int | width () |
| Returns the width. | |
| virtual void | width (int w) |
| Sets the width. | |
| virtual | ~TeVisual () |
| Destructor. | |
Static Public Member Functions | |
| static TeVisual * | DefaultObject () |
| Returns a default visual object. | |
Protected Attributes | |
| TeBaseVisualParams | params_ |
| TeVisual::TeVisual | ( | TeGeomRep | rep = TePOLYGONS |
) |
Definition at line 217 of file TeVisual.cpp.
00217 : 00218 params_ (TeBaseVisualParams(rep, "tevisual")) 00219 { 00220 }
| virtual TeVisual::~TeVisual | ( | ) | [inline, virtual] |
| TeVisual::TeVisual | ( | const TeVisual & | other | ) |
| virtual double TeVisual::alignmentHoriz | ( | ) | [inline, virtual] |
| virtual void TeVisual::alignmentHoriz | ( | double | a | ) | [inline, virtual] |
Definition at line 307 of file TeVisual.h.
Referenced by TeDatabasePortal::getVisual(), and TeDatabase::updateVisual().
00308 { params_.alignmentHoriz_ = a; }
| virtual double TeVisual::alignmentVert | ( | ) | [inline, virtual] |
| virtual void TeVisual::alignmentVert | ( | double | a | ) | [inline, virtual] |
Definition at line 299 of file TeVisual.h.
Referenced by TeDatabasePortal::getVisual(), and TeDatabase::updateVisual().
00300 { params_.alignmentVert_ = a; }
| virtual bool TeVisual::bold | ( | ) | [inline, virtual] |
| virtual void TeVisual::bold | ( | bool | b | ) | [inline, virtual] |
Definition at line 275 of file TeVisual.h.
Referenced by TeQtCanvas::getLegendRect(), TeAppTheme::getTextVisual(), TeDatabasePortal::getVisual(), TeQtCanvas::plotGraphicScale(), TeQtCanvas::plotLegend(), plotTextWV(), and TeDatabase::updateVisual().
| void TeVisual::clear | ( | void | ) | [virtual] |
| virtual TeColor& TeVisual::color | ( | ) | [inline, virtual] |
| virtual void TeVisual::color | ( | const TeColor & | color | ) | [inline, virtual] |
Definition at line 195 of file TeVisual.h.
Referenced by TeLegendEntry::color(), TeTheme::createRasterVisual(), TeExternalTheme::createRasterVisual(), TeAbstractTheme::createRasterVisual(), TeQtLegendItem::drawLineRep(), TeQtCanvas::drawLineRep(), TeQtLegendItem::drawPointRep(), TeQtCanvas::drawPointRep(), TeQtLegendItem::drawPolygonRep(), TeQtCanvas::drawPolygonRep(), generateCountLegends(), TeQtCanvas::getLegendRect(), TeAppTheme::getTextVisual(), TeDatabasePortal::getVisual(), getVisual(), getVisualRemote(), main(), TeGraphPlot::pieLegends(), TeGraphPlot::plotCurves(), TeQtCanvas::plotGraphicScale(), TeQtCanvas::plotLegend(), TeQtLegendSource::putColorOnLegend(), TeAbstractTheme::TeAbstractTheme(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), and TeDatabase::updateVisual().
| virtual TeColor& TeVisual::contourColor | ( | ) | [inline, virtual] |
| virtual void TeVisual::contourColor | ( | const TeColor & | color | ) | [inline, virtual] |
Definition at line 219 of file TeVisual.h.
Referenced by TeLegendEntry::color(), TeQtLegendItem::drawPolygonRep(), TeQtCanvas::drawPolygonRep(), TeDatabasePortal::getVisual(), main(), TeQtCanvas::plotLegend(), TeAbstractTheme::TeAbstractTheme(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), and TeDatabase::updateVisual().
00220 { params_.contourColor_ = color;}
| virtual int TeVisual::contourStyle | ( | ) | [inline, virtual] |
| virtual void TeVisual::contourStyle | ( | int | s | ) | [inline, virtual] |
Definition at line 243 of file TeVisual.h.
Referenced by TeQtLegendItem::drawPolygonRep(), TeQtCanvas::drawPolygonRep(), TeDatabasePortal::getVisual(), main(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), and TeDatabase::updateVisual().
00244 { params_.contourSymbId_ = s; }
| virtual int TeVisual::contourTransparency | ( | ) | [inline, virtual] |
| virtual void TeVisual::contourTransparency | ( | int | t | ) | [inline, virtual] |
Definition at line 227 of file TeVisual.h.
Referenced by TeDatabasePortal::getVisual(), and TeDatabase::updateVisual().
00228 { params_.contourTransparency_ = t;}
| virtual int TeVisual::contourWidth | ( | ) | [inline, virtual] |
| virtual void TeVisual::contourWidth | ( | int | w | ) | [inline, virtual] |
Definition at line 235 of file TeVisual.h.
Referenced by TeQtLegendItem::drawPolygonRep(), TeQtCanvas::drawPolygonRep(), TeDatabasePortal::getVisual(), main(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), and TeDatabase::updateVisual().
00236 { params_.contourWidth_ = w; }
| virtual TeVisual* TeVisual::copy | ( | ) | [inline, virtual] |
Definition at line 339 of file TeVisual.h.
Referenced by generateCountLegends(), TeLegendEntry::operator=(), TeQtLegendSource::putColorOnLegend(), TeAbstractTheme::setGroupingVisual(), TeLegendEntry::setVisual(), and TeAbstractTheme::TeAbstractTheme().
00340 { 00341 TeVisual* retval = new TeVisual(); 00342 *retval = *this; 00343 return retval; 00344 }
| static TeVisual* TeVisual::DefaultObject | ( | ) | [inline, static] |
| virtual string TeVisual::family | ( | ) | [inline, virtual] |
| virtual void TeVisual::family | ( | string | f | ) | [inline, virtual] |
Definition at line 267 of file TeVisual.h.
Referenced by TeQtCanvas::getLegendRect(), TeAppTheme::getTextVisual(), TeDatabasePortal::getVisual(), TeQtCanvas::plotGraphicScale(), TeQtCanvas::plotLegend(), plotTextWV(), setTextAttributes(), TeQtCanvas::textRect(), and TeDatabase::updateVisual().
| virtual bool TeVisual::fixedSize | ( | ) | [inline, virtual] |
| virtual void TeVisual::fixedSize | ( | bool | i | ) | [inline, virtual] |
Definition at line 291 of file TeVisual.h.
Referenced by TeQtTextEdit::change(), TeQtCanvas::getLegendRect(), TeAppTheme::getTextVisual(), TeDatabasePortal::getVisual(), TeQtCanvas::plotLegend(), plotTextWV(), TeQtCanvas::textRect(), and TeDatabase::updateVisual().
00292 { params_.fixedSize_ = i; }
| virtual bool TeVisual::italic | ( | ) | [inline, virtual] |
| virtual void TeVisual::italic | ( | bool | i | ) | [inline, virtual] |
Definition at line 283 of file TeVisual.h.
Referenced by TeQtCanvas::getLegendRect(), TeAppTheme::getTextVisual(), TeDatabasePortal::getVisual(), TeQtCanvas::plotGraphicScale(), TeQtCanvas::plotLegend(), plotTextWV(), and TeDatabase::updateVisual().
| virtual int TeVisual::lineSpace | ( | ) | [inline, virtual] |
| virtual void TeVisual::lineSpace | ( | int | s | ) | [inline, virtual] |
Definition at line 323 of file TeVisual.h.
Referenced by TeDatabasePortal::getVisual(), and TeDatabase::updateVisual().
00324 { params_.lineSpace_ = s; }
| virtual void TeVisual::ptAngle | ( | int | p | ) | [inline, virtual] |
| virtual int TeVisual::ptAngle | ( | ) | [inline, virtual] |
Definition at line 331 of file TeVisual.h.
Referenced by plotTextWV(), and TeDatabase::updateVisual().
| void TeVisual::setBasic | ( | TeVisual & | vis | ) | [virtual] |
Definition at line 253 of file TeVisual.cpp.
References params_, and TeBaseVisualParams::setBasic().
| virtual int TeVisual::size | ( | void | ) | [inline, virtual] |
| virtual void TeVisual::size | ( | int | s | ) | [inline, virtual] |
Definition at line 259 of file TeVisual.h.
Referenced by TeQtLegendItem::drawPointRep(), TeQtCanvas::drawPointRep(), TeQtCanvas::getLegendRect(), TeAppTheme::getTextVisual(), TeDatabasePortal::getVisual(), TeQtCanvas::plotGraphicScale(), TeQtCanvas::plotLegend(), plotTextWV(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), TeQtCanvas::textRect(), and TeDatabase::updateVisual().
00260 { params_.sizeValue_ = s; }
| virtual int TeVisual::style | ( | ) | [inline, virtual] |
| virtual void TeVisual::style | ( | int | s | ) | [inline, virtual] |
Definition at line 203 of file TeVisual.h.
Referenced by TeLegendEntry::color(), TeQtLegendItem::drawLineRep(), TeQtCanvas::drawLineRep(), TeQtLegendItem::drawPointRep(), TeQtCanvas::drawPointRep(), TeQtLegendItem::drawPolygonRep(), TeQtCanvas::drawPolygonRep(), getVisual(), TeDatabasePortal::getVisual(), main(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), and TeDatabase::updateVisual().
| virtual int TeVisual::tabSize | ( | ) | [inline, virtual] |
| virtual void TeVisual::tabSize | ( | int | s | ) | [inline, virtual] |
Definition at line 315 of file TeVisual.h.
Referenced by TeDatabasePortal::getVisual(), and TeDatabase::updateVisual().
| virtual int TeVisual::transparency | ( | ) | [inline, virtual] |
| virtual void TeVisual::transparency | ( | int | t | ) | [inline, virtual] |
Definition at line 211 of file TeVisual.h.
Referenced by TeQtLegendItem::drawPolygonRep(), TeQtCanvas::drawPolygonRep(), getVisual(), TeDatabasePortal::getVisual(), main(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), and TeDatabase::updateVisual().
00212 { params_.transparency_ = t; }
| virtual int TeVisual::width | ( | ) | [inline, virtual] |
| virtual void TeVisual::width | ( | int | w | ) | [inline, virtual] |
Definition at line 251 of file TeVisual.h.
Referenced by TeQtLegendItem::drawLineRep(), TeQtCanvas::drawLineRep(), TeDatabasePortal::getVisual(), TePlotFrame(), TePlotObjects(), TePlotSelectedObjects(), and TeDatabase::updateVisual().
TeBaseVisualParams TeVisual::params_ [protected] |
Definition at line 351 of file TeVisual.h.
Referenced by clear(), operator=(), operator==(), setBasic(), and TeVisual().
1.5.3