49 Q_PROPERTY(QSharedPointer<ito::DataObject> source READ getSource WRITE setSource DESIGNABLE
false USER
false)
50 Q_PROPERTY(QSharedPointer<ito::DataObject> displayed READ getDisplayed DESIGNABLE
false USER
false)
51 Q_PROPERTY(QPointer<ito::AddInDataIO> camera READ getCamera WRITE setCamera DESIGNABLE
false USER
false)
53 Q_PROPERTY(
ito::AutoInterval xAxisInterval READ getXAxisInterval WRITE setXAxisInterval DESIGNABLE
true USER
true)
54 Q_PROPERTY(
ito::AutoInterval yAxisInterval READ getYAxisInterval WRITE setYAxisInterval DESIGNABLE
true USER
true)
55 Q_PROPERTY(
ito::AutoInterval zAxisInterval READ getZAxisInterval WRITE setZAxisInterval DESIGNABLE
true USER
true)
56 Q_PROPERTY(QString colorMap READ getColorMap WRITE setColorMap DESIGNABLE
true USER
true)
58 Q_CLASSINFO(
"prop://source",
"Sets the input data object for this plot.")
59 Q_CLASSINFO(
"prop://displayed",
"This returns the currently displayed data object [read only].")
60 Q_CLASSINFO(
"prop://camera",
"Use this property to set a camera/grabber to this plot (live image).")
61 Q_CLASSINFO(
"prop://xAxisInterval",
"Sets the visible range of the displayed x-axis (in coordinates of the data object). Set it to 'auto' if range should be automatically set [default].")
62 Q_CLASSINFO(
"prop://yAxisInterval",
"Sets the visible range of the displayed y-axis (in coordinates of the data object). Set it to 'auto' if range should be automatically set [default].")
63 Q_CLASSINFO(
"prop://zAxisInterval",
"Sets the visible range of the displayed z-axis (in coordinates of the data object). Set it to 'auto' if range should be automatically set [default].")
64 Q_CLASSINFO(
"prop://colorMap",
"Color map (string) that should be used to colorize a non-color data object.")
66 Q_CLASSINFO(
"slot://setSource",
"This slot can be implemented by any plot plugin to send a dataObject to the plot. Here it is not required and therefore not implemented.")
67 Q_CLASSINFO(
"slot://setLinePlot",
"This slot can be implemented by any plot plugin to force the plot to open a line plot. Here it is not required and therefore not implemented.")
70 AbstractDObjFigure(
const QString &itomSettingsFile, AbstractFigure::WindowMode windowMode = AbstractFigure::ModeStandaloneInUi, QWidget *parent = 0);
77 virtual QSharedPointer<ito::DataObject> getSource(
void)
const;
78 virtual ito::RetVal setSource(QSharedPointer<ito::DataObject> source);
80 virtual ito::RetVal setAxisData(QSharedPointer<ito::DataObject> data, Qt::Axis axis);
81 virtual QSharedPointer<ito::DataObject> getAxisData(Qt::Axis axis)
const;
83 virtual QSharedPointer<ito::DataObject> getDisplayed(
void);
85 virtual QPointer<ito::AddInDataIO> getCamera(
void)
const;
86 virtual ito::RetVal setCamera( QPointer<ito::AddInDataIO> camera );
97 virtual QString getColorMap(
void)
const;
98 virtual void setColorMap(QString);
101 virtual QPixmap renderToPixMap(
const int xsize,
const int ysize,
const int resolution);
104 QHash<QString, QSharedPointer<ito::DataObject> > m_dataPointer;
105 bool m_cameraConnected;
107 RetVal removeLiveSource();
113 virtual ITOM_PYNOTACCESSIBLE
void setSource(QSharedPointer<ito::DataObject> source,
ItomSharedSemaphore *waitCond);
116 virtual ito::RetVal setLinePlot(
const double x0,
const double y0,
const double x1,
const double y1,
const int destID = -1);