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/QGoSynchronizedView3DCallbacks.h>
|
void | addSynchronizedView (QGoSynchronizedView3D *ioSynchronizedView) |
| add a QGoSynchronizedView3D to the vector of synchronized Managers (this method takes care of adding the callback) More...
|
|
| QGoSynchronizedView3DCallbacks (std::vector< QGoSynchronizedView3D * > ioOpenSynchronizedViews, QObject *iParent=0) |
| the constructor do most of the work : add observers & callbacks to QGoSynchronizedViews of the vector More...
|
|
void | removeSynchronizedView (QGoSynchronizedView3D *ioSynchronizedView) |
| remove a QGoSynchronizedView3D from the vector of synchronized Managers (this method takes care of removing the callback) More...
|
|
| ~QGoSynchronizedView3DCallbacks () |
|
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 void | synchronizeCamera (int iCamera, vtkObject *caller, long unsigned int eventId, void *clientData, void *callData) |
|
static void | synchronizeCameras0 (vtkObject *caller, long unsigned int eventId, void *clientData, void *callData) |
| callback function to synchornize cameras (has to be public) More...
|
|
static void | synchronizeCameras1 (vtkObject *caller, long unsigned int eventId, void *clientData, void *callData) |
| callback function to synchornize cameras (has to be public) More...
|
|
static void | synchronizeCameras2 (vtkObject *caller, long unsigned int eventId, void *clientData, void *callData) |
| callback function to synchornize cameras (has to be public) More...
|
|
static void | synchronizeCameras3 (vtkObject *caller, long unsigned int eventId, void *clientData, void *callData) |
| callback function to synchornize cameras (has to be public) More...
|
|
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) |
|
|
void | SetupCallBack () |
| setup the callback command object (client data, called function...etc) More...
|
|
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 52 of file QGoSynchronizedView3DCallbacks.h.
QGoSynchronizedView3DCallbacks::QGoSynchronizedView3DCallbacks |
( |
std::vector< QGoSynchronizedView3D * > |
ioOpenSynchronizedViews, |
|
|
QObject * |
iParent = 0 |
|
) |
| |
the constructor do most of the work : add observers & callbacks to QGoSynchronizedViews of the vector
QT macro for signals and slots. we use signales and slots to synchronize the sliders for choosing slice.
Definition at line 46 of file QGoSynchronizedView3DCallbacks.cxx.
QGoSynchronizedView3DCallbacks::~QGoSynchronizedView3DCallbacks |
( |
| ) |
|
void QGoSynchronizedView3DCallbacks::removeSynchronizedView |
( |
QGoSynchronizedView3D * |
ioSynchronizedView | ) |
|
void QGoSynchronizedView3DCallbacks::SetupCallBack |
( |
| ) |
|
|
private |
void QGoSynchronizedView3DCallbacks::SliceViewXYChanged |
( |
int |
oSlice | ) |
|
|
signal |
void QGoSynchronizedView3DCallbacks::SliceViewXZChanged |
( |
int |
oSlice | ) |
|
|
signal |
void QGoSynchronizedView3DCallbacks::SliceViewYZChanged |
( |
int |
oSlice | ) |
|
|
signal |
void QGoSynchronizedView3DCallbacks::synchronizeCamera |
( |
int |
iCamera, |
|
|
vtkObject * |
caller, |
|
|
long unsigned int |
eventId, |
|
|
void * |
clientData, |
|
|
void * |
callData |
|
) |
| |
|
static |
void QGoSynchronizedView3DCallbacks::synchronizeCameras0 |
( |
vtkObject * |
caller, |
|
|
long unsigned int |
eventId, |
|
|
void * |
clientData, |
|
|
void * |
callData |
|
) |
| |
|
static |
void QGoSynchronizedView3DCallbacks::synchronizeCameras1 |
( |
vtkObject * |
caller, |
|
|
long unsigned int |
eventId, |
|
|
void * |
clientData, |
|
|
void * |
callData |
|
) |
| |
|
static |
void QGoSynchronizedView3DCallbacks::synchronizeCameras2 |
( |
vtkObject * |
caller, |
|
|
long unsigned int |
eventId, |
|
|
void * |
clientData, |
|
|
void * |
callData |
|
) |
| |
|
static |
void QGoSynchronizedView3DCallbacks::synchronizeCameras3 |
( |
vtkObject * |
caller, |
|
|
long unsigned int |
eventId, |
|
|
void * |
clientData, |
|
|
void * |
callData |
|
) |
| |
|
static |
std::vector< vtkCallbackCommand * > QGoSynchronizedView3DCallbacks::m_vtkCallBackCamSync |
|
private |
The documentation for this class was generated from the following files: