19 #include <agx/config/AGX_USE_AGXTERRAIN.h> 34 typedef std::pair< Real, Real >
RealPair;
107 size_t getTileMarginSize()
const;
113 size_t getTileResolution()
const;
176 size_t m_tileMarginSize;
177 size_t m_tileResolution;
190 return m_referencePoint;
195 return m_referenceRotation;
205 return m_tileMarginSize;
210 return m_tileResolution;
215 return m_maximumDepth;
220 return convertTilePositionToWorld(
id,
agx::Vec3( tilePos, 0.0 ) );
226 return worldPos * m_worldToGrid;
std::pair< Real, Real > RealPair
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
A TileSpecification determines where in the world a 2D TileId is located and contains utility methods...
agx::VectorPOD< TileModification > TileModificationVector
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive...
static AffineMatrix4x4T< Real > translate(const Vec3T< Real > &dv)
Return a matrix which translates according to dv.
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
agxTerrain::TileId tileId
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::Vec2i32 TileId
A TileId is a 2D-coordinate that specifies where a in grid a tile is located.
#define AGXTERRAIN_EXPORT
Class for writing serialized data in binary format to a stream.
TileModifications are used to provide a delta for paged terrain changes.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()