anatomist  5.0.5
3D neuroimaging data viewer
anatomist::PaintAction Class Reference

#include <anatomist/action/paintaction.h>

Inheritance diagram for anatomist::PaintAction:
Collaboration diagram for anatomist::PaintAction:

Public Member Functions

 PaintAction ()
 
virtual ~PaintAction ()
 
virtual std::string name () const
 
void increaseBrushSize ()
 
void decreaseBrushSize ()
 
void setSize (float i)
 
float brushSize ()
 
enum PaintStrategy::PaintType paintType ()
 
void changeRegionTransparency (float alpha)
 
void lineOn ()
 
void lineOff ()
 
bool lineMode ()
 
void replaceOn ()
 
void replaceOff ()
 
bool replaceMode ()
 
void followingLinkedCursorOn ()
 
void followingLinkedCursorOff ()
 
bool followingLinkedCursorMode ()
 
void brushToSquare ()
 
void brushToDisk ()
 
void brushToBall ()
 
void brushToPoint ()
 
void brushToMm ()
 
bool mmMode ()
 
void brushToVoxel ()
 
void paintStart (int x, int y, int globalX, int globalY)
 
void paint (int x, int y, int globalX, int globalY)
 
void eraseStart (int x, int y, int globalX, int globalY)
 
void erase (int x, int y, int globalX, int globalY)
 
void clearRegion ()
 
void fill (int x, int y, int globalX, int globalY)
 
void fillRegion2D (const Point3d &seed, const Point3d &bmin, const Point3d &bmax, Point3d neighbour[], AimsData< AObject *> &volumeOfLabels, AObject *final, std::list< std::pair< Point3d, ChangesItem > > &changes)
 
void validateChange (int x=0, int y=0, int globalX=0, int globalY=0)
 
void undo ()
 
bool undoable ()
 
void redo ()
 
bool redoable ()
 
void moveCursor (int x, int y, int globalX, int globalY)
 
void updateCursor ()
 
void hideCursor ()
 
void change (bool forward)
 
virtual QWidget * actionView (QWidget *)
 
virtual bool viewableAction () const
 
void addObserver (Observer *observer)
 
void deleteObserver (Observer *observer)
 
void notifyObservers (void *arg=0)
 
void notifyUnregisterObservers ()
 
bool hasChanged () const
 
void setChanged ()
 
void changeCursor (bool cross)
 
void copyPreviousSliceWholeSession ()
 
void copyPreviousSliceCurrentRegion ()
 
void copyNextSliceWholeSession ()
 
void copyNextSliceCurrentRegion ()
 
- Public Member Functions inherited from anatomist::Action
 Action ()
 
virtual ~Action ()
 
void setView (View *view)
 
virtual bool isSingleton ()
 
Viewview ()
 

Static Public Member Functions

static Actioncreator ()
 

Detailed Description

Definition at line 345 of file paintaction.h.

Constructor & Destructor Documentation

◆ PaintAction()

anatomist::PaintAction::PaintAction ( )

◆ ~PaintAction()

virtual anatomist::PaintAction::~PaintAction ( )
virtual

Member Function Documentation

◆ actionView()

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

Reimplemented from anatomist::Action.

◆ addObserver()

void anatomist::PaintAction::addObserver ( Observer observer)
inline

Definition at line 417 of file paintaction.h.

◆ brushSize()

float anatomist::PaintAction::brushSize ( )

◆ brushToBall()

void anatomist::PaintAction::brushToBall ( )

◆ brushToDisk()

void anatomist::PaintAction::brushToDisk ( )

◆ brushToMm()

void anatomist::PaintAction::brushToMm ( )

◆ brushToPoint()

void anatomist::PaintAction::brushToPoint ( )

◆ brushToSquare()

void anatomist::PaintAction::brushToSquare ( )

◆ brushToVoxel()

void anatomist::PaintAction::brushToVoxel ( )

◆ change()

void anatomist::PaintAction::change ( bool  forward)

◆ changeCursor()

void anatomist::PaintAction::changeCursor ( bool  cross)

◆ changeRegionTransparency()

void anatomist::PaintAction::changeRegionTransparency ( float  alpha)

◆ clearRegion()

void anatomist::PaintAction::clearRegion ( )

◆ copyNextSliceCurrentRegion()

void anatomist::PaintAction::copyNextSliceCurrentRegion ( )

◆ copyNextSliceWholeSession()

