17 #ifndef AGXCOLLIDE_WIRE_SHAPE_H
18 #define AGXCOLLIDE_WIRE_SHAPE_H
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXPHYSICS_EXPORT
Axis aligned bounding box implementation.
Implements a Capsule shape for geometric intersection tests.
agx::Physics::Geometry::ShapeRef m_entity
Internal class used by agxWire::Wire.
virtual const BoundingAABB & updateBoundingVolume() override
Calculate the bounding volume based on the current Shape parameters including transformation.
agx::Vec3 getPreviousEndPoint0() const
agx::Vec3 getPreviousEndPoint1() const
WireShape(const agx::Real radius, const agx::Real height, const agx::Vec3 previousEndPoint0=agx::Vec3(), const agx::Vec3 previousEndPoint1=agx::Vec3())
Constructor.
agx::Physics::Geometry::WireShapePtr getEntity() const
agxCollide::BoundingAABB set(const agx::AffineMatrix4x4 &worldTransform, const agx::Real radius, const agx::Real height, const agx::Vec3 &previousEndPoint0, const agx::Vec3 &previousEndPoint1)
static BoundingAABB calculateBound(const agx::AffineMatrix4x4 &transform, const agx::Real radius, const agx::Real height, const agx::Vec3 &previousEndPoint0, const agx::Vec3 &previousEndPoint1)
virtual BoundingAABB calculateLocalBound() const override
Calculate the bounding volume in the local coordinate system.
Pointer to a entity instance of type Physics.Geometry.WireShape.
AGXPHYSICS_EXPORT agx::Vec3 & previousPoint0()
AGXPHYSICS_EXPORT agx::Vec3 & previousPoint1()
static Vec3T componentMax(const Vec3T &v1, const Vec3T &v2)
Creates a new vector where each component is the maximum of this and the other vector.
static Vec3T componentMin(const Vec3T &v1, const Vec3T &v2)
Creates a new vector where each component is the minimum of this and the other vector.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
AGX_DECLARE_POINTER_TYPES(SpaceListener)
AGXCORE_EXPORT EntityModel * getEntity(const agx::Path &path)
Get a entity with a specified path.
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.