![]() |
anatomist
5.1.2
3D neuroimaging data viewer
|
Window displaying referentials and transformations between them. More...
#include <anatomist/reference/wReferential.h>
Public Member Functions | |
ReferentialWindow (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=Qt::WindowFlags()) | |
virtual | ~ReferentialWindow () |
void | refresh (bool partial=false) |
updates contents (new referentials or transformations...) More... | |
anatomist::Referential * | refAt (const QPoint &pos, QPoint &newpos) |
anatomist::Transformation * | transfAt (const QPoint &pos) |
std::vector< anatomist::Transformation * > | transformsAt (const QPoint &pos) |
void | popupRefMenu (const QPoint &pos, anatomist::Referential *ref) |
void | popupTransfMenu (const QPoint &pos, const std::vector< anatomist::Transformation * > &trans) |
void | addTransformationGui (anatomist::Referential *source, anatomist::Referential *dest, bool identity=false, bool merge=false) |
Static Public Member Functions | |
static QString | referentialToolTipText (anatomist::Referential *ref, std::list< std::string > &temp_filenames) |
static QString | transformationToolTipText (anatomist::Transformation *tr, std::list< std::string > &temp_filenames) |
static void | unlinkFiles (const std::list< std::string > &temp_filenames) |
Protected Slots | |
void | deleteReferential () |
void | newReferential () |
void | loadReferential () |
void | loadNewTransformation () |
void | loadTransformationGraph () |
void | saveTransformationGraph () |
void | clearUnusedReferentials () |
void | splitReferential () |
void | seeObjectsInReferential () |
void | set3DView () |
void | view3dDeleted () |
void | refreshNow () |
void | mergeIdenticalReferentials () |
Protected Member Functions | |
void | openSelectBox () |
opens the file selection dialog to choose a transformation More... | |
void | loadTransformation (const std::string &filename) |
loads a new transformation, should be in a separate IO class... More... | |
void | saveTransformation (const std::string &filename) |
void | loadTransformationGraph (const std::string &filename) |
void | saveTransformationGraph (const std::string &filename) |
virtual void | closeEvent (QCloseEvent *) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | mousePressEvent (QMouseEvent *ev) |
virtual void | mouseReleaseEvent (QMouseEvent *ev) |
virtual void | mouseMoveEvent (QMouseEvent *ev) |
void | popupRefMenu (const QPoint &pos) |
void | popupTransfMenu (const QPoint &pos) |
void | popupBackgroundMenu (const QPoint &pos) |
void | deleteTransformation (anatomist::Transformation *) |
void | invertTransformation (anatomist::Transformation *) |
void | reloadTransformation (anatomist::Transformation *) |
void | saveTransformation (anatomist::Transformation *) |
void | mergeReferentials (anatomist::Transformation *) |
virtual bool | event (QEvent *) |
Friends | |
class | ReferentialWindow_TransCallback |
Window displaying referentials and transformations between them.
This interface allows to load new transformations
Definition at line 55 of file wReferential.h.
ReferentialWindow::ReferentialWindow | ( | QWidget * | parent = 0 , |
const char * | name = 0 , |
||
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
|
virtual |
void ReferentialWindow::addTransformationGui | ( | anatomist::Referential * | source, |
anatomist::Referential * | dest, | ||
bool | identity = false , |
||
bool | merge = false |
||
) |
|
protectedslot |
|
protectedvirtual |
|
protectedslot |
|
protected |
|
protectedvirtual |
References slots.
|
protected |
|
protectedslot |
|
protectedslot |
|
protected |
loads a new transformation, should be in a separate IO class...
|
protectedslot |
|
protected |
|
protectedslot |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedslot |
|
protected |
opens the file selection dialog to choose a transformation
|
protected |
|
protected |
void ReferentialWindow::popupRefMenu | ( | const QPoint & | pos, |
anatomist::Referential * | ref | ||
) |
|
protected |
void ReferentialWindow::popupTransfMenu | ( | const QPoint & | pos, |
const std::vector< anatomist::Transformation * > & | trans | ||
) |
anatomist::Referential* ReferentialWindow::refAt | ( | const QPoint & | pos, |
QPoint & | newpos | ||
) |
|
static |
void ReferentialWindow::refresh | ( | bool | partial = false | ) |
updates contents (new referentials or transformations...)
|
protectedslot |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
protectedslot |
|
protected |
|
protectedslot |
|
protectedslot |
|
protectedslot |
anatomist::Transformation* ReferentialWindow::transfAt | ( | const QPoint & | pos | ) |
|
static |
std::vector<anatomist::Transformation*> ReferentialWindow::transformsAt | ( | const QPoint & | pos | ) |
|
static |
|
protectedslot |
|
friend |
Definition at line 126 of file wReferential.h.