Define modifications to be done on a basic shape. More...
#include <mbs_saver.h>
Public Attributes | |
int | on_base |
True (1) if the shape is on the basebody. More... | |
char * | body_name |
Name of the body with the shape, disregarded if on_base is true. More... | |
char * | shape_name |
Name of the shape in the shape list. More... | |
int | shape_nature |
Indicate if the shape is a box, cylinder, cone or sphere: More... | |
double * | size |
Size, SHAPE_BOX only, along x, y, z. Set to NULL to not update it. More... | |
double * | radius |
Radius, except for SHAPE_BOX, of the shape. Set to NULL to not update it. More... | |
double * | height |
Height, except for SHAPE_BOX and SHAPE_SPHERE, of the shape. More... | |
double * | position |
Position (x, y, z) of the shape, Set to NULL to not update it. More... | |
double * | scale |
Scale (x, y, z) of the shape, Set to NULL to not update it. More... | |
double * | rotation |
Rotation (around x, y, z) of the inline, Set to NULL to not update it. More... | |
double | transparency |
Transparency (1 is invisible, 0 is fully visible) of the inline, Set to negative value to not update it. More... | |
int | visible |
Flag to show the shape (1) or hide it (0). Set to -1 to not update it. More... | |
struct UpdateShape * | next |
Pointer to next shape to be updated. More... | |
Define modifications to be done on a basic shape.
char* body_name |
Name of the body with the shape, disregarded if on_base
is true.
double* height |
Height, except for SHAPE_BOX and SHAPE_SPHERE, of the shape.
Set to NULL to not update it.
struct UpdateShape* next |
Pointer to next shape to be updated.
int on_base |
True (1) if the shape is on the basebody.
double* position |
Position (x, y, z) of the shape, Set to NULL to not update it.
double* radius |
Radius, except for SHAPE_BOX, of the shape. Set to NULL to not update it.
double* rotation |
Rotation (around x, y, z) of the inline, Set to NULL to not update it.
double* scale |
Scale (x, y, z) of the shape, Set to NULL to not update it.
char* shape_name |
Name of the shape in the shape list.
In case of multiple occurrence, the first is considered.
int shape_nature |
Indicate if the shape is a box, cylinder, cone or sphere:
double* size |
Size, SHAPE_BOX only, along x, y, z. Set to NULL to not update it.
double transparency |
Transparency (1 is invisible, 0 is fully visible) of the inline, Set to negative value to not update it.
int visible |
Flag to show the shape (1) or hide it (0). Set to -1 to not update it.