EASY-ROB™ Kernel
v8.606
|
Method class to access geometry manager 'GeoMngr' methods. More...
#include <erk_capi.h>
Static Public Member Functions | |
static DLLAPI int ER_STDCALL | erGeoMngr_GetVersion () |
GeoMngr Version. More... | |
static DLLAPI TErGeoHandle ER_STDCALL | erGeoMngr_LoadGeometry (ER_HND er_hnd, LOAD_GEOMETRY_DATA *p_load_geometry_data) |
Loads a geometry by host application if callback function is defined, see erSetCallBack_LoadGeometryProc(), TerLoadGeometryProc. More... | |
static DLLAPI int ER_STDCALL | erGeoMngr_FreeGeometry (ER_HND er_hnd, TErGeoHandle GeoHandle) |
Free or delete a geometry by host application if callback function is defined, see erSetCallBack_FreeGeometryProc(), TerFreeGeometryProc. More... | |
static DLLAPI int ER_STDCALL | erGeoMngr_GetNumGeometries (ER_HND er_hnd) |
Get number of loaded geometries for specified device. More... | |
static DLLAPI int ER_STDCALL | erGeoMngr_GetGeometry (ER_HND er_hnd, int geometryIndex, LOAD_GEOMETRY_DATA *p_load_geometry_data, DFRAME *kinMat) |
Fills structure LOAD_GEOMETRY_DATA with geometry loading data. More... | |
static DLLAPI int ER_STDCALL | erGeoMngr_GetNumAxisGeometries (ER_HND er_hnd, int axis_nr) |
Get number of geometries belonging to an axis/joint of a kinematics/device. More... | |
static DLLAPI int ER_STDCALL | erGeoMngr_GetAxisGeometry (ER_HND er_hnd, int axis_nr, int geometryIndex, LOAD_GEOMETRY_DATA *p_load_geometry_data, DFRAME *kinMat) |
Fills structure LOAD_GEOMETRY_DATA for geometry with geometryIndex belonging to joint with axis_nr, see erGeoMngr_GetNumAxisGeometries() More... | |
static DLLAPI const double *ER_STDCALL | erGeoMngr_GetGeometryBBox (TErGeoHandle geometryHandle) |
Return BBox array of complete geometry. More... | |
static DLLAPI const double *ER_STDCALL | erGeoMngr_GetAxisBBox (ER_HND er_hnd, int axis_id) |
static DLLAPI const double *ER_STDCALL | erGeoMngr_GetDeviceBBox (ER_HND er_hnd) |
static DLLAPI int ER_STDCALL | erGeoMngr_GetGeometryNumObjs (TErGeoHandle geometryHandle) |
static DLLAPI int ER_STDCALL | erGeoMngr_GetGeometryObjNumPoints (TErGeoHandle geometryHandle, int objidx) |
static DLLAPI double *ER_STDCALL | erGeoMngr_GetGeometryObjPoint (TErGeoHandle geometryHandle, int objidx, int index) |
static DLLAPI int ER_STDCALL | erGeoMngr_GetGeometryObjNumPointNormals (TErGeoHandle geometryHandle, int objidx) |
static DLLAPI double *ER_STDCALL | erGeoMngr_GetGeometryObjPointNormal (TErGeoHandle geometryHandle, int objidx, int index) |
static DLLAPI int ER_STDCALL | erGeoMngr_GetGeometryObjNumLines (TErGeoHandle geometryHandle, int objidx) |
static DLLAPI size_t *ER_STDCALL | erGeoMngr_GetGeometryObjLine (TErGeoHandle geometryHandle, int objidx, int index) |
static DLLAPI int ER_STDCALL | erGeoMngr_GetGeometryObjNumPolygons (TErGeoHandle geometryHandle, int objidx) |
static DLLAPI size_t *ER_STDCALL | erGeoMngr_GetGeometryObjPolygon (TErGeoHandle geometryHandle, int objidx, int index) |
static DLLAPI double *ER_STDCALL | erGeoMngr_GetGeometryObjColor (TErGeoHandle geometryHandle, int objidx) |
static DLLAPI long ER_STDCALL | erGeoMngr_GetGeometryObjColorCode (TErGeoHandle geometryHandle, int objidx) |
static DLLAPI int ER_STDCALL | erGeoMngr_GetGeometryCloneCount (TErGeoHandle geometryHandle) |
static DLLAPI TErGeoHandle ER_STDCALL | erGeoMngr_GetGeometryCloneHandle (TErGeoHandle geometryHandle) |
static DLLAPI int ER_STDCALL | erGeoMngr_SetGeometryCollisionHandle (TErGeoHandle geometryHandle, ER_COLLISION_HND collisionHandle) |
static DLLAPI ER_COLLISION_HND *ER_STDCALL | erGeoMngr_GetGeometryCollisionHandle (TErGeoHandle geometryHandle) |
static DLLAPI int ER_STDCALL | erGeoMngr_SetGeometryIsCollided (TErGeoHandle geometryHandle, int isCollided) |
static DLLAPI int *ER_STDCALL | erGeoMngr_GetGeometryIsCollided (TErGeoHandle geometryHandle) |
static DLLAPI int ER_STDCALL | erGeoMngr_CheckBoundingBoxCollision (DFRAME *T1, const double *bbox1, DFRAME *T2, const double *bbox2, double tolerance) |
Static Public Member Functions inherited from ERK_CAPI_GEO | |
static DLLAPI int ER_STDCALL | erUpdateGeo (ER_HND er_hnd) |
Updates all geometry location for each robot joint. This function causes the call of callback function TerUpdateGeometryProc(). The resulted geometry location w.r.t. robot base is the product of KinMat and GeoMat. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from ERK_CAPI_GEO | |
static ERK_CAPI_GEO_MNGR | erk_capi_geo_mngr |
Method class to access geometry manager methods. More... | |
Static Public Attributes inherited from ERK_CAPI | |
static ERK_CAPI_ADMIN | erk_capi_admin |
Method class to administrate this Robotics Simulation Kernel. More... | |
static ERK_CAPI_DEVICES | erk_capi_devices |
Method class to create, attach, update devices, for kinematics calculations and for motion planning and -execution. More... | |
static ERK_CAPI_SIM | erk_capi_sim |
Method class for simulation settings. More... | |
static ERK_CAPI_AUTOPATH | erk_capi_autopath |
Method class for collision free path planning. More... | |
static ERK_CAPI_TARGETS | erk_capi_targets |
Method class for paths and tags. More... | |
static ERK_CAPI_GEO | erk_capi_geo |
Method class to handle 3D Geometry Data. More... | |
static ERK_CAPI_SYS | erk_capi_sys |
Method class for mathematical calculations, simulation status, units. More... | |
Method class to access geometry manager 'GeoMngr' methods.
|
static |
|
static |
Free or delete a geometry by host application if callback function is defined, see erSetCallBack_FreeGeometryProc(), TerFreeGeometryProc.
[in] | er_hnd | unique kinematics handle ER_HND |
[in] | GeoHandle | unique geometry handle TErGeoHandle |
0 | - OK |
1 | - Error |
|
static |
|
static |
Fills structure LOAD_GEOMETRY_DATA for geometry with geometryIndex belonging to joint with axis_nr, see erGeoMngr_GetNumAxisGeometries()
[in] | er_hnd | unique kinematics handle ER_HND |
[in] | axis_nr | axis/joint index [-num_dofs_passive ... num_dofs_active] of device, where num_dofs_passive and -active are the number passive and acitve joint of devicejoints |
[in] | geometryIndex | geometry index [0..num_geos_axis-1] of the requested geometry data, where num_geos_axis is the number of geometries belonging to axis_nr |
[out] | p_load_geometry_data | geometry data, LOAD_GEOMETRY_DATA |
[out] | kinMat | joint coorsys location w.r.t. robot base, DFRAME |
0 | - OK |
1 | - Error or no geometry data available |
|
static |
|
static |
Fills structure LOAD_GEOMETRY_DATA with geometry loading data.
[in] | er_hnd | unique kinematics handle ER_HND |
[in] | geometryIndex | - geometry index [0..numGeos-1] of the requested geometry data, where numGoes is the number of geometries |
[out] | p_load_geometry_data | - geometry data, LOAD_GEOMETRY_DATA |
[out] | kinMat | joint coorsys location w.r.t. robot base, DFRAME |
0 | - OK |
1 | - Error or no geometry data available |
|
static |
Return BBox array of complete geometry.
[in] | geometryHandle | geometry handle TErGeoHandle |
pointer | - pointer to BBox array size 6 |
NULL | - Error, BBox not available |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Get number of geometries belonging to an axis/joint of a kinematics/device.
[in] | er_hnd | unique kinematics handle ER_HND |
[in] | axis_nr | axis/joint index [-num_dofs_passive ... num_dofs_active] of device, where num_dofs_passive and -active are the number passive and acitve joint of device/joints |
0 | - no geometries available for this joint |
>0 | - number of geometries belonging to joint represented by axis_nr |
|
static |
Get number of loaded geometries for specified device.
[in] | er_hnd | unique kinematics handle ER_HND |
0 | - no geometries loaded or invalid handle |
>0 | - number of loaded geometries |
|
static |
GeoMngr Version.
version | GeoMngr version number |
|
static |
Loads a geometry by host application if callback function is defined, see erSetCallBack_LoadGeometryProc(), TerLoadGeometryProc.
[in] | er_hnd | unique kinematics handle ER_HND |
[in] | p_load_geometry_data | geometry data, LOAD_GEOMETRY_DATA |
TErGeoHandle | unique geometry handle created by GeoMngr |
|
static |
|
static |