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

#include <anatomist/module/surfpainttools.h>

Inheritance diagram for anatomist::SurfpaintTools:
Collaboration diagram for anatomist::SurfpaintTools:

Public Slots

void colorPicker ()
 
void magicSelection ()
 
void path ()
 
void shortestPath ()
 
void sulciPath ()
 
void gyriPath ()
 
void brush ()
 
void magicBrush ()
 
void validateEdit ()
 
void distance ()
 
void clearPath ()
 
void clearRegion ()
 
void clearHoles ()
 
void clearAll ()
 
void erase ()
 
void save ()
 
void undo ()
 undo the last texture modification More...
 
void redo ()
 redo the last texture modification More...
 
void updateConstraintList ()
 
void loadConstraintsList (std::vector< std::string > clist)
 
void changeToleranceSpinBox (int v)
 
void changeConstraintPathSpinBox (int v)
 
void changeMinValueSpinBox (double v)
 
void changeMaxValueSpinBox (double v)
 

Public Member Functions

 SurfpaintTools ()
 
virtual ~SurfpaintTools ()
 
bool initSurfPaintModule (AWindow3D *w3)
 
void addToolBarControls (AWindow3D *w3)
 
void removeToolBarControls (AWindow3D *w3)
 
void addToolBarInfosTexture (AWindow3D *w3)
 
void removeToolBarInfosTexture (AWindow3D *w3)
 
AObjectworkingObject () const
 
void setPolygon (int p)
 
void setMaxPoly (int max)
 
void setVertex (int v)
 
void setMaxVertex (int max)
 
void setMinMaxTexture (float min, float max)
 
float getTextureValueFloat () const
 
void setTextureValueFloat (double v)
 
void updateTextureValue (int indexVertex, float value)
 
void updateTexture (std::vector< float > values)
 
void restoreTextureValue (int indexVertex)
 
void floodFillStart (int indexVertex)
 
void floodFillStop ()
 
void fastFillMove (int indexVertex, float newTextureValue, float oldTextureValue)
 
bool magicBrushStarted () const
 
void fillHolesOnPath ()
 
void closeBrushPath ()
 
std::string getPathType ()
 
void setClosePath (bool c)
 
bool pathIsClosed ()
 
aims::GeodesicPath * getMeshStructSP ()
 
aims::GeodesicPath * getMeshStructSulciP ()
 
aims::GeodesicPath * getMeshStructGyriP ()
 
void addGeodesicPath (int indexNearestVertex, Point3df positionNearestVertex)
 
void undoGeodesicPath ()
 
void redoGeodesicPath ()
 
void undoHolesPaths ()
 
void redoHolesPaths ()
 
void undoSelectFill ()
 
void redoSelectFill ()
 
void computeDistanceMap (int indexNearestVertex)
 
void changeControl (int control)
 
int getActiveControl ()
 
AWindow3DgetWindow3D ()
 
void newEditOperation ()
 start a new buffer to store texture modifications. More...
 
void undoTextureOperation ()
 
void redoTextureOperation ()
 
bool isValid () const
 

Detailed Description

Definition at line 63 of file surfpainttools.h.

Constructor & Destructor Documentation

◆ SurfpaintTools()

anatomist::SurfpaintTools::SurfpaintTools ( )

◆ ~SurfpaintTools()

virtual anatomist::SurfpaintTools::~SurfpaintTools ( )
virtual

Member Function Documentation

◆ addGeodesicPath()

void anatomist::SurfpaintTools::addGeodesicPath ( int  indexNearestVertex,
Point3df  positionNearestVertex 
)

◆ addToolBarControls()

void anatomist::SurfpaintTools::addToolBarControls ( AWindow3D w3)

◆ addToolBarInfosTexture()

void anatomist::SurfpaintTools::addToolBarInfosTexture ( AWindow3D w3)

◆ brush

void anatomist::SurfpaintTools::brush ( )
slot

