17 #ifndef AGXMODEL_DEFORMABLE1DGEOMETRYFACTORY_H 18 #define AGXMODEL_DEFORMABLE1DGEOMETRYFACTORY_H 125 template<
typename T >
272 template<
typename T >
277 template<
typename T >
283 template<
typename T >
288 template<
typename T >
294 template<
typename T >
300 template<
typename T >
309 if ( node ==
nullptr )
320 for (
agx::UInt i = 0; i < numSpheres; ++i ) {
328 template<
typename T >
331 if ( node ==
nullptr )
341 template<
typename T >
347 template<
typename T >
354 #endif // AGXMODEL_DEFORMABLE1DGEOMETRYFACTORY_H 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...
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.
Vec3T< T > max(const Vec3T< T > &lhs, const Vec3T< T > &rhs)
static AffineMatrix4x4T< Real > rotate(const Vec3T< Real > &from, const Vec3T< Real > &to)
Return a matrix which rotate a vector from from to to.
#define AGX_DECLARE_POINTER_TYPES(type)
Base class providing referencing counted objects.
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
The geometry representation used by the collision detection engine.
A sphere class for geometric intersection tests.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Class for writing serialized data in binary format to a stream.
agx::ref_ptr< Geometry > GeometryRef
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...