
|
|
This file was automatically generated from diguyFormation.h. Do not edit this file directly; the changes will be lost.Includes: declspec_diguy.h
Contents:
Link against: libdiguy
class diguyFormation
|
class BDI_DECLSPEC_diguy diguyFormation { public: const char* get_name(); int set_name(const char* name); const char* get_type_name(); const char* get_guide_name(); int set_num_followers(int number); int get_num_followers(); int set_follower_rz_offset(int follower_index, float rz); const char* to_lua_string(float relative_x = 0.0f, float relative_y = 0.0f); float get_follower_x_offset(int follower_index); float get_follower_y_offset(int follower_index); float get_follower_rz_offset(int follower_index); int set_role_name(int follower_index, const char* role_name); const char* get_role_name(int follower_index); const char* get_follower_instance(int follower_index); int set_subgroup_size(int size); int get_subgroup_size(); int get_num_subgroups(); int set_first_subgroup_index(int index); int get_first_subgroup_index(); int set_follower_offset(int follower_index, float x, float y); float get_radius();
function diguyFormation::get_name |
Prototype:
Description:const char* get_name();
Returns the name of the object. This pointer will never be NULL.Returns:
name of the objectCallable From:
- C++
- Script
function diguyFormation::set_name |
Prototype:
Description:int set_name(const char* name);
This function sets the name of this object.Returns:
0 on success, -1 on failureCallable From:
- C++
- Script
function diguyFormation::get_type_name |
Prototype:
Returns:const char* get_type_name();
type name of the object; this value will never be NULLCallable From:
- C++
- Script
function diguyFormation::get_guide_name |
Prototype:
Returns:const char* get_guide_name();
guide name used by this formationCallable From:
- C++
- Script
function diguyFormation::set_num_followers |
Prototype:
Description:int set_num_followers(int number);
Sets number of followers in the formation.Arguments:
Returns:
number number of followers in this formation
0 if successCallable From:
- C++
- Script
function diguyFormation::get_num_followers |
Prototype:
Returns:int get_num_followers();
number of members of formation (leader not included)Callable From:
- C++
- Script
function diguyFormation::set_follower_rz_offset |
Prototype:
Description:int set_follower_rz_offset(int follower_index, float rz);
Sets rz offset of member relative to leader.Arguments:
Returns:
follower_index index of follower to modify rz orientation of member relative to leader, in degrees
0 if successCallable From:
- C++
- Script
function diguyFormation::to_lua_string |
Prototype:
Description:const char* to_lua_string(float relative_x = 0.0f, float relative_y = 0.0f);
Creates a string describing the formation, with positions being relative to relative_x and relative_y.Arguments:
Returns:
relative_x, relative_y relative positions in meters
string containing lua scriptCallable From:
- C++
- Script
function diguyFormation::get_follower_x_offset |
Prototype:
Description:float get_follower_x_offset(int follower_index);
Gets x offset of formation member relative to leader.Arguments:
Returns:
follower_index index of follower in formation (does not include leader)
x offset in metersCallable From:
- C++
- Script
function diguyFormation::get_follower_y_offset |
Prototype:
Description:float get_follower_y_offset(int follower_index);
Gets y offset of formation member relative to leader.Arguments:
Returns:
follower_index index of follower in formation (does not include leader)
y offset in metersCallable From:
- C++
- Script
function diguyFormation::get_follower_rz_offset |
Prototype:
Description:float get_follower_rz_offset(int follower_index);
Gets rz (or yaw) of formation member relative to leader.Arguments:
Returns:
follower_index index of follower in formation (does not include leader)
rz offset in degreesCallable From:
- C++
- Script
function diguyFormation::set_role_name |
Prototype:
Description:int set_role_name(int follower_index, const char* role_name);
Sets role name of member.Arguments:
Returns:
follower_index index of follower to modify role_name new role
0 if successCallable From:
- C++
- Script
function diguyFormation::get_role_name |
Prototype:
Description:const char* get_role_name(int follower_index);
Gets role. Roles generally correlate with a character's carried object.Arguments:
Returns:
follower_index index of follower in formation (does not include leader)
string containing role, or "character" if specific role specifiedCallable From:
- C++
- Script
function diguyFormation::get_follower_instance |
Prototype:
Arguments:const char* get_follower_instance(int follower_index);
Returns:
follower_index index of follower in formation (does not include leader)
string containing name of follower, if definedCallable From:
- C++
- Script
function diguyFormation::set_subgroup_size |
Prototype:
Description:int set_subgroup_size(int size);
Sets subgroup size. If > 0, this means that there are subgroups and that they will be applied.Arguments:
Returns:
size size of subgroup
0 if successCallable From:
- C++
- Script
function diguyFormation::get_subgroup_size |
Prototype:
Description:int get_subgroup_size();
Gets size of subgroup. If > 0, this means that there are subgroups and that they will be applied.Returns:
number of followers in subgroupCallable From:
- C++
- Script
function diguyFormation::get_num_subgroups |
Prototype:
Description:int get_num_subgroups();
Get number of subgroupsReturns:
number of subgroupsCallable From:
- C++
- Script
function diguyFormation::set_first_subgroup_index |
Prototype:
Description:int set_first_subgroup_index(int index);
Sets index of first subgroup. Any members before this member are not in a subgroup.Arguments:
Returns:
index index of first follower in subgroup
0 if successCallable From:
- C++
- Script
function diguyFormation::get_first_subgroup_index |
Prototype:
Description:int get_first_subgroup_index();
Gets index of first formation member that's in a subgroup.Returns:
index of formation memberCallable From:
- C++
- Script
function diguyFormation::set_follower_offset |
Prototype:
Description:int set_follower_offset(int follower_index, float x, float y);
Sets x, y offsets of member relative to leader.Arguments:
Returns:
follower_index index of follower to modify x, y offsets of member relative to leader, in meters
0 if successCallable From:
- C++
- Script
function diguyFormation::get_radius |
Prototype:
Returns:float get_radius();
radius of formation, in metersCallable From:
- C++
- Script
ALL RIGHTS RESERVED.
These coded instructions, statements, and computer programs contain unpublished proprietary information of Boston Dynamics and are protected by Copyright Laws of the United States. They may not be used, duplicated, or disclosed in any form, in whole or in part, without the prior written consent from Boston Dynamics.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the government is subject to restrictions as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Sofware clause at DFARS 252.227-7013 and/or in similar or successor clauses in the FAR, or the DOD or NASA FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the Commercial Computer Software--Restricted Rights at 48 CFR 52.227-19, as applicable. Unpublished-rights reserved under the Copyright Laws of the United States.
Contractor/Manufacturer is:
Boston Dynamics/78 Fourth Avenue/Waltham MA 02451.