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 >
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
The geometry representation used by the collision detection engine.
A sphere class for geometric intersection tests.
Class for writing serialized data in binary format to a stream.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
static AffineMatrix4x4T< Real > rotate(const Vec3T< Real > &from, const Vec3T< Real > &to)
Return a matrix which rotate a vector from from to to.
static AffineMatrix4x4T< Real > translate(const Vec3T< Real > &dv)
Return a matrix which translates according to dv.
Base class providing referencing counted objects.
agx::ref_ptr< Geometry > GeometryRef
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
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.
Vec3T< T > max(const Vec3T< T > &lhs, const Vec3T< T > &rhs)