itom
Loading...
Searching...
No Matches
ito::AbstractDObjFigure Class Reference
Inheritance diagram for ito::AbstractDObjFigure:
ito::AbstractFigure ito::AbstractNode

Public Slots

virtual ITOM_PYNOTACCESSIBLE void setSource (QSharedPointer< ito::DataObject > source, ItomSharedSemaphore *waitCond)
 
virtual ito::RetVal setLinePlot (const double x0, const double y0, const double x1, const double y1, const int destID=-1)
 
- Public Slots inherited from ito::AbstractFigure
int getPlotID ()
 
void refreshPlot ()
 

Public Member Functions

 AbstractDObjFigure (const QString &itomSettingsFile, AbstractFigure::WindowMode windowMode=AbstractFigure::ModeStandaloneInUi, QWidget *parent=0)
 
ito::RetVal update (void)
 overload of AbstractNode::update
 
virtual QSharedPointer< ito::DataObjectgetSource (void) const
 
virtual ito::RetVal setSource (QSharedPointer< ito::DataObject > source)
 
virtual ito::RetVal setAxisData (QSharedPointer< ito::DataObject > data, Qt::Axis axis)
 
virtual QSharedPointer< ito::DataObjectgetAxisData (Qt::Axis axis) const
 
virtual QSharedPointer< ito::DataObjectgetDisplayed (void)
 
virtual QPointer< ito::AddInDataIOgetCamera (void) const
 
virtual ito::RetVal setCamera (QPointer< ito::AddInDataIO > camera)
 
virtual ito::AutoInterval getXAxisInterval (void) const
 
virtual void setXAxisInterval (ito::AutoInterval)
 
virtual ito::AutoInterval getYAxisInterval (void) const
 
virtual void setYAxisInterval (ito::AutoInterval)
 
virtual ito::AutoInterval getZAxisInterval (void) const
 
virtual void setZAxisInterval (ito::AutoInterval)
 
virtual QString getColorMap (void) const
 
virtual void setColorMap (QString)
 
virtual QPixmap renderToPixMap (const int xsize, const int ysize, const int resolution)
 plot-specific render function to enable more complex printing in subfigures ...
 
- Public Member Functions inherited from ito::AbstractFigure
 AbstractFigure (const QString &itomSettingsFile, WindowMode windowMode=ModeStandaloneInUi, QWidget *parent=0)
 
virtual bool event (QEvent *e)
 
void setApiFunctionGraphBasePtr (void **apiFunctionGraphBasePtr)
 
void setApiFunctionBasePtr (void **apiFunctionBasePtr)
 
void ** getApiFunctionGraphBasePtr (void)
 
void ** getApiFunctionBasePtr (void)
 
virtual void setToolbarVisible (bool visible)
 
virtual bool getToolbarVisible () const
 
virtual void setContextMenuEnabled (bool show)=0
 
virtual bool getContextMenuEnabled () const =0
 
QDockWidget * getPropertyDockWidget () const
 
virtual bool getLegendRender () const
 
virtual void setLegendRender (const bool val)
 
QList< QMenu * > getMenus () const
 
QList< AbstractFigure::ToolBarItemgetToolbars () const
 
QList< AbstractFigure::ToolboxItemgetToolboxes () const
 
void setWindowTitleExtension (const QString &title)
 
- Public Member Functions inherited from ito::AbstractNode
 AbstractNode ()
 constructor
 
virtual ~AbstractNode ()
 destructor
 
virtual RetVal applyUpdate (void)=0
 
RetVal createChannel (const QString &senderParamName, AbstractNode *receiver, const QString &receiverParamName, bool replaceChannelIfExists=false)
 creates a new channel from this node as sender and a specific sender parameter (output) to a receiver node and its specific receiver (input) parameter.
 
RetVal removeChannel (QSharedPointer< Channel > channel)
 
RetVal removeAllChannelsToReceiver (const AbstractNode *receiver, QList< ParamNamePair > excludedConnections=QList< ParamNamePair >())
 
QList< QSharedPointer< Channel > > getConnectedInputChannels (const QString &inputParamName) const
 
QList< QSharedPointer< Channel > > getConnectedInputChannels (const ito::Param *inputParam) const
 
QList< QSharedPointer< Channel > > getConnectedOutputChannels (const QString &outputParamName) const
 
QList< QSharedPointer< Channel > > getConnectedOutputChannels (const ito::Param *outputParam) const
 
RetVal updateChannelData (QSharedPointer< Channel > updatedChannel)
 
