35 #ifndef ANA_REFERENCE_REFERENTIAL_H 36 #define ANA_REFERENCE_REFERENTIAL_H 86 bool load(
const std::string & filename );
100 const std::string & refname );
#define DECLARE_GENERIC_OBJECT_TYPE(T)
aims::PythonHeader & header()
std::string filename() const
Base Anatomist object (abstract)
aims::PythonHeader * _header
static Referential * referentialOfName(const std::string &refname)
WARNING: a referential may not have a unique name.
std::set< AObject * > AnaObj(void) const
objects which are currently in this referential
Abstract base class Anatomist window.
AimsRGB NewColor()
Retourne une nouvelle couleur.
std::set< AWindow * > AnaWin(void) const
windows which are currently in this referential
std::set< AObject * > _anaObj
std::set< AWindow * > _anaWin
void AddWindow(AWindow *)
Ajoute une fenetre dans la liste des fenetres.
static Referential * referentialOfNameOrUUID(const AObject *obj, const std::string &refname)
tries to find a ref in the referentials property list
static void mergeIdenticalReferentials()
bool load(const std::string &filename)
static Referential * mniTemplateReferential()
void setColor(const AimsRGB &col)
void RemoveWindow(AWindow *)
Enleve une fenetre de la liste des fenetres.
static Referential * referentialOfUUID(const carto::UUID &uuid)
void AddObject(AObject *)
Ajoute un objet dans la liste des objets.
const aims::PythonHeader & header() const
static void clearUnusedReferentials()
void RemoveObject(AObject *)
Enleve un objet de la liste des objets.
static bool mergeReferentials(Referential *r1, Referential *r2)
merge 2 unconnected referential or connected by identity.
static Referential * giftiTalairachReferential()
static Referential * acPcReferential()
int index() const
Unique index, 0 is always the central referential.
bool hidden() const
a hidden referential does not appear in the GUI.
Referential: marker for transformations, with an associated color.
Referential & operator=(const Referential &)
reference_wrapper< T > ref(T &ref)