212 void setEnable(
bool flag);
213 bool getEnable()
const;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXPHYSICS_EXPORT
A box shape for geometric intersection tests.
Implements a Capsule shape for geometric intersection tests.
A right circular cone shape for geometric intersection tests.
A cylinder shape for geometric intersection tests.
A HeightField is a collision shape that can be created from a grid structure, like an image.
A right circular hollow cone shape for geometric intersection tests.
A hollow cylinder shape for geometric intersection tests.
A line shape for intersection tests, mostly for depth sensing and picking.
A sphere class for geometric intersection tests.
Triangle mesh for geometric intersection tests.
Abstract representation of a data buffer.
Abstract representation of a value.
Subclass that implements a BoxProxy.
Subclass that implements a CapsuleProxy.
Subclass that implements a ConeProxy.
Subclass that implements a CylinderProxy.
Abstract base class that acts as an interface and can render the data from a Graph.
Subclass that implements a HeightfieldProxy.
Subclass that implements a HollowConeProxy.
Subclass that implements a CylinderProxy.
Subclass that implements a LineProxy.
Subclass that implements a PlaneProxy.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
Abstract class which is responsible for returning a pointer to a specified RenderProxy type.
virtual LineProxy * createLine(agxCollide::Line *shape)=0
Interface for creating and returning a LineProxy.
virtual CapsuleProxy * createCapsule(float radius, float height)=0
Interface for creating and returning a CapsuleProxy.
virtual LineProxy * createLine(const agx::Vec3 &p1, const agx::Vec3 &p2)=0
Interface for creating and returning a LineProxy.
virtual agxRender::WireRenderProxy * createWire(float radius, const agx::Vec3 &color)=0
virtual agxRender::RigidBodyBatchRenderProxy * createRigidBodies(const agx::RigidBodyPtrSetVector *)=0
Interface for creating and returning batch rendering of rigid bodies (cm).
void setDefaultRenderMode(RenderProxy::RenderMode mode)
Set the default RenderMode that will be used when a new RenderProxy is created.
virtual PlaneProxy * createPlane(agxCollide::Plane *shape)=0
Interface for creating and returning PlaneProxy.
virtual CapsuleProxy * createCapsule(agxCollide::Capsule *shape)=0
Interface for creating and returning a CapsuleProxy.
virtual void setGlobalTransform(const agx::AffineMatrix4x4 &)
Set a transformation which could be applied to all transformations for RenderProxy's.
virtual ConeProxy * createCone(float radius, float height)=0
Interface for creating and returning a ConeProxy.
virtual TextProxy * createText(const agx::String &text, const agx::Vec3 &pos, float size=1)=0
Interface for creating and returning TextProxy.
virtual agxRender::WireShapeProxy * createWireShape(float radius, float height, const agx::Vec3 &previousEndPoint0, const agx::Vec3 &previousEndPoint1)=0
Interface for creating and returning a WireShapeProxy.
virtual TruncatedConeProxy * createCone(agxCollide::Cone *shape)=0
Interface for creating and returning a ConeProxy.
virtual agxRender::TrimeshProxy * createTrimesh(agxCollide::Trimesh *mesh)=0
Interface for creating and returning TrimeshProxy.
virtual BoxProxy * createBox(const agx::Vec3 &halfExtents)=0
Interface for creating and returning a BoxProxy.
virtual Graph::GraphRenderer * getGraphRenderer()=0
This method should create and return an implementation of a GraphRenderer, a class that can render th...
virtual HollowConeProxy * createHollowCone(float topRadius, float bottomRadius, float height, float thickness)=0
Interface for creating and returning a HollowConeProxy.
virtual PlaneProxy * createPlane(const agx::Vec3 &normal, agx::Real distance)=0
Interface for creating and returning PlaneProxy.
void setEnable(bool flag)
virtual TruncatedConeProxy * createTruncatedCone(float topRadius, float bottomRadius, float height)=0
Interface for creating and returning a TruncatedConeProxy.
virtual void setRenderManager(RenderManager *mgr)
virtual HollowCylinderProxy * createHollowCylinder(agxCollide::HollowCylinder *shape)=0
Interface for creating and returning a HollowCylinderProxy.
virtual CylinderProxy * createCylinder(agxCollide::Cylinder *shape)=0
Interface for creating and returning a CylinderProxy.
virtual SphereProxy * createSphere(agxCollide::Sphere *shape)=0
Interface for creating and returning a SphereProxy.
virtual HeightFieldProxy * createHeightfield(agxCollide::HeightField *shape)=0
Interface for creating and returning HeightfieldProxy.
virtual agxRender::ContactsProxy * createContacts(const agxCollide::GeometryContactPtrVector &)=0
Interface for creating and returning ContactsProxy.
virtual BoxProxy * createBox(agxCollide::Box *shape)=0
Interface for creating and returning a BoxProxy.
virtual HollowCylinderProxy * createHollowCylinder(float outerRadius, float height, float thickness)=0
Interface for creating and returning a HollowCylinderProxy.
RenderProxy::RenderMode m_defaultRenderMode
virtual CylinderProxy * createCylinder(float radius, float height)=0
Interface for creating and returning a CylinderProxy.
virtual HollowConeProxy * createHollowCone(agxCollide::HollowCone *shape)=0
Interface for creating and returning a HollowCone.
virtual ~RenderProxyFactory()
virtual SphereProxy * createSphere(float radius)=0
Interface for creating and returning a SphereProxy.
virtual RenderProxy * createSphereBatchRenderer(agxData::Buffer *positions, agxData::Buffer *rotations, agxData::Buffer *radii, agxData::Buffer *colors, agxData::Buffer *enableRendering, agxData::Value *bound, agx::Component *context)=0
Abstract base class which encapsulated information for rendering a specific shape.
Class holding rigid bodies that makes it possible to batch render these objects.
Subclass that implements a SphereProxy.
Subclass that implements a TextProxy.
Subclass that implements a TrimeshProxy.
Subclass that implements a TruncatedConeProxy.
Subclass that implements a WireShapeProxy.
A component is an object containing other objects, enabling hierarchical structuring.
Base class providing referencing counted objects.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Namespace containing classes for handling debug rendering of collision geometries,...
PlaneT< agx::Real > Plane