25#ifndef _SOURCE_IO_TFIO_H_
26#define _SOURCE_IO_TFIO_H_
28#include <TissueForge_private.h>
30#include "tfThreeDFStructure.h"
57 CPPAPI_FUNC(
HRESULT)
toFile3DF(
const std::string &format,
const std::string &filePath,
const unsigned int &pRefinements=0);
Tissue Forge I/O.
Definition tfThreeDFAngleMeshGenerator.h:28
HRESULT toFile(const T &dataElement, const MetaData &metaData, IOElement &fileElement)
Convert an object to an intermediate I/O object.
std::string toString()
Return a simulation state as a JSON string.
HRESULT toFile3DF(const std::string &format, const std::string &filePath, const unsigned int &pRefinements=0)
Export engine state to a 3D format file.
ThreeDFStructure * fromFile3DF(const std::string &filePath)
Tissue Forge import/export interface.
int mapImportParticleId(const unsigned int &pId)
Get the id of a particle according to import data that corresponds to a particle id of current data.
int mapImportParticleTypeId(const unsigned int &pId)
Get the id of a particle type according to import data that corresponds to a particle type id of curr...
Container for relevant data found in a 3D data file.
Definition tfThreeDFStructure.h:61
int32_t HRESULT
Definition tf_port.h:255