|
CRINSA-team2025 V1
Documentation du Club Robot INSA Rennes 2025
|
Fonctions membres publiques | |
| Cube (char *nom_forme, float pos_x, float pos_y, float pos_z, float width, float height, float depth, float quat_x, float quat_y, float quat_z, float quat_w, char *color, float transparency) | |
| void | setPosition (float pos_x, float pos_y, float pos_z) |
| modifie la position du cube | |
| void | setXPosition (float pos_x) |
| modifie la position x du cube | |
| void | setYPosition (float pos_y) |
| modifie la position y du cube | |
| void | setZPosition (float pos_z) |
| modifie la position z du cube | |
| void | setSize (float width, float height, float depth) |
| modifie la taille du cube | |
| void | setWidth (float width) |
| modifie la largeur du cube | |
| void | setHeight (float height) |
| modifie la hauteur du cube | |
| void | setDepth (float depth) |
| modifie la profondeur du cube | |
| void | setRotation (float quat_x, float quat_y, float quat_z, float quat_w) |
| modifie le quaternion de rotation du cube | |
| void | setQuatX (float quat_x) |
| modifie le quaternion de rotation x du cube | |
| void | setQuatY (float quat_y) |
| modifie le quaternion de rotation y du cube | |
| void | setQuatZ (float quat_z) |
| modifie le quaternion de rotation z du cube | |
| void | setQuatW (float quat_w) |
| modifie le quaternion de rotation w du cube | |
| void | setColor (char *color) |
| modifie la couleur du cube | |
| void | setTransparency (float transparency) |
| modifie la transparence du cube | |
| void | sendCubeToTeleplot (Teleplot &teleplot) |
| envoie l'état actuel du cube à téléplot | |
| Cube::Cube | ( | char * | nom_forme, |
| float | pos_x, | ||
| float | pos_y, | ||
| float | pos_z, | ||
| float | width, | ||
| float | height, | ||
| float | depth, | ||
| float | quat_x, | ||
| float | quat_y, | ||
| float | quat_z, | ||
| float | quat_w, | ||
| char * | color, | ||
| float | transparency ) |
@Brief Créé un cube pour le téléplot
| nom_forme | |
| pos_x | |
| pos_y | |
| pos_z | |
| width | |
| height | |
| depth | |
| quat_x | |
| quat_y | |
| quat_z | |
| quat_w | |
| color | |
| transparency |
| void Cube::sendCubeToTeleplot | ( | Teleplot & | teleplot | ) |
envoie l'état actuel du cube à téléplot
This function will send the current state of the cube to Teleplot, including all modified parameters. It will only send the parameters that have been modified since the last call to this function.
| teleplot | The Teleplot instance to which the cube data will be sent. |
| void Cube::setColor | ( | char * | color | ) |
modifie la couleur du cube
| color |
| void Cube::setDepth | ( | float | depth | ) |
modifie la profondeur du cube
| depth |
| void Cube::setHeight | ( | float | height | ) |
modifie la hauteur du cube
| height |
| void Cube::setPosition | ( | float | pos_x, |
| float | pos_y, | ||
| float | pos_z ) |
modifie la position du cube
| pos_x | |
| pos_y | |
| pos_z |
| void Cube::setQuatW | ( | float | quat_w | ) |
modifie le quaternion de rotation w du cube
| quat_w |
| void Cube::setQuatX | ( | float | quat_x | ) |
modifie le quaternion de rotation x du cube
| quat_x |
| void Cube::setQuatY | ( | float | quat_y | ) |
modifie le quaternion de rotation y du cube
| quat_y |
| void Cube::setQuatZ | ( | float | quat_z | ) |
modifie le quaternion de rotation z du cube
| quat_z |
| void Cube::setRotation | ( | float | quat_x, |
| float | quat_y, | ||
| float | quat_z, | ||
| float | quat_w ) |
modifie le quaternion de rotation du cube
| quat_x | |
| quat_y | |
| quat_z | |
| quat_w |
| void Cube::setSize | ( | float | width, |
| float | height, | ||
| float | depth ) |
modifie la taille du cube
| width | |
| height | |
| depth |
| void Cube::setTransparency | ( | float | transparency | ) |
modifie la transparence du cube
| transparency |
| void Cube::setWidth | ( | float | width | ) |
modifie la largeur du cube
| width |
| void Cube::setXPosition | ( | float | pos_x | ) |
modifie la position x du cube
| pos_x |
| void Cube::setYPosition | ( | float | pos_y | ) |
modifie la position y du cube
| pos_y |
| void Cube::setZPosition | ( | float | pos_z | ) |
modifie la position z du cube
| pos_z |