95 template<
typename T,
typename InstanceT>
96 static T getAs(
const InstanceT* instance );
152 set( instance, *
this );
157 using RtMaterial::RtMaterial;
160 template<
typename T,
typename InstanceT>
163 return T{ getRtMaterial( instance ) };
The geometry representation used by the collision detection engine.
Basic implementation of any structure where bodies are linked/constrained together in a well defined ...
Base type for all surface, and transmission, materials used in raytracing.
Surface material of shape instances in the raytrace environment.
static void set(agxSDK::LinkedStructure *linkedStructure, RtSurfaceMaterial surfaceMaterial)
Assign/associate a surface material to the given linked structure (agxCable::Cable,...
RtSurfaceMaterial assignTo(agxTerrain::TerrainPager *terrainPager) const
Assign/associate a surface material to the given terrain (pager).
static void set(agxTerrain::TerrainPager *terrainPager, RtSurfaceMaterial surfaceMaterial)
Assign/associate a surface material to the given terrain (pager).
static void set(agxCollide::Geometry *geometry, RtSurfaceMaterial surfaceMaterial)
Assign/associate a surface material to the given geometry.
RtSurfaceMaterial assignTo(agxTerrain::Terrain *terrain) const
Assign/associate a surface material to the given terrain.
RtSurfaceMaterial assignTo(agx::RigidBody *rb) const
Assign/associate a surface material to the given rigid body.
static void set(agxCollide::Shape *shape, RtSurfaceMaterial surfaceMaterial)
Assign/associate a surface material to the given shape.
static void set(agxWire::Wire *wire, RtSurfaceMaterial surfaceMaterial)
Assign/associate a surface material to the given wire.
RtSurfaceMaterial assignTo(agxSDK::LinkedStructure *linkedStructure) const
Assign/associate a surface material to the given linked structure (agxCable::Cable,...
RtSurfaceMaterial assignTo(agxWire::Wire *wire) const
Assign/associate a surface material to the given wire.
static void set(agxTerrain::Terrain *terrain, RtSurfaceMaterial surfaceMaterial)
Assign/associate a surface material to the given terrain.
RtSurfaceMaterial assignTo(agxCollide::Shape *shape) const
Assign/associate a surface material to the given shape.
static void set(agx::RigidBody *rb, RtSurfaceMaterial surfaceMaterial)
Assign/associate a surface material to the given rigid body.
static T getAs(const InstanceT *instance)
RtSurfaceMaterial assignTo(agxCollide::Geometry *geometry) const
Assign/associate a surface material to the given geometry.
RtSurfaceMaterial assignTo(T *instance) const
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
Interface and placeholder of controllers/helpers for wires.
The rigid body class, combining a geometric model and a frame of reference.
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...