◆ changeConstraintPathSpinBox

void anatomist::SurfpaintTools::changeConstraintPathSpinBox ( int  v)
slot

◆ changeControl()

void anatomist::SurfpaintTools::changeControl ( int  control)
inline

Definition at line 125 of file surfpainttools.h.

◆ changeMaxValueSpinBox

void anatomist::SurfpaintTools::changeMaxValueSpinBox ( double  v)
slot

◆ changeMinValueSpinBox

void anatomist::SurfpaintTools::changeMinValueSpinBox ( double  v)
slot

◆ changeToleranceSpinBox

void anatomist::SurfpaintTools::changeToleranceSpinBox ( int  v)
slot

◆ clearAll

void anatomist::SurfpaintTools::clearAll ( )
slot

◆ clearHoles

void anatomist::SurfpaintTools::clearHoles ( )
slot

◆ clearPath

void anatomist::SurfpaintTools::clearPath ( )
slot

◆ clearRegion

void anatomist::SurfpaintTools::clearRegion ( )
slot

◆ closeBrushPath()

void anatomist::SurfpaintTools::closeBrushPath ( )

◆ colorPicker

void anatomist::SurfpaintTools::colorPicker ( )
slot

◆ computeDistanceMap()

void anatomist::SurfpaintTools::computeDistanceMap ( int  indexNearestVertex)

◆ distance

void anatomist::SurfpaintTools::distance ( )
slot

◆ erase

void anatomist::SurfpaintTools::erase ( )
slot

◆ fastFillMove()

void anatomist::SurfpaintTools::fastFillMove ( int  indexVertex,
float  newTextureValue,
float  oldTextureValue 
)

◆ fillHolesOnPath()

void anatomist::SurfpaintTools::fillHolesOnPath ( )

◆ floodFillStart()

void anatomist::SurfpaintTools::floodFillStart ( int  indexVertex)

◆ floodFillStop()

void anatomist::SurfpaintTools::floodFillStop ( )

◆ getActiveControl()

int anatomist::SurfpaintTools::getActiveControl ( )
inline

Definition at line 126 of file surfpainttools.h.

◆ getMeshStructGyriP()

aims::GeodesicPath* anatomist::SurfpaintTools::getMeshStructGyriP ( )
inline

Definition at line 112 of file surfpainttools.h.

◆ getMeshStructSP()

aims::GeodesicPath* anatomist::SurfpaintTools::getMeshStructSP ( )
inline

Definition at line 110 of file surfpainttools.h.

◆ getMeshStructSulciP()

aims::GeodesicPath* anatomist::SurfpaintTools::getMeshStructSulciP ( )
inline

Definition at line 111 of file surfpainttools.h.

◆ getPathType()

std::string anatomist::SurfpaintTools::getPathType ( )
inline

Definition at line 105 of file surfpainttools.h.

◆ getTextureValueFloat()

float anatomist::SurfpaintTools::getTextureValueFloat ( ) const
inline

Definition at line 86 of file surfpainttools.h.

◆ getWindow3D()

AWindow3D* anatomist::SurfpaintTools::getWindow3D ( )
inline

Definition at line 127 of file surfpainttools.h.

◆ gyriPath

void anatomist::SurfpaintTools::gyriPath ( )
slot

◆ initSurfPaintModule()

bool anatomist::SurfpaintTools::initSurfPaintModule ( AWindow3D w3)

◆ isValid()

bool anatomist::SurfpaintTools::isValid ( ) const

References slots.

◆ loadConstraintsList

void anatomist::SurfpaintTools::loadConstraintsList ( std::vector< std::string >  clist)
slot

◆ magicBrush

void anatomist::SurfpaintTools::magicBrush ( )
slot

◆ magicBrushStarted()

bool anatomist::SurfpaintTools::magicBrushStarted ( ) const
inline

Definition at line 97 of file surfpainttools.h.

◆ magicSelection

