SiGraph: sulcal graphs


sigraph::FoldFinder Class Reference

Sélecteur de sillon/edge modèle. More...

#include <si/fold/foldFinder.h>

Inheritance diagram for sigraph::FoldFinder:
Collaboration diagram for sigraph::FoldFinder:

Public Member Functions

 FoldFinder (MGraph &rg)
 
virtual ~FoldFinder ()
 
virtual carto::AttributedObjectselectModel (const Clique *cl)
 Choisit le noeud modèle dans le FRGraph en fonction de la clique.
 
virtual void clear ()
 nettoie les variables & caches éventuels
 
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::AdapFinder
 AdapFinder (MGraph &rg)
 
virtual ~AdapFinder ()
 
virtual bool isAdaptive () const
 Apprends le MGraph à partir d'une clique.
 
- 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 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

Sélecteur de sillon/edge modèle.

Definition at line 25 of file foldFinder.h.

Constructor & Destructor Documentation

◆ FoldFinder()

sigraph::FoldFinder::FoldFinder ( MGraph & rg)

◆ ~FoldFinder()

virtual sigraph::FoldFinder::~FoldFinder ( )
virtual

Member Function Documentation

◆ clear()

virtual void sigraph::FoldFinder::clear ( )
virtual

nettoie les variables & caches éventuels

Reimplemented from sigraph::ModelFinder.

◆ initCliques()

virtual void sigraph::FoldFinder::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::FoldFinder::selectModel ( const Clique * cl)
virtual

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

Implements sigraph::ModelFinder.


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