anatomist 6.0.4
3D neuroimaging data viewer
anatomist::GraphParams Class Reference

#include <anatomist/control/graphParams.h>

Collaboration diagram for anatomist::GraphParams:

Public Member Functions

 GraphParams ()
 
 ~GraphParams ()
 
void updateGraphs () const
 
int selectRenderModeFromString (const std::string &)
 

Static Public Member Functions

static GraphParamsgraphParams ()
 
static bool recolorLabelledGraph (AGraph *ag, AGraphObject *go, Material &mat)
 Function used by the AGraph coloring function when in labels color mode.
 
static bool nomenclatureColorForLabel (const std::string &label, const Hierarchy *hie, Material &mat)
 
static TreefindTreeWith (const Tree *tr, const std::string &attribute, const std::string &value, std::vector< Tree * > &parents)
 This function should be part of the Tree class (in graph library).
 

Public Attributes

bool colorsActive
 
std::string attribute
 
bool toolTips
 
int saveMode
 
bool saveOnlyModified
 
bool autoSaveDir
 
bool loadRelations
 
int selectRenderMode
 
std::vector< std::string > selectRenderModes
 
bool background_unselects
 

Friends

class AGraph
 
class ::QGraphParam
 

Detailed Description

Definition at line 54 of file graphParams.h.

Constructor & Destructor Documentation

◆ GraphParams()

anatomist::GraphParams::GraphParams ( )

Referenced by ::QGraphParam, and graphParams().

◆ ~GraphParams()

anatomist::GraphParams::~GraphParams ( )

Member Function Documentation

◆ findTreeWith()

static Tree * anatomist::GraphParams::findTreeWith ( const Tree * tr,
const std::string & attribute,
const std::string & value,
std::vector< Tree * > & parents )
static

This function should be part of the Tree class (in graph library).

References attribute.

◆ graphParams()

static GraphParams * anatomist::GraphParams::graphParams ( )
static

References GraphParams().

◆ nomenclatureColorForLabel()

static bool anatomist::GraphParams::nomenclatureColorForLabel ( const std::string & label,
const Hierarchy * hie,
Material & mat )
static

◆ recolorLabelledGraph()

static bool anatomist::GraphParams::recolorLabelledGraph ( AGraph * ag,
AGraphObject * go,
Material & mat )
static

Function used by the AGraph coloring function when in labels color mode.

It shouldn't be used directly

See also
AGraph::specialColorFunc

References AGraph.

◆ selectRenderModeFromString()

int anatomist::GraphParams::selectRenderModeFromString ( const std::string & )
Returns
-1 if the mode is unknown

◆ updateGraphs()

void anatomist::GraphParams::updateGraphs ( ) const

Friends And Related Symbol Documentation

◆ ::QGraphParam

friend class ::QGraphParam
friend

Definition at line 91 of file graphParams.h.

References GraphParams().

◆ AGraph

friend class AGraph
friend

Definition at line 90 of file graphParams.h.

References AGraph.

Referenced by AGraph, and recolorLabelledGraph().

Member Data Documentation

◆ attribute

std::string anatomist::GraphParams::attribute

Definition at line 79 of file graphParams.h.

Referenced by findTreeWith().

◆ autoSaveDir

bool anatomist::GraphParams::autoSaveDir

Definition at line 83 of file graphParams.h.

◆ background_unselects

bool anatomist::GraphParams::background_unselects

Definition at line 87 of file graphParams.h.

◆ colorsActive

bool anatomist::GraphParams::colorsActive

Definition at line 78 of file graphParams.h.

◆ loadRelations

bool anatomist::GraphParams::loadRelations

Definition at line 84 of file graphParams.h.

◆ saveMode

int anatomist::GraphParams::saveMode

Definition at line 81 of file graphParams.h.

◆ saveOnlyModified

bool anatomist::GraphParams::saveOnlyModified

Definition at line 82 of file graphParams.h.

◆ selectRenderMode

int anatomist::GraphParams::selectRenderMode

Definition at line 85 of file graphParams.h.

◆ selectRenderModes

std::vector<std::string> anatomist::GraphParams::selectRenderModes

Definition at line 86 of file graphParams.h.

◆ toolTips

bool anatomist::GraphParams::toolTips

Definition at line 80 of file graphParams.h.


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