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

#include <anatomist/object/mobjectio.h>

Static Public Member Functions

static carto::Object readMObject (carto::Object object_descr, const std::string &path="", std::map< std::string, carto::Object > *obj_map=0, bool return_id=false)
 
static carto::Object readMObject (const std::string &filename)
 
static carto::Object createMObjectDescr (AObject *aobject, const std::string &path="", bool writeLeafs=true, std::map< AObject *, std::string > *obj_map=0)
 
static carto::Object createMObjectDescr (carto::Object aobject, const std::string &path="", bool writeLeafs=true)
 for cases AObject is inside an Object, or we have a list of objects
 
static bool writeMObject (carto::Object aobject, const std::string &filename, bool writeLeafs=true)
 
static bool writeMObject (AObject *aobject, const std::string &filename, bool writeLeafs=true)
 
static bool saveDescription (carto::Object aobject, const std::string &filename, bool writeLeafs=true)
 

Detailed Description

Definition at line 43 of file mobjectio.h.

Member Function Documentation

◆ createMObjectDescr() [1/2]

static carto::Object anatomist::MObjectIO::createMObjectDescr ( AObject * aobject,
const std::string & path = "",
bool writeLeafs = true,
std::map< AObject *, std::string > * obj_map = 0 )
static

◆ createMObjectDescr() [2/2]

static carto::Object anatomist::MObjectIO::createMObjectDescr ( carto::Object aobject,
const std::string & path = "",
bool writeLeafs = true )
static

for cases AObject is inside an Object, or we have a list of objects

◆ readMObject() [1/2]

static carto::Object anatomist::MObjectIO::readMObject ( carto::Object object_descr,
const std::string & path = "",
std::map< std::string, carto::Object > * obj_map = 0,
bool return_id = false )
static

◆ readMObject() [2/2]

static carto::Object anatomist::MObjectIO::readMObject ( const std::string & filename)
static

◆ saveDescription()

static bool anatomist::MObjectIO::saveDescription ( carto::Object aobject,
const std::string & filename,
bool writeLeafs = true )
static

◆ writeMObject() [1/2]

static bool anatomist::MObjectIO::writeMObject ( AObject * aobject,
const std::string & filename,
bool writeLeafs = true )
static

◆ writeMObject() [2/2]

static bool anatomist::MObjectIO::writeMObject ( carto::Object aobject,
const std::string & filename,
bool writeLeafs = true )
static

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