anatomist  5.1.2
3D neuroimaging data viewer
QTextureWin Class Reference

#include <anatomist/object/texturewin.h>

Inheritance diagram for QTextureWin:
Collaboration diagram for QTextureWin:

Public Member Functions

 QTextureWin (const std::set< anatomist::AObject * > &, QWidget *parent, const char *name=0, Qt::WindowFlags f=Qt::WindowFlags())
 
virtual ~QTextureWin ()
 
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...
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 

Protected Slots

void chooseObject ()
 
void objectsChosen (const std::set< anatomist::AObject * > &)
 
void selectTexture (int)
 

Protected Member Functions

void updateInterface ()
 
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

Definition at line 51 of file texturewin.h.

Constructor & Destructor Documentation

◆ QTextureWin()

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

◆ ~QTextureWin()

virtual QTextureWin::~QTextureWin ( )
virtual

Member Function Documentation

◆ chooseObject

void QTextureWin::chooseObject ( )
protectedslot

◆ objects()

const std::set<anatomist::AObject *>& QTextureWin::objects ( ) const

◆ objectsChosen

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

◆ selectTexture

void QTextureWin::selectTexture ( int  )
protectedslot

◆ unregisterObservable()

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

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

Reimplemented from anatomist::Observer.

References slots.

◆ update()

virtual void QTextureWin::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 QTextureWin::updateInterface ( )
protected

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