RetVal setUpdatePending (QSharedPointer< ito::Channel > singleOutputChannel=QSharedPointer< ito::Channel >())
 >propagates information about a soon, future update to all (or one selected) output channel(s) of this node
 
ito::ParamgetInputParam (const QString &paramName) const
 returns the input parameter whose name is equal to paramName or returns NULL if the parameter is not found.
 
ito::ParamgetOutputParam (const QString &paramName) const
 returns the output parameter whose name is equal to paramName or returns NULL if the parameter is not found.
 
RetVal addOutputParam (ito::Param *param)
 adds the given parameter to the list of output parameters of this node.
 
RetVal removeAndDeleteOutputParam (const QString &paramName)
 
RetVal addInputParam (ito::Param *param)
 adds the given parameter to the list of input parameters of this node.
 
RetVal removeAndDeleteInputParam (const QString &paramName)
 
RetVal updateChannels (const QList< QString > &outputParamNames)
 triggers updates of all channels that are connected to the given output parameter names of the sender.
 
rttiNodeType getType () const
 returns the type of this node
 
bool isConnected () const
 returns true if at least one channel is connected to this node
 
unsigned int getUniqueID (void) const
 return a unique, auto-incremented UID of this node (beginning with 1)
 

Protected Member Functions

RetVal removeLiveSource ()
 
- Protected Member Functions inherited from ito::AbstractFigure
virtual RetVal init ()
 
virtual void importItomApi (void **apiPtr)=0
 
virtual void importItomApiGraph (void **apiPtr)=0
 
void addToolBar (QToolBar *toolbar, const QString &key, Qt::ToolBarArea area=Qt::TopToolBarArea, int section=1)
 
void addToolBarBreak (const QString &key, Qt::ToolBarArea area=Qt::TopToolBarArea)
 
void addToolbox (QDockWidget *toolbox, const QString &key, Qt::DockWidgetArea area=Qt::RightDockWidgetArea)
 
bool removeToolbox (const QString &key)
 
void showToolBar (const QString &key)
 
void hideToolBar (const QString &key)
 
void addMenu (QMenu *menu)
 
void updatePropertyDock ()
 
void setPropertyObservedObject (QObject *obj)
 
RetVal initialize ()
 
RetVal registerShortcutActions ()
 
WindowMode getWindowMode () const
 
QString getItomSettingsFile () const
 
- Protected Member Functions inherited from ito::AbstractNode
RetVal detachChannel (QSharedPointer< Channel > channel)
 removes the given channel from the list of chnanels of this node.
 
RetVal attachChannel (QSharedPointer< Channel > channel)
 
RetVal inputParamChanged (const ito::ParamBase *updatedInputParam)
 

Protected Attributes

QHash< QString, QSharedPointer< ito::DataObject > > m_dataPointer
 
bool m_cameraConnected
 
- Protected Attributes inherited from ito::AbstractFigure
void ** m_apiFunctionsGraphBasePtr
 
void ** m_apiFunctionsBasePtr
 

Properties

QSharedPointer< ito::DataObjectsource
 
QSharedPointer< ito::DataObjectdisplayed
 
QPointer< ito::AddInDataIOcamera
 
ito::AutoInterval xAxisInterval
 
ito::AutoInterval yAxisInterval
 
ito::AutoInterval zAxisInterval
 
QString colorMap
 
- Properties inherited from ito::AbstractFigure
bool toolbarVisible
 
bool contextMenuEnabled
 
bool renderLegend
 

Additional Inherited Members

- Public Types inherited from ito::AbstractFigure
enum  WindowMode { ModeInItomFigure , ModeStandaloneInUi , ModeStandaloneWindow }
 
enum  UnitLabelStyle { UnitLabelSlash , UnitLabelKeywordIn , UnitLabelSquareBrackets }
 
- Public Types inherited from ito::AbstractNode
typedef QPair< QString, QString > ParamNamePair
 
- Signals inherited from ito::AbstractFigure
void windowTitleModified (QString windowTitleSuffix)
 
- Static Protected Attributes inherited from ito::AbstractNode
static unsigned int UID = 1
 highest used UID of any node. This value is auto-incremented upon every
 

Member Function Documentation

◆ update()

ito::RetVal ito::AbstractDObjFigure::update ( void )
virtual

overload of AbstractNode::update

‍do the real update work, here the transformation from source to displayed takes place

‍input data object is different from output data object so must cache it

Implements ito::AbstractFigure.


The documentation for this class was generated from the following files: