anatomist  5.1.2
3D neuroimaging data viewer
anatomist::RoiDynSegmentAction Class Reference

#include <anatomist/action/dynsegmentaction.h>

Inheritance diagram for anatomist::RoiDynSegmentAction:
Collaboration diagram for anatomist::RoiDynSegmentAction:

Public Types

enum  DimensionMode { TWOD , THREED }
 
- Public Types inherited from carto::RCObject
typedef int RefCounterType
 

Public Member Functions

 RoiDynSegmentAction ()
 
virtual ~RoiDynSegmentAction ()
 
virtual void update (const anatomist::Observable *, void *)
 This method is called whenever the observed object is changed. More...
 
virtual std::string name () const
 
virtual QWidget * actionView (QWidget *)
 
virtual bool viewableAction () const
 
int dimensionMode () const
 
int order () const
 
int faithInterval () const
 
int refineMode () const
 
int findNearestMinimum () const
 
float meanValue () const
 
float sigmaValue () const
 
bool displayResults () const
 
void replaceRegion (int x, int y, int, int)
 
void setPointToSegmentByDiscriminatingAnalyse (int x, int y, int, int)
 
void changeOrder (int newOrder)
 
void increaseOrder ()
 
void decreaseOrder ()
 
void changeFaithInterval (int newFaithInterval)
 
void increaseFaithInterval ()
 
void decreaseFaithInterval ()
 
void refineModeOn ()
 
void refineModeOff ()
 
void findNearestMinimumModeOn ()
 
void findNearestMinimumModeOff ()
 
void dimensionModeTo2D ()
 
void dimensionModeTo3D ()
 
- Public Member Functions inherited from anatomist::Action
 Action ()
 
virtual ~Action ()
 
void setView (View *view)
 
virtual bool isSingleton ()
 
Viewview ()
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 
- Public Member Functions inherited from anatomist::Observable
 Observable ()
 Construct an Observable with zero observers. More...
 
virtual ~Observable ()
 does nothing More...
 
void addObserver (Observer *observer)
 Adds an observer to the set of observers for this object. More...
 
void deleteObserver (Observer *observer)
 Deletes an observer from the set of observers of this object. More...
 