void anatomist::PaintAction::copyNextSliceWholeSession ( )

◆ copyPreviousSliceCurrentRegion()

void anatomist::PaintAction::copyPreviousSliceCurrentRegion ( )

◆ copyPreviousSliceWholeSession()

void anatomist::PaintAction::copyPreviousSliceWholeSession ( )

◆ creator()

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

◆ decreaseBrushSize()

void anatomist::PaintAction::decreaseBrushSize ( )

◆ deleteObserver()

void anatomist::PaintAction::deleteObserver ( Observer observer)
inline

Definition at line 418 of file paintaction.h.

◆ erase()

void anatomist::PaintAction::erase ( int  x,
int  y,
int  globalX,
int  globalY 
)

◆ eraseStart()

void anatomist::PaintAction::eraseStart ( int  x,
int  y,
int  globalX,
int  globalY 
)

◆ fill()

void anatomist::PaintAction::fill ( int  x,
int  y,
int  globalX,
int  globalY 
)

◆ fillRegion2D()

void anatomist::PaintAction::fillRegion2D ( const Point3d seed,
const Point3d bmin,
const Point3d bmax,
Point3d  neighbour[],
AimsData< AObject *> &  volumeOfLabels,
AObject final,
std::list< std::pair< Point3d, ChangesItem > > &  changes 
)

◆ followingLinkedCursorMode()

bool anatomist::PaintAction::followingLinkedCursorMode ( )
inline

Definition at line 371 of file paintaction.h.

◆ followingLinkedCursorOff()

void anatomist::PaintAction::followingLinkedCursorOff ( )

◆ followingLinkedCursorOn()

void anatomist::PaintAction::followingLinkedCursorOn ( )

◆ hasChanged()

bool anatomist::PaintAction::hasChanged ( ) const
inline

Definition at line 421 of file paintaction.h.

◆ hideCursor()

void anatomist::PaintAction::hideCursor ( )

◆ increaseBrushSize()

void anatomist::PaintAction::increaseBrushSize ( )

◆ lineMode()

bool anatomist::PaintAction::lineMode ( )
inline

Definition at line 363 of file paintaction.h.

◆ lineOff()

void anatomist::PaintAction::lineOff ( )

◆ lineOn()

void anatomist::PaintAction::lineOn ( )

◆ mmMode()

bool anatomist::PaintAction::mmMode ( )
inline

Definition at line 379 of file paintaction.h.

◆ moveCursor()

void anatomist::PaintAction::moveCursor ( int  x,
int  y,
int  globalX,
int  globalY 
)

◆ name()

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

Implements anatomist::Action.

◆ notifyObservers()

void anatomist::PaintAction::notifyObservers ( void *  arg = 0)
inline

Definition at line 419 of file paintaction.h.

◆ notifyUnregisterObservers()

void anatomist::PaintAction::notifyUnregisterObservers ( )
inline

Definition at line 420 of file paintaction.h.

◆ paint()

void anatomist::PaintAction::paint ( int  x,
int  y,
int  globalX,
int  globalY 
)

◆ paintStart()

void anatomist::PaintAction::paintStart ( int  x,
int  y,
int  globalX,
int  globalY 
)

◆ paintType()

enum PaintStrategy::PaintType anatomist::PaintAction::paintType ( )

◆ redo()

void anatomist::PaintAction::redo ( )

◆ redoable()

bool anatomist::PaintAction::redoable ( )
inline

◆ replaceMode()

bool anatomist::PaintAction::replaceMode ( )
inline

Definition at line 367 of file paintaction.h.

◆ replaceOff()

void anatomist::PaintAction::replaceOff ( )

◆ replaceOn()

void anatomist::PaintAction::replaceOn ( )

◆ setChanged()

void anatomist::PaintAction::setChanged ( )
inline

Definition at line 422 of file paintaction.h.

◆ setSize()

void anatomist::PaintAction::setSize ( float  i)

◆ undo()

void anatomist::PaintAction::undo ( )

◆ undoable()

bool anatomist::PaintAction::undoable ( )
inline

◆ updateCursor()

void anatomist::PaintAction::updateCursor ( )

◆ validateChange()

void anatomist::PaintAction::validateChange ( int  x = 0,
int  y = 0,
int  globalX = 0,
int  globalY = 0 
)

◆ viewableAction()

virtual bool anatomist::PaintAction::viewableAction ( ) const
virtual

Reimplemented from anatomist::Action.


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