34 static constexpr
float MAX_MASS = 1.0;
114 float getMaximumAllowedSolidMassInVoxel(
const Grid::GridCoord& coord)
const;
134 void clearVelocityGrid();
140 Grid* getCompactionGridData()
const;
142 size_t getTotalGridMemoryUsage()
const;
144 size_t getTotalActiveVoxels()
const;
146 void clearMassGrid(
MassType massType);
152 VoxelToVelocityTable& getVelocityTable();
AGXCORE_EXPORT UInt32 hash(const T &key)
#define AGXTERRAIN_STORE_RESTORE_INTERFACE
agx::HashTable< MassType, Grid *, MassTypeHash > m_massGridTable
#define AGX_DECLARE_POINTER_TYPES(type)
GridRef m_particleMassGrid
Pure virtual interface class for the data storage grid classes we have.
Base class providing referencing counted objects.
Vector containing 'raw' data.
agx::HashTable< agx::Vec3i, agx::Vec3f > VoxelToVelocityTable
agx::UInt32 operator()(TerrainDataAtlas::MassType key) const
Container for holding a grid coordinate.
#define AGXTERRAIN_EXPORT
VoxelToVelocityTable m_voxelToVelocityTable
Inheritance with partial specialization due to bug with ref_ptr containers.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()