34 #ifndef ROI_MORPHOMATH_ACTION_H
35 #define ROI_MORPHOMATH_ACTION_H
52 class RoiMorphoMathActionView_Private ;
68 virtual std::string
name()
const ;
95 float myStructuringElementRadius ;
98 std::list< std::pair< Point3d, ChangesItem> >* changes ) ;
100 std::list< std::pair< Point3d, ChangesItem> >* changes ) ;
126 anatomist::RoiMorphoMathActionView_Private * _private ;
127 bool myChangingFlag ;
128 bool myUpdatingFlag ;
void structuringElementRadiusChanged(int newStructElRadius)
virtual ~RoiMorphoMathActionView()
virtual void update(const anatomist::Observable *, void *)
This method is called whenever the observed object is changed.
RoiMorphoMathActionView(anatomist::RoiMorphoMathAction *action, QWidget *parent)
void distanceModeChanged(int newDistanceMode)
void regionModeChanged(int newRegionMode)
Anatomist graph object: a list that manages destruction of its sub-elements.
This class can be subclassed to represent an object that the programmer wants to have observed.
A class can implement the Observer interface when it wants to be informed of changes in observable ob...
virtual bool viewableAction() const
static Action * creator()
virtual QWidget * actionView(QWidget *)
void setRegionModeToRegion()
void dilation(bool partOfOpening=false)
void setDistanceToVoxel()
virtual ~RoiMorphoMathAction()
void structuringElementRadiusChange(float structuringElementRadius)
void setRegionModeToSession()
float structuringElementRadius()
virtual std::string name() const