anatomist  5.1.2
3D neuroimaging data viewer
ChooseReferentialWindow Class Reference

Window asking for a referential to be assigned to objects and / or windows. More...

#include <anatomist/reference/wChooseReferential.h>

Inheritance diagram for ChooseReferentialWindow:
Collaboration diagram for ChooseReferentialWindow:

Public Slots

void chooseRef (int)
 

Public Member Functions

 ChooseReferentialWindow (const std::set< anatomist::AObject * > &, const char *name, Qt::WindowFlags=Qt::WindowFlags())
 
 ChooseReferentialWindow (const std::set< anatomist::AWindow * > &, const char *name, Qt::WindowFlags=Qt::WindowFlags())
 
 ChooseReferentialWindow (const std::set< anatomist::AWindow * > &, const std::set< anatomist::AObject * > &, const char *name, Qt::WindowFlags=Qt::WindowFlags())
 
virtual ~ChooseReferentialWindow ()
 
void update (const anatomist::Observable *observable, void *arg)
 This method is called whenever the observed object is changed. More...
 
anatomist::ReferentialselectedReferential () const
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 

Protected Member Functions

void drawContents (const char *name)
 
virtual void unregisterObservable (anatomist::Observable *)
 Called when an observable is destroyed, only called by Observable: don't use this function directly. More...
 
- Protected Member Functions inherited from anatomist::Observer
virtual void cleanupObserver ()
 call this function from inherited classes destructors. More...
 
virtual void registerObservable (Observable *)
 only called by Observable: don't use this function directly More...
 
const std::set< Observable * > & observed () const
 

Detailed Description

Window asking for a referential to be assigned to objects and / or windows.

Definition at line 54 of file wChooseReferential.h.

Constructor & Destructor Documentation

◆ ChooseReferentialWindow() [1/3]

ChooseReferentialWindow::ChooseReferentialWindow ( const std::set< anatomist::AObject * > &  ,
const char *  name,
Qt::WindowFlags  = Qt::WindowFlags() 
)

◆ ChooseReferentialWindow() [2/3]

ChooseReferentialWindow::ChooseReferentialWindow ( const std::set< anatomist::AWindow * > &  ,
const char *  name,
Qt::WindowFlags  = Qt::WindowFlags() 
)

◆ ChooseReferentialWindow() [3/3]

ChooseReferentialWindow::ChooseReferentialWindow ( const std::set< anatomist::AWindow * > &  ,
const std::set< anatomist::AObject * > &  ,
const char *  name,
Qt::WindowFlags  = Qt::WindowFlags() 
)

◆ ~ChooseReferentialWindow()

virtual ChooseReferentialWindow::~ChooseReferentialWindow ( )
virtual

Member Function Documentation

◆ chooseRef

void ChooseReferentialWindow::chooseRef ( int  )
slot

◆ drawContents()

void ChooseReferentialWindow::drawContents ( const char *  name)
protected

◆ selectedReferential()

anatomist::Referential* ChooseReferentialWindow::selectedReferential ( ) const

References slots.

◆ unregisterObservable()

virtual void ChooseReferentialWindow::unregisterObservable ( anatomist::Observable )
protectedvirtual

Called when an observable is destroyed, only called by Observable: don't use this function directly.

Reimplemented from anatomist::Observer.

◆ update()

void ChooseReferentialWindow::update ( const anatomist::Observable observable,
void *  arg 
)
virtual

This method is called whenever the observed object is changed.

The programmer calls an observable object's notifyObservers method to have all the object's observers notified of the change.

Parameters
observablethe observable object

Implements anatomist::Observer.


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