void anatomist::SurfpaintTools::magicSelection ( )
slot

◆ newEditOperation()

void anatomist::SurfpaintTools::newEditOperation ( )

start a new buffer to store texture modifications.

This is called when starting a new brush stroke (button press) etc, and should always be ended with endEditOperation().

◆ path

void anatomist::SurfpaintTools::path ( )
slot

◆ pathIsClosed()

bool anatomist::SurfpaintTools::pathIsClosed ( )
inline

Definition at line 108 of file surfpainttools.h.

◆ redo

void anatomist::SurfpaintTools::redo ( )
slot

redo the last texture modification

◆ redoGeodesicPath()

void anatomist::SurfpaintTools::redoGeodesicPath ( )

◆ redoHolesPaths()

void anatomist::SurfpaintTools::redoHolesPaths ( )

◆ redoSelectFill()

void anatomist::SurfpaintTools::redoSelectFill ( )

◆ redoTextureOperation()

void anatomist::SurfpaintTools::redoTextureOperation ( )

◆ removeToolBarControls()

void anatomist::SurfpaintTools::removeToolBarControls ( AWindow3D w3)

◆ removeToolBarInfosTexture()

void anatomist::SurfpaintTools::removeToolBarInfosTexture ( AWindow3D w3)

◆ restoreTextureValue()

void anatomist::SurfpaintTools::restoreTextureValue ( int  indexVertex)

◆ save

void anatomist::SurfpaintTools::save ( )
slot

◆ setClosePath()

void anatomist::SurfpaintTools::setClosePath ( bool  c)
inline

Definition at line 107 of file surfpainttools.h.

◆ setMaxPoly()

void anatomist::SurfpaintTools::setMaxPoly ( int  max)
inline

Definition at line 80 of file surfpainttools.h.

References max().

◆ setMaxVertex()

void anatomist::SurfpaintTools::setMaxVertex ( int  max)
inline

Definition at line 82 of file surfpainttools.h.

References max().

◆ setMinMaxTexture()

void anatomist::SurfpaintTools::setMinMaxTexture ( float  min,
float  max 
)
inline

Definition at line 84 of file surfpainttools.h.

References max(), and min().

◆ setPolygon()

void anatomist::SurfpaintTools::setPolygon ( int  p)
inline

Definition at line 79 of file surfpainttools.h.

◆ setTextureValueFloat()

void anatomist::SurfpaintTools::setTextureValueFloat ( double  v)
inline

Definition at line 88 of file surfpainttools.h.

◆ setVertex()

void anatomist::SurfpaintTools::setVertex ( int  v)
inline

Definition at line 81 of file surfpainttools.h.

◆ shortestPath

void anatomist::SurfpaintTools::shortestPath ( )
slot

◆ sulciPath

void anatomist::SurfpaintTools::sulciPath ( )
slot

◆ undo

void anatomist::SurfpaintTools::undo ( )
slot

undo the last texture modification

◆ undoGeodesicPath()

void anatomist::SurfpaintTools::undoGeodesicPath ( )

◆ undoHolesPaths()

void anatomist::SurfpaintTools::undoHolesPaths ( )

◆ undoSelectFill()

void anatomist::SurfpaintTools::undoSelectFill ( )

◆ undoTextureOperation()

void anatomist::SurfpaintTools::undoTextureOperation ( )

◆ updateConstraintList

void anatomist::SurfpaintTools::updateConstraintList ( )
slot

◆ updateTexture()

void anatomist::SurfpaintTools::updateTexture ( std::vector< float >  values)

◆ updateTextureValue()

void anatomist::SurfpaintTools::updateTextureValue ( int  indexVertex,
float  value 
)

◆ validateEdit

void anatomist::SurfpaintTools::validateEdit ( )
slot

◆ workingObject()

AObject* anatomist::SurfpaintTools::workingObject ( ) const
inline

Definition at line 77 of file surfpainttools.h.


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