![]() |
anatomist
5.1.2
3D neuroimaging data viewer
|
Converts custom lower-level objects (generally aims objects) to Anatomist objects and vice versa. More...
#include <anatomist/object/objectConverter.h>
Static Public Member Functions | |
static AObject * | aims2ana (T *x) |
Converts custom lower-level objects (generally aims objects) to Anatomist objects. More... | |
static AObject * | aims2ana (carto::rc_ptr< T > x) |
this variant shares the converted object using ref-counting More... | |
static carto::rc_ptr< T > | ana2aims (AObject *x, carto::Object options=carto::Object()) |
extracts Aims object from an AObject (if any) More... | |
static bool | setAims (AObject *x, carto::rc_ptr< T > y) |
set Aims contents in an existing AObject More... | |
Converts custom lower-level objects (generally aims objects) to Anatomist objects and vice versa.
Definition at line 47 of file objectConverter.h.
|
static |
this variant shares the converted object using ref-counting
|
static |
Converts custom lower-level objects (generally aims objects) to Anatomist objects.
After conversion, the new Anatomist object owns the input object, or deletes it if it needs to copy it: you mustn't delete it yourself unless conversion fails (no anatomist object can be constructed, aims2ana() returns null)
|
static |
extracts Aims object from an AObject (if any)
|
static |
set Aims contents in an existing AObject