void deleteObservers ()
 Clears the observer list so that this object no longer has any observers (doesn't call any observer method - see notifyUnregisterObservers() for this ) More...
 
int countObservers () const
 Returns the number of observers of this object. More...
 
virtual void notifyObservers (void *arg=0)
 If this object has changed, as indicated by the hasChanged method, then notify all of its observers. More...
 
virtual void notifyUnregisterObservers ()
 Notifies observable destruction to all observers and unregisters them. More...
 
bool hasChanged () const
 Tests if this object has changed. More...
 
bool obsHasChanged (int) const
 only valid during an Observer::update() More...
 
bool obsHasChanged (const std::string &) const
 only valid during an Observer::update() More...
 
void setChanged () const
 Indicates that this object has changed. More...
 
- Public Member Functions inherited from carto::SharedObject
 SharedObject ()
 
 SharedObject (const SharedObject &x)
 
virtual ~SharedObject ()
 
SharedObjectoperator= (const SharedObject &)
 
bool testDeletable ()
 
bool tryDelete ()
 
- Public Member Functions inherited from carto::WeakObject
void attachWeakPtr (weak_ptr< T > &) const
 
void detachWeakPtr (weak_ptr< T > &) const
 
void attachWeakPtr (weak_shared_ptr< T > &) const
 
void detachWeakPtr (weak_shared_ptr< T > &) const
 
virtual ~WeakObject ()
 
- Public Member Functions inherited from carto::RCObject
 RCObject ()
 
 RCObject (const RCObject &)
 
RCObjectoperator= (const RCObject &)
 
virtual ~RCObject ()
 

Static Public Member Functions

static Actioncreator ()
 

Protected Member Functions

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 Member Functions inherited from anatomist::Observable
void clearChanged () const
 Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change. More...
 
void obsSetChanged (int, bool=true) const
 int-based change flags (use enums to address them) More...
 
void obsSetChanged (const std::string &, bool=true) const
 string-based change flags More...
 
- Protected Member Functions inherited from carto::SharedObject
void disableRefCount ()
 
- Protected Member Functions inherited from carto::WeakObject
 WeakObject ()
 
 WeakObject (const WeakObject &)
 
WeakObjectoperator= (const WeakObject &)
 

Detailed Description

Definition at line 56 of file dynsegmentaction.h.

Member Enumeration Documentation

◆ DimensionMode

Enumerator
TWOD 
THREED 

Definition at line 58 of file dynsegmentaction.h.

Constructor & Destructor Documentation

◆ RoiDynSegmentAction()

anatomist::RoiDynSegmentAction::RoiDynSegmentAction ( )

◆ ~RoiDynSegmentAction()

virtual anatomist::RoiDynSegmentAction::~RoiDynSegmentAction ( )
virtual

Member Function Documentation

◆ actionView()

virtual QWidget* anatomist::RoiDynSegmentAction::actionView ( QWidget *  )
virtual

Reimplemented from anatomist::Action.

◆ changeFaithInterval()

void anatomist::RoiDynSegmentAction::changeFaithInterval ( int  newFaithInterval)

◆ changeOrder()

void anatomist::RoiDynSegmentAction::changeOrder ( int  newOrder)

Referenced by decreaseOrder(), and increaseOrder().

◆ creator()

static Action* anatomist::RoiDynSegmentAction::creator ( )
static

◆ decreaseFaithInterval()

void anatomist::RoiDynSegmentAction::decreaseFaithInterval ( )
inline

Definition at line 91 of file dynsegmentaction.h.

References changeFaithInterval().

◆ decreaseOrder()

void anatomist::RoiDynSegmentAction::decreaseOrder ( )
inline

Definition at line 87 of file dynsegmentaction.h.

References changeOrder().

◆ dimensionMode()

int anatomist::RoiDynSegmentAction::dimensionMode ( ) const
inline

Definition at line 74 of file dynsegmentaction.h.

◆ dimensionModeTo2D()

void anatomist::RoiDynSegmentAction::dimensionModeTo2D ( )
inline

Definition at line 97 of file dynsegmentaction.h.

References TWOD.

◆ dimensionModeTo3D()

void anatomist::RoiDynSegmentAction::dimensionModeTo3D ( )
inline

Definition at line 102 of file dynsegmentaction.h.

References THREED.

◆ displayResults()

bool anatomist::RoiDynSegmentAction::displayResults ( ) const
inline

Definition at line 81 of file dynsegmentaction.h.

◆ faithInterval()

int anatomist::RoiDynSegmentAction::faithInterval ( ) const
inline

Definition at line 76 of file dynsegmentaction.h.

◆ findNearestMinimum()

int anatomist::RoiDynSegmentAction::findNearestMinimum ( ) const
inline

Definition at line 78 of file dynsegmentaction.h.

◆ findNearestMinimumModeOff()

void anatomist::RoiDynSegmentAction::findNearestMinimumModeOff ( )
inline

Definition at line 96 of file dynsegmentaction.h.

◆ findNearestMinimumModeOn()

void anatomist::RoiDynSegmentAction::findNearestMinimumModeOn ( )
inline

Definition at line 95 of file dynsegmentaction.h.

◆ increaseFaithInterval()

void anatomist::RoiDynSegmentAction::increaseFaithInterval ( )
inline

Definition at line 89 of file dynsegmentaction.h.

References changeFaithInterval().

◆ increaseOrder()

void anatomist::RoiDynSegmentAction::increaseOrder ( )
inline

Definition at line 86 of file dynsegmentaction.h.

References changeOrder().

◆ meanValue()

float anatomist::RoiDynSegmentAction::meanValue ( ) const
inline

Definition at line 79 of file dynsegmentaction.h.

◆ name()

virtual std::string anatomist::RoiDynSegmentAction::name ( ) const
virtual

Implements anatomist::Action.

◆ order()

int anatomist::RoiDynSegmentAction::order ( ) const
inline

Definition at line 75 of file dynsegmentaction.h.

◆ refineMode()

int anatomist::RoiDynSegmentAction::refineMode ( ) const
inline

Definition at line 77 of file dynsegmentaction.h.

◆ refineModeOff()

void anatomist::RoiDynSegmentAction::refineModeOff ( )
inline

Definition at line 94 of file dynsegmentaction.h.

◆ refineModeOn()

void anatomist::RoiDynSegmentAction::refineModeOn ( )
inline

Definition at line 93 of file dynsegmentaction.h.

◆ replaceRegion()

void anatomist::RoiDynSegmentAction::replaceRegion ( int  x,
int  y,
int  ,
int   
)

◆ setPointToSegmentByDiscriminatingAnalyse()

void anatomist::RoiDynSegmentAction::setPointToSegmentByDiscriminatingAnalyse ( int  x,
int  y,
int  ,
int   
)

◆ sigmaValue()

float anatomist::RoiDynSegmentAction::sigmaValue ( ) const
inline

Definition at line 80 of file dynsegmentaction.h.

◆ unregisterObservable()

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

◆ viewableAction()

virtual bool anatomist::RoiDynSegmentAction::viewableAction ( ) const
inlinevirtual

Reimplemented from anatomist::Action.

Definition at line 70 of file dynsegmentaction.h.


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