|
GOFIGURE2
0.9.0
|
This object takes a list of QGoSynchronizedView and synchronize their cameras by setting up callbacks. It is recommended to let the QGoSynchronizedViewManager deal with SynchronizedView synchronization. More...
#include <Code/GUI/lib/SynchronizedViews/QGoSynchronizedView2DCallbacks.h>
Public Member Functions | |
| void | addSynchronizedView (QGoSynchronizedView2D *ioSynchronizedView) |
| add a SynchronizedView to the vector of synchronized SynchronizedViews (this method takes care of adding the callback) More... | |
| QGoSynchronizedView2DCallbacks (std::vector< QGoSynchronizedView2D * > iOpenSynchronizedViews, QObject *iParent=0) | |
| the constructor do most of the work : add observers & callbacks to QGoSynchronizedViews of the vector More... | |
| void | removeSynchronizedView (QGoSynchronizedView2D *ioSynchronizedView) |
| remove a SynchronizedView from the vector of synchronized SynchronizedViews (this method takes care of removing the callback) More... | |
| ~QGoSynchronizedView2DCallbacks () | |
Public Member Functions inherited from QObject | |
| bool | blockSignals (bool block) |
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
| const QObjectList & | children () const |
| const char * | className () const |
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| bool | disconnect (const QObject *receiver, const char *method) |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
| void | dumpObjectInfo () |
| void | dumpObjectTree () |
| QList< QByteArray > | dynamicPropertyNames () const |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| T | findChild (const QString &name) const |
| QList< T > | findChildren (const QRegExp ®Exp) const |
| QList< T > | findChildren (const QString &name) const |
| bool | inherits (const char *className) const |
| void | insertChild (QObject *object) |
| void | installEventFilter (QObject *filterObj) |
| bool | isA (const char *className) const |
| bool | isWidgetType () const |
| void | killTimer (int id) |
| virtual const QMetaObject * | metaObject () const |
| void | moveToThread (QThread *targetThread) |
| const char * | name () const |
| const char * | name (const char *defaultName) const |
| QString | objectName () const |
| QObject * | parent () const |
| QVariant | property (const char *name) const |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| void | removeChild (QObject *object) |
| void | removeEventFilter (QObject *obj) |
| void | setName (const char *name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| bool | setProperty (const char *name, const QVariant &value) |
| bool | signalsBlocked () const |
| int | startTimer (int interval) |
| QThread * | thread () const |
| virtual | ~QObject () |
Static Public Member Functions | |
| static void | synchronizeCameras (vtkObject *caller, long unsigned int eventId, void *clientData, void *callData) |
| callback function to synchornize cameras (has to be public) More... | |
Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Private Member Functions | |
| template<typename TIterator > | |
| void | Initialize (TIterator iBegin, TIterator iEnd) |
| void | SetupCallBack () |
| setup the callback command object (client data, called function...etc) More... | |
Private Attributes | |
| std::vector < QGoSynchronizedView2D * > | m_openSynchronizedView |
| all open SynchronizedViews are stored in this array, to transmit it to the callback function More... | |
| vtkCallbackCommand * | m_vtkCallBackCamSync |
| callback object to link callback function to SynchronizedView's event More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const char *signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const char *signal) |
| int | receivers (const char *signal) const |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
| objectName | |
This object takes a list of QGoSynchronizedView and synchronize their cameras by setting up callbacks. It is recommended to let the QGoSynchronizedViewManager deal with SynchronizedView synchronization.
Definition at line 51 of file QGoSynchronizedView2DCallbacks.h.
|
explicit |
the constructor do most of the work : add observers & callbacks to QGoSynchronizedViews of the vector
| TContainer | container of QGoSynchronizedView2D* |
Definition at line 44 of file QGoSynchronizedView2DCallbacks.cxx.
| QGoSynchronizedView2DCallbacks::~QGoSynchronizedView2DCallbacks | ( | ) |
Definition at line 55 of file QGoSynchronizedView2DCallbacks.cxx.
| void QGoSynchronizedView2DCallbacks::addSynchronizedView | ( | QGoSynchronizedView2D * | ioSynchronizedView | ) |
add a SynchronizedView to the vector of synchronized SynchronizedViews (this method takes care of adding the callback)
Definition at line 162 of file QGoSynchronizedView2DCallbacks.cxx.
|
inlineprivate |
Definition at line 99 of file QGoSynchronizedView2DCallbacks.h.
| void QGoSynchronizedView2DCallbacks::removeSynchronizedView | ( | QGoSynchronizedView2D * | ioSynchronizedView | ) |
remove a SynchronizedView from the vector of synchronized SynchronizedViews (this method takes care of removing the callback)
Definition at line 133 of file QGoSynchronizedView2DCallbacks.cxx.
|
private |
setup the callback command object (client data, called function...etc)
Definition at line 122 of file QGoSynchronizedView2DCallbacks.cxx.
|
static |
callback function to synchornize cameras (has to be public)
Definition at line 83 of file QGoSynchronizedView2DCallbacks.cxx.
|
private |
all open SynchronizedViews are stored in this array, to transmit it to the callback function
Definition at line 96 of file QGoSynchronizedView2DCallbacks.h.
|
private |
callback object to link callback function to SynchronizedView's event
Definition at line 91 of file QGoSynchronizedView2DCallbacks.h.
1.8.5