anatomist  5.1.2
3D neuroimaging data viewer
RoiHistoPlot Class Reference

#include <anatomist/action/histoplot.h>

Inheritance diagram for RoiHistoPlot:
Collaboration diagram for RoiHistoPlot:

Public Slots

void nbOfBinsChanged (int)
 
void lowChanged (float low)
 
void highChanged (float high)
 
void showGraphHisto ()
 
void saveHistos ()
 
void showImageHisto ()
 
void showHistoChange (int)
 
void ignoreUnderLowChicked (int)
 

Public Member Functions

 RoiHistoPlot (QWidget *parent, int nbOfBins)
 
virtual ~RoiHistoPlot ()
 
int nbOfBins () const
 
void setNbOfBins (int nbOfBins)
 
void printHistos (const std::string &filename)
 
virtual void update (const anatomist::Observable *, void *)
 This method is called whenever the observed object is changed. More...
 
void activate ()
 
void deactivate ()
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 

Additional Inherited Members

- 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...
 
virtual void unregisterObservable (Observable *)
 Called when an observable is destroyed, only called by Observable: don't use this function directly. More...
 
const std::set< Observable * > & observed () const
 

Detailed Description

Definition at line 43 of file histoplot.h.

Constructor & Destructor Documentation

◆ RoiHistoPlot()

RoiHistoPlot::RoiHistoPlot ( QWidget *  parent,
int  nbOfBins 
)

◆ ~RoiHistoPlot()

virtual RoiHistoPlot::~RoiHistoPlot ( )
virtual

Member Function Documentation

◆ activate()

void RoiHistoPlot::activate ( )

◆ deactivate()

void RoiHistoPlot::deactivate ( )

References slots.

◆ highChanged

void RoiHistoPlot::highChanged ( float  high)
slot

◆ ignoreUnderLowChicked

void RoiHistoPlot::ignoreUnderLowChicked ( int  )
slot

◆ lowChanged

void RoiHistoPlot::lowChanged ( float  low)
slot

◆ nbOfBins()

int RoiHistoPlot::nbOfBins ( ) const
inline

Definition at line 51 of file histoplot.h.

Referenced by setNbOfBins().

◆ nbOfBinsChanged

void RoiHistoPlot::nbOfBinsChanged ( int  )
slot

◆ printHistos()

void RoiHistoPlot::printHistos ( const std::string &  filename)

◆ saveHistos

void RoiHistoPlot::saveHistos ( )
slot

◆ setNbOfBins()

void RoiHistoPlot::setNbOfBins ( int  nbOfBins)
inline

Definition at line 52 of file histoplot.h.

References nbOfBins().

◆ showGraphHisto

void RoiHistoPlot::showGraphHisto ( )
slot

◆ showHistoChange

void RoiHistoPlot::showHistoChange ( int  )
slot

◆ showImageHisto

void RoiHistoPlot::showImageHisto ( )
slot

◆ update()

virtual void RoiHistoPlot::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: