Robotran C Documentation
Public Attributes | List of all members
ExtForces_3D Struct Reference

Define 3D field for showing an external force sensor. More...

#include <mbs_saver.h>

Public Attributes

int show
 
int show_x
 
int show_y
 
int show_z
 
int show_resultant
 Flags to activate (1), desactivate (0), or no modification (-1) to the visibility of the force global/component/resultant. More...
 
int position_at_end
 Put the end of the arrow on the sensor (1) or the beginning (0). More...
 
int * color_x
 
int * color_y
 
int * color_z
 
int * color_resultant
 Color of each arrow in RGB format. More...
 
double diameter
 Diameter of the arrow, use 0 to not update the diameter. More...
 
double scale
 Scale of the arrow, use 0 to not update the diameter. More...
 

Detailed Description

Define 3D field for showing an external force sensor.

Member Data Documentation

◆ color_resultant

int* color_resultant

Color of each arrow in RGB format.

Each is an array of 3 integers between 0 and 255. To keep existing color, set pointer to NULL.

◆ color_x

int* color_x

◆ color_y

int* color_y

◆ color_z

int* color_z

◆ diameter

double diameter

Diameter of the arrow, use 0 to not update the diameter.

◆ position_at_end

int position_at_end

Put the end of the arrow on the sensor (1) or the beginning (0).

To keep existing value, set to -1.

◆ scale

double scale

Scale of the arrow, use 0 to not update the diameter.

◆ show

int show

◆ show_resultant

int show_resultant

Flags to activate (1), desactivate (0), or no modification (-1) to the visibility of the force global/component/resultant.

◆ show_x

int show_x

◆ show_y

int show_y

◆ show_z

int show_z

The documentation for this struct was generated from the following file: