GOFIGURE2
0.9.0
|
High level class for QGoSynchronizedView2D, QGoSynchronizedView2DCallbacks QGoSynchronizedView3D, QGoSynchronizedView3DCallbacks. More...
#include <Code/GUI/lib/SynchronizedViews/QGoSynchronizedViewManager.h>
Public Slots | |
void | deleteSynchronizedView2D (QGoSynchronizedView2D *ioSynchronizedView) |
delete a QGoSynchronizedView from QGoSynchronizedViewManager's parent Object/Widget delete the QGoSynchronizedView More... | |
void | deleteSynchronizedView2D (const int &iIndex) |
void | deleteSynchronizedView3D (QGoSynchronizedView3D *ioSynchronizedView) |
void | deleteSynchronizedView3D (const int &iIndex) |
bool | isSynchronizing () |
true if the manager synchronizes some QGoSynchronizedView More... | |
QGoSynchronizedView * | newSynchronizedView (QString iSynchronizedViewName, vtkImageData *iImage) |
create and add a QGoSynchronizedView to QGoSynchronizedViewManager's parent Object/Widget depending on the vtk image given as an input, the returned QGoSynchronizedView can be downcasted to QGoSynchronizedView2D or QGoSynchronizedView3D safe downcasting is user's responsibility. More... | |
QGoSynchronizedView2D * | newSynchronizedView2D (QString iSynchronizedViewName, vtkImageData *iImage) |
create and add a QGoSynchronizedView2D to QGoSynchronizedViewManager's parent Object/Widget More... | |
QGoSynchronizedView3D * | newSynchronizedView3D (QString iSynchronizedViewName, vtkImageData *iImage) |
create and add a QGoSynchronizedView3D to QGoSynchronizedViewManager's parent Object/Widget More... | |
void | removeSynchronizedView2D (QGoSynchronizedView2D *ioSynchronizedView) |
take a QGoSynchronizedView out of the Manager lists, without deleting it. More... | |
void | removeSynchronizedView3D (QGoSynchronizedView3D *ioSynchronizedView) |
void | show () |
show all the QGoSynchronizedView s More... | |
void | synchronizeOpenSynchronizedViews () |
synchronize all open QGoSynchronizedViews More... | |
void | unSynchronizeOpenSynchronizedViews () |
remove the synchronization leaving the all QGoSynchronizedView independent More... | |
void | Update () |
update the QGoSynchronizedView s More... | |
Public Member Functions | |
template<typename TPixel > | |
QGoSynchronizedView3D * | newSynchronizedView (QString iSynchronizedViewName, typename itk::Image< TPixel, 3 >::Pointer iImage) |
create and add a QGoSynchronizedView to QGoSynchronizedViewManager's parent Object/Widget More... | |
template<typename TPixel > | |
QGoSynchronizedView2D * | newSynchronizedView (QString iSynchronizedViewName, typename itk::Image< TPixel, 2 >::Pointer iImage) |
QGoSynchronizedViewManager (QObject *parent=0) | |
~QGoSynchronizedViewManager () | |
![]() | |
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 () |
Protected Attributes | |
std::vector < QGoSynchronizedView2D * > | m_openSynchronizedViews |
std::vector < QGoSynchronizedView3D * > | m_openSynchronizedViews3D |
QGoSynchronizedView2DCallbacks * | m_Synchronizer |
QGoSynchronizedView3DCallbacks * | m_Synchronizer3D |
Private Member Functions | |
Q_DISABLE_COPY (QGoSynchronizedViewManager) | |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
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) |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
objectName | |
High level class for QGoSynchronizedView2D, QGoSynchronizedView2DCallbacks QGoSynchronizedView3D, QGoSynchronizedView3DCallbacks.
This class is dealing with QGoSynchronizedViews for correct synchronization and handling provides a simple interface to create/delete/synchronize QGoSynchronizedView s. This class should be used with any class using QGoSynchronizedView and QGoSynchronize.
Definition at line 61 of file QGoSynchronizedViewManager.h.
|
explicit |
Definition at line 43 of file QGoSynchronizedViewManager.cxx.
QGoSynchronizedViewManager::~QGoSynchronizedViewManager | ( | ) |
Definition at line 53 of file QGoSynchronizedViewManager.cxx.
|
slot |
delete a QGoSynchronizedView from QGoSynchronizedViewManager's parent Object/Widget delete the QGoSynchronizedView
Definition at line 185 of file QGoSynchronizedViewManager.cxx.
|
slot |
Definition at line 218 of file QGoSynchronizedViewManager.cxx.
|
slot |
Definition at line 277 of file QGoSynchronizedViewManager.cxx.
|
slot |
Definition at line 310 of file QGoSynchronizedViewManager.cxx.
|
slot |
true if the manager synchronizes some QGoSynchronizedView
Definition at line 400 of file QGoSynchronizedViewManager.cxx.
|
inline |
create and add a QGoSynchronizedView to QGoSynchronizedViewManager's parent Object/Widget
Definition at line 73 of file QGoSynchronizedViewManager.h.
|
inline |
Definition at line 106 of file QGoSynchronizedViewManager.h.
|
slot |
create and add a QGoSynchronizedView to QGoSynchronizedViewManager's parent Object/Widget depending on the vtk image given as an input, the returned QGoSynchronizedView can be downcasted to QGoSynchronizedView2D or QGoSynchronizedView3D safe downcasting is user's responsibility.
Definition at line 87 of file QGoSynchronizedViewManager.cxx.
|
slot |
create and add a QGoSynchronizedView2D to QGoSynchronizedViewManager's parent Object/Widget
Definition at line 114 of file QGoSynchronizedViewManager.cxx.
|
slot |
create and add a QGoSynchronizedView3D to QGoSynchronizedViewManager's parent Object/Widget
Definition at line 149 of file QGoSynchronizedViewManager.cxx.
|
private |
|
slot |
take a QGoSynchronizedView out of the Manager lists, without deleting it.
Definition at line 245 of file QGoSynchronizedViewManager.cxx.
|
slot |
Definition at line 338 of file QGoSynchronizedViewManager.cxx.
|
slot |
show all the QGoSynchronizedView s
Definition at line 442 of file QGoSynchronizedViewManager.cxx.
|
slot |
synchronize all open QGoSynchronizedViews
Definition at line 384 of file QGoSynchronizedViewManager.cxx.
|
slot |
remove the synchronization leaving the all QGoSynchronizedView independent
Definition at line 369 of file QGoSynchronizedViewManager.cxx.
|
slot |
update the QGoSynchronizedView s
Definition at line 414 of file QGoSynchronizedViewManager.cxx.
|
protected |
Definition at line 208 of file QGoSynchronizedViewManager.h.
|
protected |
Definition at line 209 of file QGoSynchronizedViewManager.h.
|
protected |
Definition at line 211 of file QGoSynchronizedViewManager.h.
|
protected |
Definition at line 212 of file QGoSynchronizedViewManager.h.