AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
JsonDataDumpDebug.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material without having a written signed agreement with Algoryx Simulation AB.
9
10Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
11from using this software, unless otherwise stated in written agreements with
12Algoryx Simulation AB.
13*/
14
15#pragma once
16
17#include <agx/Json.h>
18#include <agxData/EntityData.h>
21
22namespace agx
23{
25 {
26 public:
29
30 agxJson::Value& addStorage(agxData::EntityStorage *storage);
31 agxJson::Value& addData(agxData::EntityData& data);
32 agxJson::Value& addBuffer(agxData::Buffer *buffer);
33 agxJson::Value& addSolverData(agx::DirectSolverData *data);
34
35 agxJson::Value& addStorage(agxData::EntityStorage *storage, agxJson::Value& eParent);
36 agxJson::Value& addData(agxData::EntityData& data, agxJson::Value& eParent);
37 agxJson::Value& addBuffer(agxData::Buffer *buffer, agxJson::Value& eParent);
38 agxJson::Value& addSolverData(agx::DirectSolverData *data, agxJson::Value& eParent);
39
40 agxJson::Value& addRealValarray(const agx::RealValarray& array, agxJson::Value& eValues);
41
42 void write(const agx::String& fileName);
43
44 private:
45 agxJson::Value m_root;
46 };
47}
#define AGXPHYSICS_EXPORT
Abstract representation of a data buffer.
Definition Buffer.h:56
Data storage for a collection of entity instances of a specified EntityModel.
agxJson::Value & addRealValarray(const agx::RealValarray &array, agxJson::Value &eValues)
void write(const agx::String &fileName)
agxJson::Value & addData(agxData::EntityData &data, agxJson::Value &eParent)
agxJson::Value & addStorage(agxData::EntityStorage *storage)
agxJson::Value & addData(agxData::EntityData &data)
agxJson::Value & addBuffer(agxData::Buffer *buffer)
agxJson::Value & addStorage(agxData::EntityStorage *storage, agxJson::Value &eParent)
agxJson::Value & addSolverData(agx::DirectSolverData *data, agxJson::Value &eParent)
agxJson::Value & addBuffer(agxData::Buffer *buffer, agxJson::Value &eParent)
agxJson::Value & addSolverData(agx::DirectSolverData *data)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
std::valarray< agx::Real > RealValarray
For this module, vectors are defined using valarray.