anatomist  5.1.2
3D neuroimaging data viewer
ErpWraper Class Reference

Graphic loader with appropriate sliders to load any .erp cell / observation in an ERP directory into a ATexture object. More...

#include <anatomist/erpio/erpWraper.h>

Inheritance diagram for ErpWraper:
Collaboration diagram for ErpWraper:

Public Member Functions

 ErpWraper (anatomist::ATexture *obj, const std::string &dirname, QWidget *parent=0)
 
virtual ~ErpWraper ()
 
virtual void update (const anatomist::Observable *, void *arg)
 This method is called whenever the observed object is changed. More...
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 

Static Public Member Functions

static bool initTexOptions ()
 
static anatomist::ObjectMenutextureMenus (const anatomist::AObject *objtype, anatomist::ObjectMenu *menu)
 
static void openWraper (const std::set< anatomist::AObject * > &obj)
 

Protected Slots

virtual void cellSliderChanged (int)
 
virtual void obsSliderChanged (int)
 

Protected Member Functions

virtual void scanDir ()
 
virtual void fillEdits ()
 
virtual void loadErp ()
 
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
 

Protected Attributes

std::string _dirname
 
anatomist::ATexture_texture
 
anatomist::ErpWraper_data * _data
 

Detailed Description

Graphic loader with appropriate sliders to load any .erp cell / observation in an ERP directory into a ATexture object.

Definition at line 57 of file erpWraper.h.

Constructor & Destructor Documentation

◆ ErpWraper()

ErpWraper::ErpWraper ( anatomist::ATexture obj,
const std::string &  dirname,
QWidget *  parent = 0 
)

◆ ~ErpWraper()

virtual ErpWraper::~ErpWraper ( )
virtual

Member Function Documentation

◆ cellSliderChanged

virtual void ErpWraper::cellSliderChanged ( int  )
protectedvirtualslot

◆ fillEdits()

virtual void ErpWraper::fillEdits ( )
protectedvirtual

◆ initTexOptions()

static bool ErpWraper::initTexOptions ( )
static

◆ loadErp()

virtual void ErpWraper::loadErp ( )
protectedvirtual

◆ obsSliderChanged

virtual void ErpWraper::obsSliderChanged ( int  )
protectedvirtualslot

◆ openWraper()

static void ErpWraper::openWraper ( const std::set< anatomist::AObject * > &  obj)
static

◆ scanDir()

virtual void ErpWraper::scanDir ( )
protectedvirtual

◆ textureMenus()

static anatomist::ObjectMenu* ErpWraper::textureMenus ( const anatomist::AObject objtype,
anatomist::ObjectMenu menu 
)
static

◆ unregisterObservable()

virtual void ErpWraper::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()

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

References slots.

Member Data Documentation

◆ _data

anatomist::ErpWraper_data* ErpWraper::_data
protected

Definition at line 85 of file erpWraper.h.

◆ _dirname

std::string ErpWraper::_dirname
protected

Definition at line 83 of file erpWraper.h.

◆ _texture

anatomist::ATexture* ErpWraper::_texture
protected

Definition at line 84 of file erpWraper.h.


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