anatomist  5.1.2
3D neuroimaging data viewer
Fusion2DWindow Class Reference

Fusion2D control. More...

#include <anatomist/mobject/wFusion2D.h>

Inheritance diagram for Fusion2DWindow:
Collaboration diagram for Fusion2DWindow:

Public Member Functions

 Fusion2DWindow (const std::set< anatomist::AObject * > &, QWidget *parent=0, const char *name=0, Qt::WindowFlags f=Qt::WindowFlags())
 
virtual ~Fusion2DWindow ()
 
const std::set< anatomist::AObject * > & Objects () const
 
virtual void update (const anatomist::Observable *observable, void *arg)
 This method is called whenever the observed object is changed. More...
 
virtual void unregisterObservable (anatomist::Observable *)
 Called when an observable is destroyed, only called by Observable: don't use this function directly. More...
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 

Protected Slots

void moveUpSubObject ()
 
void moveDownSubObject ()
 
void subObjectSelected ()
 
void chooseObject ()
 
void objectsChosen (const std::set< anatomist::AObject * > &)
 

Protected Member Functions

void updateObjects ()
 Updates fusions and redraw them. More...
 
void drawContents ()
 
void updateInterface ()
 
anatomist::Fusion2DcurrentObject () const
 
anatomist::AObjectcurrentSubOIbject () const
 
void selectSubObject (int x)
 
- 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
 

Protected Attributes

std::set< anatomist::AObject * > _obj
 

Detailed Description

Fusion2D control.

Definition at line 46 of file wFusion2D.h.

Constructor & Destructor Documentation

◆ Fusion2DWindow()

Fusion2DWindow::Fusion2DWindow ( const std::set< anatomist::AObject * > &  ,
QWidget *  parent = 0,
const char *  name = 0,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

◆ ~Fusion2DWindow()

virtual Fusion2DWindow::~Fusion2DWindow ( )
virtual

Member Function Documentation

◆ chooseObject

void Fusion2DWindow::chooseObject ( )
protectedslot

◆ currentObject()

anatomist::Fusion2D* Fusion2DWindow::currentObject ( ) const
protected

◆ currentSubOIbject()

anatomist::AObject* Fusion2DWindow::currentSubOIbject ( ) const
protected

◆ drawContents()

void Fusion2DWindow::drawContents ( )
protected

◆ moveDownSubObject

void Fusion2DWindow::moveDownSubObject ( )
protectedslot

◆ moveUpSubObject

void Fusion2DWindow::moveUpSubObject ( )
protectedslot

◆ Objects()

const std::set<anatomist::AObject *>& Fusion2DWindow::Objects ( ) const
inline

Definition at line 55 of file wFusion2D.h.

References _obj.

◆ objectsChosen

void Fusion2DWindow::objectsChosen ( const std::set< anatomist::AObject * > &  )
protectedslot

◆ selectSubObject()

void Fusion2DWindow::selectSubObject ( int  x)
protected

References slots.

◆ subObjectSelected

void Fusion2DWindow::subObjectSelected ( )
protectedslot

◆ unregisterObservable()

virtual void Fusion2DWindow::unregisterObservable ( anatomist::Observable )
virtual

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

Reimplemented from anatomist::Observer.

◆ update()

virtual void Fusion2DWindow::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.

◆ updateInterface()

void Fusion2DWindow::updateInterface ( )
protected

◆ updateObjects()

void Fusion2DWindow::updateObjects ( )
protected

Updates fusions and redraw them.

Member Data Documentation

◆ _obj

std::set<anatomist::AObject *> Fusion2DWindow::_obj
protected

Definition at line 60 of file wFusion2D.h.

Referenced by Objects().


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