Surface material of shape instances in the raytrace environment.
More...
#include <RaytraceSurfaceMaterial.h>
|
| template<typename T , typename InstanceT > |
| static T | getAs (const InstanceT *instance) |
| |
| static void | set (agx::RigidBody *rb, RtSurfaceMaterial surfaceMaterial) |
| | Assign/associate a surface material to the given rigid body.
|
| |
| static void | set (agxCollide::Geometry *geometry, RtSurfaceMaterial surfaceMaterial) |
| | Assign/associate a surface material to the given geometry.
|
| |
| static void | set (agxCollide::Shape *shape, RtSurfaceMaterial surfaceMaterial) |
| | Assign/associate a surface material to the given shape.
|
| |
| static void | set (agxSDK::LinkedStructure *linkedStructure, RtSurfaceMaterial surfaceMaterial) |
| | Assign/associate a surface material to the given linked structure (agxCable::Cable, agxModel::Beam, agxVehicle::Track, ...).
|
| |
| static void | set (agxTerrain::Terrain *terrain, RtSurfaceMaterial surfaceMaterial) |
| | Assign/associate a surface material to the given terrain.
|
| |
| static void | set (agxTerrain::TerrainPager *terrainPager, RtSurfaceMaterial surfaceMaterial) |
| | Assign/associate a surface material to the given terrain (pager).
|
| |
| static void | set (agxWire::Wire *wire, RtSurfaceMaterial surfaceMaterial) |
| | Assign/associate a surface material to the given wire.
|
| |
Surface material of shape instances in the raytrace environment.
Definition at line 32 of file RaytraceSurfaceMaterial.h.
◆ assignTo() [1/8]
Assign/associate a surface material to the given rigid body.
All geometries (and their shapes) of the given rigid body will inherit surfaceMaterial unless they haven't been explicitly assigned/associated a material.
- Parameters
-
| rb | - rigid body to use the given surfaceMaterial |
◆ assignTo() [2/8]
Assign/associate a surface material to the given geometry.
All shapes of the given geometry will inherit surfaceMaterial unless they haven't been explicitly assigned/associated a material.
- Parameters
-
| geometry | - geometry to use the given surfaceMaterial |
◆ assignTo() [3/8]
Assign/associate a surface material to the given shape.
If/when the shape is added to a raytrace environment, surfaceMaterial will be used.
- Parameters
-
| shape | - shape to use the given surfaceMaterial |
◆ assignTo() [4/8]
◆ assignTo() [5/8]
Assign/associate a surface material to the given terrain.
The particles/granulars created from this terrain will also inherit the given material.
- Parameters
-
| terrain | - terrain to use the given surfaceMaterial |
◆ assignTo() [6/8]
Assign/associate a surface material to the given terrain (pager).
The particles/granulars created from terrain of this pager will also inherit the given material.
- Parameters
-
| terrainPager | - terrain pager to use the given surfaceMaterial |
◆ assignTo() [7/8]
Assign/associate a surface material to the given wire.
- Parameters
-
| wire | - wire to use the given surfaceMaterial |
◆ assignTo() [8/8]
◆ getAs()
template<typename T , typename InstanceT >
| T agxSensor::RtSurfaceMaterial::getAs |
( |
const InstanceT * |
instance | ) |
|
|
static |
◆ RtMaterial() [1/2]
| agxSensor::RtMaterial::RtMaterial |
( |
| ) |
|
|
inlineprotected |
◆ RtMaterial() [2/2]
◆ set() [1/7]
Assign/associate a surface material to the given rigid body.
All geometries (and their shapes) of the given rigid body will inherit surfaceMaterial unless they haven't been explicitly assigned/associated a material.
- Parameters
-
| rb | - rigid body to use the given surfaceMaterial |
| surfaceMaterial | - surface material instance |
◆ set() [2/7]
Assign/associate a surface material to the given geometry.
All shapes of the given geometry will inherit surfaceMaterial unless they haven't been explicitly assigned/associated a material.
- Parameters
-
| geometry | - geometry to use the given surfaceMaterial |
| surfaceMaterial | - surface material instance |
◆ set() [3/7]
Assign/associate a surface material to the given shape.
If/when the shape is added to a raytrace environment, surfaceMaterial will be used.
- Parameters
-
| shape | - shape to use the given surfaceMaterial |
| surfaceMaterial | - surface material instance |
◆ set() [4/7]
Assign/associate a surface material to the given linked structure (agxCable::Cable, agxModel::Beam, agxVehicle::Track, ...).
- Parameters
-
| linkedStructure | - linked structure to use the given surfaceMaterial |
| surfaceMaterial | - surface material instance |
◆ set() [5/7]
Assign/associate a surface material to the given terrain.
The particles/granulars created from this terrain will also inherit the given material.
- Parameters
-
| terrain | - terrain to use the given surfaceMaterial |
| surfaceMaterial | - surface material instance |
◆ set() [6/7]
Assign/associate a surface material to the given terrain (pager).
The particles/granulars created from terrain of this pager will also inherit the given material.
- Parameters
-
| terrainPager | - terrain pager to use the given surfaceMaterial |
| surfaceMaterial | - surface material instance |
◆ set() [7/7]
Assign/associate a surface material to the given wire.
- Parameters
-
| wire | - wire to use the given surfaceMaterial |
| surfaceMaterial | - surface material instance |
The documentation for this class was generated from the following file: