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

Define modification to be done on a inline. 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...
 
char * shape_url
 Path to the shape file. More...
 
double * position
 Position (x, y, z) of the inline, Set to NULL to not update it. More...
 
double * scale
 Scale (x, y, z) of the inline, 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 prj_relative_url
 True (1) if the shape url (shape_url) start for project folder (without initial path separator). More...
 
int visible
 Flag to show the shape (1) or hide it (0). Set to -1 to not update it. More...
 
struct UpdateInlinenext
 Pointer to next inline to be updated. More...
 

Detailed Description

Define modification to be done on a inline.

Member Data Documentation

◆ body_name

char* body_name

Name of the body with the shape, disregarded if on_base is true.

◆ next

struct UpdateInline* next

Pointer to next inline to be updated.

◆ on_base

int on_base

True (1) if the shape is on the basebody.

◆ position

double* position

Position (x, y, z) of the inline, Set to NULL to not update it.

◆ prj_relative_url

int prj_relative_url

True (1) if the shape url (shape_url) start for project folder (without initial path separator).

False if the path is not.

◆ rotation

double* rotation

Rotation (around x, y, z) of the inline, Set to NULL to not update it.

◆ scale

double* scale

Scale (x, y, z) of the inline, Set to NULL to not update it.

◆ shape_name

char* shape_name

Name of the shape in the shape list.

In case of multiple occurrence, the first is considered.

◆ shape_url

char* shape_url

Path to the shape file.

Can be absolute (or relative from executable) or relative (without initial path separator) from project directory (requires prj_relative_url to be true). Set to NULL to not update it.

◆ transparency

double transparency

Transparency (1 is invisible, 0 is fully visible) of the inline, Set to negative value to not update it.

◆ visible

int visible

Flag to show the shape (1) or hide it (0). Set to -1 to not update it.


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