#include <anatomist/action/paintaction.h>
|  | 
|  | 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[], carto::VolumeRef< 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 () | 
|  | 
|  | Action () | 
|  | 
| virtual | ~Action () | 
|  | 
| void | setView (View *view) | 
|  | 
| virtual bool | isSingleton () | 
|  | 
| View * | view () | 
|  | 
Definition at line 328 of file paintaction.h.
 
◆ PaintAction()
      
        
          | anatomist::PaintAction::PaintAction | ( |  | ) |  | 
      
 
 
◆ ~PaintAction()
  
  | 
        
          | virtual anatomist::PaintAction::~PaintAction | ( |  | ) |  |  | virtual | 
 
 
◆ actionView()
  
  | 
        
          | virtual QWidget* anatomist::PaintAction::actionView | ( | QWidget * |  | ) |  |  | virtual | 
 
 
◆ addObserver()
  
  | 
        
          | void anatomist::PaintAction::addObserver | ( | Observer * | observer | ) |  |  | inline | 
 
 
◆ 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 | 
 
 
◆ 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()
◆ followingLinkedCursorMode()
  
  | 
        
          | bool anatomist::PaintAction::followingLinkedCursorMode | ( |  | ) |  |  | inline | 
 
 
◆ followingLinkedCursorOff()
      
        
          | void anatomist::PaintAction::followingLinkedCursorOff | ( |  | ) |  | 
      
 
 
◆ followingLinkedCursorOn()
      
        
          | void anatomist::PaintAction::followingLinkedCursorOn | ( |  | ) |  | 
      
 
 
◆ hasChanged()
  
  | 
        
          | bool anatomist::PaintAction::hasChanged | ( |  | ) | const |  | inline | 
 
 
◆ hideCursor()
      
        
          | void anatomist::PaintAction::hideCursor | ( |  | ) |  | 
      
 
 
◆ increaseBrushSize()
      
        
          | void anatomist::PaintAction::increaseBrushSize | ( |  | ) |  | 
      
 
 
◆ lineMode()
  
  | 
        
          | bool anatomist::PaintAction::lineMode | ( |  | ) |  |  | inline | 
 
 
◆ lineOff()
      
        
          | void anatomist::PaintAction::lineOff | ( |  | ) |  | 
      
 
 
◆ lineOn()
      
        
          | void anatomist::PaintAction::lineOn | ( |  | ) |  | 
      
 
 
◆ mmMode()
  
  | 
        
          | bool anatomist::PaintAction::mmMode | ( |  | ) |  |  | inline | 
 
 
◆ moveCursor()
      
        
          | void anatomist::PaintAction::moveCursor | ( | int | x, | 
        
          |  |  | int | y, | 
        
          |  |  | int | globalX, | 
        
          |  |  | int | globalY | 
        
          |  | ) |  |  | 
      
 
 
◆ name()
  
  | 
        
          | virtual std::string anatomist::PaintAction::name | ( |  | ) | const |  | virtual | 
 
 
◆ notifyObservers()
  
  | 
        
          | void anatomist::PaintAction::notifyObservers | ( | void * | arg = 0 | ) |  |  | inline | 
 
 
◆ notifyUnregisterObservers()
  
  | 
        
          | void anatomist::PaintAction::notifyUnregisterObservers | ( |  | ) |  |  | inline | 
 
 
◆ 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()
◆ redo()
      
        
          | void anatomist::PaintAction::redo | ( |  | ) |  | 
      
 
 
◆ redoable()
  
  | 
        
          | bool anatomist::PaintAction::redoable | ( |  | ) |  |  | inline | 
 
 
◆ replaceMode()
  
  | 
        
          | bool anatomist::PaintAction::replaceMode | ( |  | ) |  |  | inline | 
 
 
◆ replaceOff()
      
        
          | void anatomist::PaintAction::replaceOff | ( |  | ) |  | 
      
 
 
◆ replaceOn()
      
        
          | void anatomist::PaintAction::replaceOn | ( |  | ) |  | 
      
 
 
◆ setChanged()
  
  | 
        
          | void anatomist::PaintAction::setChanged | ( |  | ) |  |  | inline | 
 
 
◆ 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 | 
 
 
The documentation for this class was generated from the following file: