anatomist  5.0.5
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 ( )

Referenced by setNbOfBins().

◆ deactivate()

void RoiHistoPlot::deactivate ( )

Referenced by setNbOfBins().

◆ highChanged

void RoiHistoPlot::highChanged ( float  high)
slot

Referenced by setNbOfBins().

◆ ignoreUnderLowChicked

void RoiHistoPlot::ignoreUnderLowChicked ( int  )
slot

Referenced by setNbOfBins().

◆ lowChanged

void RoiHistoPlot::lowChanged ( float  low)
slot

Referenced by setNbOfBins().

◆ nbOfBins()

int RoiHistoPlot::nbOfBins ( ) const
inline

Definition at line 51 of file histoplot.h.

Referenced by setNbOfBins().

◆ nbOfBinsChanged

void RoiHistoPlot::nbOfBinsChanged ( int  )
slot

Referenced by setNbOfBins().

◆ printHistos()

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

Referenced by setNbOfBins().

◆ saveHistos

void RoiHistoPlot::saveHistos ( )
slot

Referenced by setNbOfBins().

◆ setNbOfBins()

◆ showGraphHisto

void RoiHistoPlot::showGraphHisto ( )
slot

Referenced by setNbOfBins().

◆ showHistoChange

void RoiHistoPlot::showHistoChange ( int  )
slot

Referenced by setNbOfBins().

◆ showImageHisto

void RoiHistoPlot::showImageHisto ( )
slot

Referenced by setNbOfBins().

◆ 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.

Referenced by setNbOfBins().


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