#include <anafold/fgraph/afgraph.h>
|
| | AFGraph (AGraph *model, AGraph *folds) |
| |
| virtual | ~AFGraph () |
| |
| virtual int | MType () const |
| |
| virtual bool | CanRemove (AObject *obj) |
| |
| virtual AObject * | objectAt (const std::vector< float > &pos, float tol=0) |
| |
| virtual void | SetMaterial (const Material &mat) |
| |
| virtual void | setPalette (const AObjectPalette &pal) |
| |
| virtual void | internalUpdate () |
| |
| virtual bool | render (PrimList &, const ViewState &) |
| |
| AGraph * | model () const |
| |
| AGraph * | folds () const |
| |
| virtual void | setColors () |
| | maps the appropriate color on the child fold graph objects.
|
| |
| virtual void | setColorsNodePot () |
| | maps the node cliques potentials (with or without the weight, according to the map mode)
|
| |
| virtual void | setColorsLabels () |
| | maps the labels colors from hierarchy (like in graph params settings)
|
| |
| Mode | mapMode () const |
| | mode for information mapping
|
| |
| void | setMapMode (Mode mode) |
| |
| bool | isMapWeighted () const |
| |
| void | setMapWeighted (bool wt) |
| |
| bool | isRelPotentials () const |
| |
| void | setRelPotentials (bool onoff) |
| |
| bool | pot0HasColor () const |
| |
| void | setPot0HasCol (bool onoff) |
| |
| bool | isPot0Centered () const |
| |
| void | setPot0Centered (bool onoff) |
| |
| float | pot0Red () const |
| |
| float | pot0Green () const |
| |
| float | pot0Blue () const |
| |
| float | pot0Alpha () const |
| |
| bool | pot0AlphaUsed () const |
| |
| void | setPot0Color (float r, float g, float b, float a=1., bool usea=false) |
| |
| float | noPotRed () const |
| |
| float | noPotGreen () const |
| |
| float | noPotBlue () const |
| |
| float | noPotAlpha () const |
| |
| bool | noPotAlphaUsed () const |
| |
| void | setNoPotColor (float r, float g, float b, float a=0.2, bool usea=true) |
| |
| virtual Tree * | optionTree () const |
| |
| void | setModelWeights (double szfactor) |
| | Modifies the model graph.
|
| |
| void | updatePotentials () |
| |
| virtual float | minTexValue () const |
| |
| virtual float | maxTexValue () const |
| |
| virtual GLComponent * | glAPI () |
| |
| virtual const GLComponent * | glAPI () const |
| |
| virtual const AObjectPalette * | glPalette (unsigned tex=0) const |
| |
|
| static int | classType () |
| |
| static void | fusionControl (const std::set< AObject * > &) |
| | Opens the fusion control window (menu callback)
|
| |
| static void | annealWin (const std::set< AObject * > &) |
| | Opens the annealing window (menu callback)
|
| |
|
| void | initCliques () |
| |
| void | deleteCliques () |
| |
| bool | cliqueWeight (const sigraph::Clique *cl, double &wt) |
| |
| bool | nodePotential (const Vertex *v, double &pot) |
| |
| bool | nodePotentialSimple (const Vertex *v, double &pot) |
| |
| bool | nodePotentialTotal (const Vertex *v, double &pot) |
| |
| bool | nodePotentialLabels (const Vertex *v, double &pot) |
| |
| bool | nodePotentialConstant (const Vertex *v, double &pot) |
| |
| bool | nodePotentialTotalConst (const Vertex *v, double &pot) |
| |
| bool | edgePotential (const Edge *v, double &pot) |
| |
| bool | edgePotentialSimple (const Edge *v, double &pot) |
| |
| bool | edgePotentialConstant (const Edge *v, double &pot) |
| |
| void | makeDomTriang (ATriangulated *tri, sigraph::DomainBox *dom, sigraph::FGraph *fg) |
| |
| void | makeDomTriang (ATriangulated *tri, sigraph::DomainRBF *dom, sigraph::FGraph *fg) |
| |
| virtual void | createDefaultPalette (const std::string &name) |
| |
Definition at line 38 of file afgraph.h.
◆ Mode
| Enumerator |
|---|
| NODEPOT | |
| TOTALPOT | |
| LABELS | |
| CONSTANT | |
| TOTALCONST | |
Definition at line 41 of file afgraph.h.
◆ AFGraph()
| anatomist::AFGraph::AFGraph |
( |
AGraph * | model, |
|
|
AGraph * | folds ) |
◆ ~AFGraph()
| virtual anatomist::AFGraph::~AFGraph |
( |
| ) |
|
|
virtual |
◆ annealWin()
| static void anatomist::AFGraph::annealWin |
( |
const std::set< AObject * > & | | ) |
|
|
static |
Opens the annealing window (menu callback)
◆ CanRemove()
| bool anatomist::AFGraph::CanRemove |
( |
AObject * | obj | ) |
|
|
inlinevirtual |
◆ classType()
| static int anatomist::AFGraph::classType |
( |
| ) |
|
|
inlinestatic |
◆ cliqueWeight()
| bool anatomist::AFGraph::cliqueWeight |
( |
const sigraph::Clique * | cl, |
|
|
double & | wt ) |
|
protected |
◆ createDefaultPalette()
| virtual void anatomist::AFGraph::createDefaultPalette |
( |
const std::string & | name | ) |
|
|
protectedvirtual |
◆ deleteCliques()
| void anatomist::AFGraph::deleteCliques |
( |
| ) |
|
|
protected |
◆ edgePotential()
| bool anatomist::AFGraph::edgePotential |
( |
const Edge * | v, |
|
|
double & | pot ) |
|
protected |
◆ edgePotentialConstant()
| bool anatomist::AFGraph::edgePotentialConstant |
( |
const Edge * | v, |
|
|
double & | pot ) |
|
protected |
◆ edgePotentialSimple()
| bool anatomist::AFGraph::edgePotentialSimple |
( |
const Edge * | v, |
|
|
double & | pot ) |
|
protected |
◆ folds()
| AGraph * anatomist::AFGraph::folds |
( |
| ) |
const |
|
inline |
◆ fusionControl()
| static void anatomist::AFGraph::fusionControl |
( |
const std::set< AObject * > & | | ) |
|
|
static |
Opens the fusion control window (menu callback)
◆ glAPI() [1/2]
| virtual GLComponent * anatomist::AFGraph::glAPI |
( |
| ) |
|
|
virtual |
◆ glAPI() [2/2]
| virtual const GLComponent * anatomist::AFGraph::glAPI |
( |
| ) |
const |
|
virtual |
◆ glPalette()
| virtual const AObjectPalette * anatomist::AFGraph::glPalette |
( |
unsigned | tex = 0 | ) |
const |
|
virtual |
◆ initCliques()
| void anatomist::AFGraph::initCliques |
( |
| ) |
|
|
protected |
◆ internalUpdate()
| virtual void anatomist::AFGraph::internalUpdate |
( |
| ) |
|
|
virtual |
◆ isMapWeighted()
| bool anatomist::AFGraph::isMapWeighted |
( |
| ) |
const |
|
inline |
◆ isPot0Centered()
| bool anatomist::AFGraph::isPot0Centered |
( |
| ) |
const |
|
inline |
◆ isRelPotentials()
| bool anatomist::AFGraph::isRelPotentials |
( |
| ) |
const |
|
inline |
◆ makeDomTriang() [1/2]
| void anatomist::AFGraph::makeDomTriang |
( |
ATriangulated * | tri, |
|
|
sigraph::DomainBox * | dom, |
|
|
sigraph::FGraph * | fg ) |
|
protected |
◆ makeDomTriang() [2/2]
| void anatomist::AFGraph::makeDomTriang |
( |
ATriangulated * | tri, |
|
|
sigraph::DomainRBF * | dom, |
|
|
sigraph::FGraph * | fg ) |
|
protected |
◆ mapMode()
| Mode anatomist::AFGraph::mapMode |
( |
| ) |
const |
|
inline |
◆ maxTexValue()
| virtual float anatomist::AFGraph::maxTexValue |
( |
| ) |
const |
|
virtual |
◆ minTexValue()
| virtual float anatomist::AFGraph::minTexValue |
( |
| ) |
const |
|
virtual |
◆ model()
| AGraph * anatomist::AFGraph::model |
( |
| ) |
const |
|
inline |
◆ MType()
| virtual int anatomist::AFGraph::MType |
( |
| ) |
const |
|
inlinevirtual |
◆ nodePotential()
| bool anatomist::AFGraph::nodePotential |
( |
const Vertex * | v, |
|
|
double & | pot ) |
|
protected |
◆ nodePotentialConstant()
| bool anatomist::AFGraph::nodePotentialConstant |
( |
const Vertex * | v, |
|
|
double & | pot ) |
|
protected |
◆ nodePotentialLabels()
| bool anatomist::AFGraph::nodePotentialLabels |
( |
const Vertex * | v, |
|
|
double & | pot ) |
|
protected |
◆ nodePotentialSimple()
| bool anatomist::AFGraph::nodePotentialSimple |
( |
const Vertex * | v, |
|
|
double & | pot ) |
|
protected |
◆ nodePotentialTotal()
| bool anatomist::AFGraph::nodePotentialTotal |
( |
const Vertex * | v, |
|
|
double & | pot ) |
|
protected |
◆ nodePotentialTotalConst()
| bool anatomist::AFGraph::nodePotentialTotalConst |
( |
const Vertex * | v, |
|
|
double & | pot ) |
|
protected |
◆ noPotAlpha()
| float anatomist::AFGraph::noPotAlpha |
( |
| ) |
const |
◆ noPotAlphaUsed()
| bool anatomist::AFGraph::noPotAlphaUsed |
( |
| ) |
const |
◆ noPotBlue()
| float anatomist::AFGraph::noPotBlue |
( |
| ) |
const |
|
inline |
◆ noPotGreen()
| float anatomist::AFGraph::noPotGreen |
( |
| ) |
const |
|
inline |
◆ noPotRed()
| float anatomist::AFGraph::noPotRed |
( |
| ) |
const |
|
inline |
◆ objectAt()
| virtual AObject * anatomist::AFGraph::objectAt |
( |
const std::vector< float > & | pos, |
|
|
float | tol = 0 ) |
|
inlinevirtual |
◆ optionTree()
| virtual Tree * anatomist::AFGraph::optionTree |
( |
| ) |
const |
|
virtual |
◆ pot0Alpha()
| float anatomist::AFGraph::pot0Alpha |
( |
| ) |
const |
◆ pot0AlphaUsed()
| bool anatomist::AFGraph::pot0AlphaUsed |
( |
| ) |
const |
◆ pot0Blue()
| float anatomist::AFGraph::pot0Blue |
( |
| ) |
const |
|
inline |
◆ pot0Green()
| float anatomist::AFGraph::pot0Green |
( |
| ) |
const |
|
inline |
◆ pot0HasColor()
| bool anatomist::AFGraph::pot0HasColor |
( |
| ) |
const |
|
inline |
◆ pot0Red()
| float anatomist::AFGraph::pot0Red |
( |
| ) |
const |
|
inline |
◆ render()
| virtual bool anatomist::AFGraph::render |
( |
PrimList & | , |
|
|
const ViewState & | ) |
|
virtual |
◆ setColors()
| virtual void anatomist::AFGraph::setColors |
( |
| ) |
|
|
virtual |
maps the appropriate color on the child fold graph objects.
According to the render mode, maps either potentials, labels, etc.
◆ setColorsLabels()
| virtual void anatomist::AFGraph::setColorsLabels |
( |
| ) |
|
|
virtual |
maps the labels colors from hierarchy (like in graph params settings)
◆ setColorsNodePot()
| virtual void anatomist::AFGraph::setColorsNodePot |
( |
| ) |
|
|
virtual |
maps the node cliques potentials (with or without the weight, according to the map mode)
◆ setMapMode()
| void anatomist::AFGraph::setMapMode |
( |
Mode | mode | ) |
|
|
inline |
◆ setMapWeighted()
| void anatomist::AFGraph::setMapWeighted |
( |
bool | wt | ) |
|
|
inline |
◆ SetMaterial()
| virtual void anatomist::AFGraph::SetMaterial |
( |
const Material & | mat | ) |
|
|
virtual |
◆ setModelWeights()
| void anatomist::AFGraph::setModelWeights |
( |
double | szfactor | ) |
|
Modifies the model graph.
◆ setNoPotColor()
| void anatomist::AFGraph::setNoPotColor |
( |
float | r, |
|
|
float | g, |
|
|
float | b, |
|
|
float | a = 0.2, |
|
|
bool | usea = true ) |
◆ setPalette()
| virtual void anatomist::AFGraph::setPalette |
( |
const AObjectPalette & | pal | ) |
|
|
virtual |
◆ setPot0Centered()
| void anatomist::AFGraph::setPot0Centered |
( |
bool | onoff | ) |
|
|
inline |
◆ setPot0Color()
| void anatomist::AFGraph::setPot0Color |
( |
float | r, |
|
|
float | g, |
|
|
float | b, |
|
|
float | a = 1., |
|
|
bool | usea = false ) |
◆ setPot0HasCol()
| void anatomist::AFGraph::setPot0HasCol |
( |
bool | onoff | ) |
|
|
inline |
◆ setRelPotentials()
| void anatomist::AFGraph::setRelPotentials |
( |
bool | onoff | ) |
|
|
inline |
◆ updatePotentials()
| void anatomist::AFGraph::updatePotentials |
( |
| ) |
|
◆ _folds
| AGraph* anatomist::AFGraph::_folds |
|
protected |
◆ _mapMode
| Mode anatomist::AFGraph::_mapMode |
|
protected |
◆ _model
| AGraph* anatomist::AFGraph::_model |
|
protected |
◆ _nopotBlue
| float anatomist::AFGraph::_nopotBlue |
|
protected |
◆ _nopotGreen
| float anatomist::AFGraph::_nopotGreen |
|
protected |
◆ _nopotRed
| float anatomist::AFGraph::_nopotRed |
|
protected |
◆ _normInpVec
| bool anatomist::AFGraph::_normInpVec |
|
protected |
◆ _optionTree
| Tree* anatomist::AFGraph::_optionTree |
|
static |
◆ _p0blue
| float anatomist::AFGraph::_p0blue |
|
protected |
◆ _p0green
| float anatomist::AFGraph::_p0green |
|
protected |
◆ _p0red
| float anatomist::AFGraph::_p0red |
|
protected |
◆ _pot0Center
| bool anatomist::AFGraph::_pot0Center |
|
protected |
◆ _pot0Col
| bool anatomist::AFGraph::_pot0Col |
|
protected |
◆ _relPot
| bool anatomist::AFGraph::_relPot |
|
protected |
◆ _translator
| sigraph::FoldLabelsTranslator* anatomist::AFGraph::_translator |
|
protected |
◆ _weighted
| bool anatomist::AFGraph::_weighted |
|
protected |
The documentation for this class was generated from the following file: