AGX Dynamics  2.37.2.0
agxTerrain/export.h File Reference
#include <agx/config.h>

Go to the source code of this file.

Namespaces

 agxStream
 This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serialization).
 
 agxTerrain
 The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.
 

Macros

#define AGX_VEC3_TO_OPENVDB_COORD(v)   openvdb::Coord((int)v.x(), (int)v.y(), (int)v.z())
 
#define AGX_VEC3_TO_OPENVDB_VEC3D(v)   openvdb::Vec3d(v.x(), v.y(), v.z())
 
#define AGX_VEC3_TO_OPENVDB_VEC3F(v)   openvdb::Vec3f((float)v.x(), (float)v.y(), (float)v.z())
 
#define AGX_VEC3_TO_OPENVDB_VEC3I(v)   openvdb::Vec3i(v.x(), v.y(), v.z())
 
#define AGX_VEC3_TO_OPENVDB_VEC3R(v)   openvdb::Vec3R(v.x(), v.y(), v.z())
 
#define AGXTERRAIN_EXPORT
 
#define AGXTERRAIN_STORE_RESTORE_INTERFACE
 
#define OPENVDB_VEC3_TO_AGX(v)   agx::Vec3(v.x(), v.y(), v.z())
 
#define OPENVDB_VEC3_TO_AGX_VEC3F(v)   agx::Vec3f((float)v.x(), (float)v.y(), (float)v.z())
 
#define OPENVDB_VEC3_TO_AGX_VEC3I(v)   agx::Vec3i(v.x(), v.y(), v.z())
 

Macro Definition Documentation

◆ AGX_VEC3_TO_OPENVDB_COORD

#define AGX_VEC3_TO_OPENVDB_COORD (   v)    openvdb::Coord((int)v.x(), (int)v.y(), (int)v.z())

Definition at line 52 of file agxTerrain/export.h.

◆ AGX_VEC3_TO_OPENVDB_VEC3D

#define AGX_VEC3_TO_OPENVDB_VEC3D (   v)    openvdb::Vec3d(v.x(), v.y(), v.z())

Definition at line 48 of file agxTerrain/export.h.

◆ AGX_VEC3_TO_OPENVDB_VEC3F

#define AGX_VEC3_TO_OPENVDB_VEC3F (   v)    openvdb::Vec3f((float)v.x(), (float)v.y(), (float)v.z())

Definition at line 50 of file agxTerrain/export.h.

◆ AGX_VEC3_TO_OPENVDB_VEC3I

#define AGX_VEC3_TO_OPENVDB_VEC3I (   v)    openvdb::Vec3i(v.x(), v.y(), v.z())

Definition at line 51 of file agxTerrain/export.h.

◆ AGX_VEC3_TO_OPENVDB_VEC3R

#define AGX_VEC3_TO_OPENVDB_VEC3R (   v)    openvdb::Vec3R(v.x(), v.y(), v.z())

Definition at line 49 of file agxTerrain/export.h.

◆ AGXTERRAIN_EXPORT

#define AGXTERRAIN_EXPORT

◆ AGXTERRAIN_STORE_RESTORE_INTERFACE

#define AGXTERRAIN_STORE_RESTORE_INTERFACE
Value:
virtual void store( const class Terrain* terrain, agxStream::OutputArchive& out ) const; \
virtual void restore( class Terrain* terrain, agxStream::InputArchive& in )
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...
Definition: InputArchive.h:400
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...
Class for reading a binary stream of serialized data.
Definition: InputArchive.h:51
Class for writing serialized data in binary format to a stream.
Definition: OutputArchive.h:56

Definition at line 64 of file agxTerrain/export.h.

◆ OPENVDB_VEC3_TO_AGX

#define OPENVDB_VEC3_TO_AGX (   v)    agx::Vec3(v.x(), v.y(), v.z())

Definition at line 55 of file agxTerrain/export.h.

◆ OPENVDB_VEC3_TO_AGX_VEC3F

#define OPENVDB_VEC3_TO_AGX_VEC3F (   v)    agx::Vec3f((float)v.x(), (float)v.y(), (float)v.z())

Definition at line 56 of file agxTerrain/export.h.

◆ OPENVDB_VEC3_TO_AGX_VEC3I

#define OPENVDB_VEC3_TO_AGX_VEC3I (   v)    agx::Vec3i(v.x(), v.y(), v.z())

Definition at line 54 of file agxTerrain/export.h.