37 class QPFactory :
public PlotFactory {
63 bool canvasHasThreadedDrawing()
const {
return true; }
66 bool canvasHasCachedLayerDrawing()
const {
return true; }
69 bool canvasHasCachedAxesStack()
const {
return true; }
81 bool showSingleCanvas =
true,
bool showGUI =
true,
83 bool smartDelete =
true)
const;
89 bool smartDelete =
true)
const;
99 bool toggleable =
false,
bool smartDelete =
true)
const;
102 PlotCheckboxPtr checkbox(
const casacore::String& str,
bool smartDelete =
true)
const;
107 const casacore::String& title=
"Scatter Plot",
bool smartDelete=
true)
const;
111 bool smartDelete =
true)
const;
114 RasterPlotPtr rasterPlot(PlotRasterDataPtr
data,
116 PlotRasterData::Format format = PlotRasterData::RGB32,
117 bool smartDelete =
true)
const;
121 const PlotCoordinate& coord,
bool smartDelete =
true)
const;
124 PlotShapeRectanglePtr shapeRectangle(
const PlotCoordinate& upperLeft,
125 const PlotCoordinate& lowerRight,
bool smartDelete =
true)
const;
129 const PlotCoordinate& radii,
bool smartDelete =
true)
const;
132 PlotShapePolygonPtr shapePolygon(
const std::vector<PlotCoordinate>&
c,
133 bool smartDelete =
true)
const;
137 bool smartDelete =
true)
const;
140 PlotShapeArrowPtr shapeArrow(
const PlotCoordinate& from,
147 bool smartDelete =
true)
const;
150 PlotShapeArcPtr shapeArc(
const PlotCoordinate& start,
151 const PlotCoordinate& widthHeight,
int startAngle,
152 int spanAngle,
bool smartDelete =
true)
const;
155 PlotPointPtr point(
const PlotCoordinate& coord,
156 bool smartDelete =
true)
const;
166 std::vector<casacore::String> allNamedColors()
const;
172 bool italics =
false,
bool underline =
false,
173 bool smartDelete =
true)
const;
181 bool smartDelete =
true)
const;
183 bool smartDelete =
true)
const;
190 bool smartDelete =
true)
const;
197 bool smartDelete =
true)
const;
204 PlotSelectToolPtr
selectTool(
bool smartDelete =
true)
const;
205 PlotZoomToolPtr
zoomTool(
bool smartDelete =
true)
const;
206 PlotPanToolPtr
panTool(
bool smartDelete =
true)
const;
207 PlotTrackerToolPtr
trackerTool(
bool smartDelete =
true)
const;
210 PlotCoordinate::System system,
bool smartDelete =
true)
const;
212 PlotCoordinate::System system,
bool smartDelete =
true)
const;
214 PlotCoordinate::System system,
bool smartDelete =
true)
const;
216 PlotCoordinate::System system,
bool smartDelete =
true)
const;
228 static PlotFontPtr defaultAnnotationFont(
bool smartDelete =
true);
231 static PlotAreaFillPtr defaultBarPlotAreaFill(
bool smartDelete =
true);
234 static PlotLinePtr defaultLegendLine(
bool smartDelete =
true);
240 static PlotLinePtr defaultShapeLine(
bool smartDelete =
true);
246 static PlotLinePtr defaultPlotLine(
bool smartDelete =
true);
250 static PlotSymbolPtr defaultPlotSymbol(
bool smartDelete =
true);
254 static PlotSymbolPtr defaultPlotMaskedSymbol(
bool smartDelete =
true);
257 static const unsigned int DEFAULT_ERROR_CAP;
casacore::CountedPtr< PlotAreaFill > PlotAreaFillPtr
static const int NO_EVENTS
No events.
virtual PlotShapeArrowPtr shapeArrow(const PlotCoordinate &from, const PlotCoordinate &to, PlotShapeArrow::Style fromArrow=PlotShapeArrow::NOARROW, PlotShapeArrow::Style toArrow=PlotShapeArrow::V_ARROW, bool smartDelete=true) const =0
Returns a new instance of a PlotShapeArrow for this implementation at the given coordinates with the ...
casacore::CountedPtr< PlotColor > PlotColorPtr
StatsData< AccumType > copy(const StatsData< AccumType > &stats)
virtual PlotSymbolPtr symbol(PlotSymbol::Symbol style, bool smartDelete=true) const =0
Returns a new symbol with the given style.
virtual PlotShapeEllipsePtr shapeEllipse(const PlotCoordinate ¢er, const PlotCoordinate &radii, bool smartDelete=true) const =0
Return a new instance of a PlotShapeEllipse for this implementation with the given coordinates and ra...
PlotTrackerToolPtr trackerTool()
casacore::CountedPtr< PlotLine > PlotLinePtr
SMART POINTER DEFINITIONS PlotItemPtr PlotShapeLinePtr
virtual PlotShapePolygonPtr shapePolygon(const std::vector< PlotCoordinate > &coords, bool smartDelete=true) const =0
Return a new instance of a PlotShapePolygon for this implementation with the given coordinates...
Pattern
Pattern enum, similar in spirit to http://doc.trolltech.com/4.3/qt.html#BrushStyle-enum.
SMART POINTER DEFINITIONS PlotShapeEllipsePtr
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
TableExprNode pattern(const TableExprNode &node)
casacore::CountedPtr< PlotCanvas > PlotCanvasPtr
PlotZoomToolPtr zoomTool()
SMART POINTER DEFINITIONS *typedef casacore::CountedPtr< PlotPanel > PlotPanelPtr
casacore::CountedPtr< PlotSymbol > PlotSymbolPtr
PlotAxis
Enum for the four plot axes.
SMART POINTER DEFINITIONS PlotItemPtr PlotItemPtr PlotShapePathPtr
virtual PlotAnnotationPtr annotation(const casacore::String &text, const PlotCoordinate &coord, bool smartDelete=true) const =0
Return a new instance of a PlotAnnotation for this implementation with the given text and coordinates...
virtual PlotLinePtr line(const casacore::String &color, PlotLine::Style style=PlotLine::SOLID, double width=1.0, bool smartDelete=true) const =0
Returns a new line with the given color, style, and width.
PlotSelectToolPtr selectTool()
Provides access to the individual tools.
virtual PlotFontPtr font(const casacore::String &family="Arial", double pointSize=12, const casacore::String &color="000000", bool bold=false, bool italics=false, bool underline=false, bool smartDelete=true) const =0
Return a new font with the given characteristics.
casacore::CountedPtr< PlotFont > PlotFontPtr
virtual PlotShapeRectanglePtr shapeRectangle(const PlotCoordinate &upperLeft, const PlotCoordinate &lowerRight, bool smartDelete=true) const =0
Return a new instance of a PlotShapeRectangle for this implementation with the given coordinates...
virtual PlotShapePathPtr shapePath(const std::vector< PlotCoordinate > &coords, bool smartDelete=true) const =0
Returns a new instance of a PlotShapePath for this implementation with the given coordinates.
virtual PlotterPtr plotter(const casacore::String &windowTitle="Plotter", bool showSingleCanvas=true, bool showGUI=true, int logEventFlags=PlotLogger::NO_EVENTS, bool smartDelete=true) const =0
GUI Objects //.
virtual PlotPointPtr point(const PlotCoordinate &coord, bool smartDelete=true) const =0
Returns a new instance of a PlotPoint for this implementation at the given coordinates.
casacore::CountedPtr< PlotMutex > PlotMutexPtr
virtual PlotAreaFillPtr areaFill(const casacore::String &color, PlotAreaFill::Pattern pattern=PlotAreaFill::FILL, bool smartDelete=true) const =0
Returns a new area fill with the given color and pattern.
casacore::CountedPtr< Plotter > PlotterPtr
const Double c
Fundamental physical constants (SI units):
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of but is it too vague to be useful Since the interface is meant to be a simple plotter
String: the storage and methods of handling collections of characters.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
virtual PlotColorPtr color(const casacore::String &color, bool smartDelete=true) const =0
Customization Objects //.