25#ifndef _SOURCE_STATE_TFSTATEVECTOR_H_
26#define _SOURCE_STATE_TFSTATEVECTOR_H_
33#include "tfSpeciesList.h"
42 enum StateVectorFlags {
44 STATEVECTOR_OWNMEMORY = 1 << 0,
50 struct CAPI_EXPORT StateVector {
75 uint32_t *species_flags;
79 const std::string str()
const;
81 FloatP_t *item(
const int &i);
82 void setItem(
const int &i,
const FloatP_t &val);
87 StateVector *existingStateVector=NULL,
88 uint32_t flags=STATEVECTOR_NONE,
90 StateVector(
const StateVector &other);
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.
HRESULT fromFile(const IOElement &fileElement, const MetaData &metaData, T *dataElement)
Instantiate an object from an intermediate I/O object.
Tissue Forge state dynamics modeling features.
Definition tfSpecies.h:42
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition tfAngleConfig.h:26
Definition tfSpeciesList.h:37
A state vector of an object.
Definition tfStateVector.h:50
void * owner
Definition tfStateVector.h:64
static StateVector * fromString(const std::string &str)
Create from a JSON string representation.
std::string toString()
Get a JSON string representation.
struct TissueForge::state::SpeciesList * species
Species of the state vector.
Definition tfStateVector.h:57
int32_t HRESULT
Definition tf_port.h:255