SiGraph: sulcal graphs


sigraph::SurfaceBasedFunctionalSketchFinder Class Reference

#include <si/functionalsketch/surfacebasedfunctionalsketchfinder.h>

Inheritance diagram for sigraph::SurfaceBasedFunctionalSketchFinder:
Collaboration diagram for sigraph::SurfaceBasedFunctionalSketchFinder:

Public Member Functions

 SurfaceBasedFunctionalSketchFinder (MGraph &mg)
 
virtual ~SurfaceBasedFunctionalSketchFinder ()
 
virtual carto::AttributedObjectselectModel (const Clique *cl)
 Choisit le noeud modèle dans le MGraph en fonction de la clique.
 
virtual void initCliques (CGraph &data, bool verbose=true, bool withCache=false, bool translateLabels=true, bool checkLabels=true, const aims::SelectionSet *sel=0)
 Initialize cliques of data graph using the current model.
 
- Public Member Functions inherited from sigraph::ModelFinder
virtual ~ModelFinder ()
 
const MGraphmGraph () const
 
virtual double potential (const Clique *cl)
 Donne le potentiel d'une clique.
 
virtual double potential (const Clique *cl, std::map< Vertex *, std::string > &changes)
 Donne le potentiel d'une clique, après une transformation de labels de noeuds, en ne le recalculant que si les labels ayant changé changent effectivement le potentiel.
 
virtual double update (const Clique *cl)
 Fait un update() sur le modèle sous-jacent.
 
virtual double update (const Clique *cl, std::map< Vertex *, std::string > &changes)
 Fait un update() sur le modèle sous-jacent.
 
virtual bool isAdaptive () const
 peut apprendre ?
 
virtual void clear ()
 nettoie les variables & caches éventuels
 
virtual double printDescription (Clique *cl, bool naming=false)
 Calcule le potentiel et garde le(s) vecteur(s) de description de la clique.
 

Additional Inherited Members

- Protected Member Functions inherited from sigraph::ModelFinder
 ModelFinder (MGraph &rg)
 
- Protected Attributes inherited from sigraph::ModelFinder
MGraph_mgraph
 

Detailed Description

Definition at line 30 of file surfacebasedfunctionalsketchfinder.h.

Constructor & Destructor Documentation

◆ SurfaceBasedFunctionalSketchFinder()

sigraph::SurfaceBasedFunctionalSketchFinder::SurfaceBasedFunctionalSketchFinder ( MGraph & mg)

◆ ~SurfaceBasedFunctionalSketchFinder()

virtual sigraph::SurfaceBasedFunctionalSketchFinder::~SurfaceBasedFunctionalSketchFinder ( )
virtual

Member Function Documentation

◆ initCliques()

virtual void sigraph::SurfaceBasedFunctionalSketchFinder::initCliques ( CGraph & data,
bool verbose = true,
bool withCache = false,
bool translateLabels = true,
bool checkLabels = true,
const aims::SelectionSet * sel = 0 )
virtual

Initialize cliques of data graph using the current model.

The default implementation only makes cliques of nodes with the same label, regardless of the model (only useful for morphometry-like applications).

  • If a selection is provided, it is used to translate labels.
  • The translateLabels option is only used if no selection is provided. In this case it decides whether to make a selection "identity" (with no labels translation) or to use the model and a labels hierarchy (
    See also
    LabelsTranslator) to select/group labels. To make it usable, the model has to provide elements with labels so the default implementation doesn't take care of it, it will only be useful for specialized ModelFinders (
    FoldFinder)

Reimplemented from sigraph::ModelFinder.

◆ selectModel()

virtual carto::AttributedObject * sigraph::SurfaceBasedFunctionalSketchFinder::selectModel ( const Clique * cl)
virtual

Choisit le noeud modèle dans le MGraph en fonction de la clique.

Implements sigraph::ModelFinder.


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