Referential: marker for transformations, with an associated color.
More...
#include <anatomist/reference/Referential.h>
Referential: marker for transformations, with an associated color.
Definition at line 54 of file Referential.h.
◆ Referential() [1/5]
anatomist::Referential::Referential |
( |
| ) |
|
◆ Referential() [2/5]
anatomist::Referential::Referential |
( |
const std::string & |
filename | ) |
|
◆ Referential() [3/5]
anatomist::Referential::Referential |
( |
std::set< AObject * > & |
| ) |
|
◆ Referential() [4/5]
anatomist::Referential::Referential |
( |
std::set< AWindow * > & |
| ) |
|
◆ Referential() [5/5]
anatomist::Referential::Referential |
( |
const Referential & |
ref | ) |
|
◆ ~Referential()
virtual anatomist::Referential::~Referential |
( |
| ) |
|
|
virtual |
◆ acPcReferential()
static Referential* anatomist::Referential::acPcReferential |
( |
| ) |
|
|
static |
◆ AddObject()
void anatomist::Referential::AddObject |
( |
AObject * |
| ) |
|
Ajoute un objet dans la liste des objets.
◆ AddWindow()
void anatomist::Referential::AddWindow |
( |
AWindow * |
| ) |
|
Ajoute une fenetre dans la liste des fenetres.
◆ AnaObj()
std::set<AObject*> anatomist::Referential::AnaObj |
( |
void |
| ) |
const |
|
inline |
objects which are currently in this referential
Definition at line 67 of file Referential.h.
References _anaObj.
◆ AnaWin()
std::set<AWindow*> anatomist::Referential::AnaWin |
( |
void |
| ) |
const |
|
inline |
windows which are currently in this referential
Definition at line 69 of file Referential.h.
References _anaWin.
◆ clearUnusedReferentials()
static void anatomist::Referential::clearUnusedReferentials |
( |
| ) |
|
|
static |
◆ Color()
AimsRGB anatomist::Referential::Color |
( |
| ) |
const |
|
inline |
◆ destroying()
bool anatomist::Referential::destroying |
( |
| ) |
const |
|
inline |
◆ filename()
std::string anatomist::Referential::filename |
( |
| ) |
const |
◆ giftiTalairachReferential()
static Referential* anatomist::Referential::giftiTalairachReferential |
( |
| ) |
|
|
static |
◆ header() [1/2]
◆ header() [2/2]
◆ hidden()
bool anatomist::Referential::hidden |
( |
| ) |
const |
a hidden referential does not appear in the GUI.
This function is merely a shortcut to the header property "hidden".
◆ index()
int anatomist::Referential::index |
( |
| ) |
const |
|
inline |
Unique index, 0 is always the central referential.
Definition at line 73 of file Referential.h.
References _indCol.
◆ isDirect()
bool anatomist::Referential::isDirect |
( |
| ) |
const |
◆ load()
bool anatomist::Referential::load |
( |
const std::string & |
filename | ) |
|
◆ mergeIdenticalReferentials()
static void anatomist::Referential::mergeIdenticalReferentials |
( |
| ) |
|
|
static |
◆ mergeReferentials()
merge 2 unconnected referential or connected by identity.
r2 will be deleted, objects/windows in ref r2 will be moved to r1. If r2 is a non-destructible referential (AC/PC...) then r1 will be deleted.
- Returns
- false if r1 and r2 are connected by a non-identity transform.
◆ mniTemplateReferential()
static Referential* anatomist::Referential::mniTemplateReferential |
( |
| ) |
|
|
static |
◆ NewColor()
AimsRGB anatomist::Referential::NewColor |
( |
| ) |
|
|
protected |
Retourne une nouvelle couleur.
◆ operator=()
◆ referentialOfName()
static Referential* anatomist::Referential::referentialOfName |
( |
const std::string & |
refname | ) |
|
|
static |
WARNING: a referential may not have a unique name.
◆ referentialOfNameOrUUID()
static Referential* anatomist::Referential::referentialOfNameOrUUID |
( |
const AObject * |
obj, |
|
|
const std::string & |
refname |
|
) |
| |
|
static |
tries to find a ref in the referentials property list
◆ referentialOfUUID() [1/2]
◆ referentialOfUUID() [2/2]
static Referential* anatomist::Referential::referentialOfUUID |
( |
const std::string & |
uuid | ) |
|
|
static |
◆ RemoveObject()
void anatomist::Referential::RemoveObject |
( |
AObject * |
| ) |
|
Enleve un objet de la liste des objets.
◆ RemoveWindow()
void anatomist::Referential::RemoveWindow |
( |
AWindow * |
| ) |
|
Enleve une fenetre de la liste des fenetres.
◆ setColor()
void anatomist::Referential::setColor |
( |
const AimsRGB & |
col | ) |
|
◆ uuid()
◆ _anaObj
std::set<AObject*> anatomist::Referential::_anaObj |
|
protected |
◆ _anaWin
std::set<AWindow*> anatomist::Referential::_anaWin |
|
protected |
◆ _color
AimsRGB anatomist::Referential::_color |
|
protected |
◆ _destroying
bool anatomist::Referential::_destroying |
|
protected |
◆ _filename
std::string anatomist::Referential::_filename |
|
protected |
◆ _header
◆ _indCol
int anatomist::Referential::_indCol |
|
protected |
The documentation for this class was generated from the following file: