Skip to content
Snippets Groups Projects
Commit 8b42d2c5 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Expose setCameraToBestFit

parent a4cc0c8f
No related branches found
No related tags found
No related merge requests found
Pipeline #11607 passed with warnings
......@@ -518,6 +518,9 @@ typedef sequence<Transform> TransformSeq;
/// \param configuration : the desired configuration of the camera
boolean setCameraTransform(in WindowID wid, in Transform configuration) raises (Error);
/// Set the camera to best fit.
boolean setCameraToBestFit(in WindowID wid) raises (Error);
// register a Node callback
boolean registerNodeCallback (in NodeCallback cb) raises (Error);
......
......@@ -280,6 +280,8 @@ namespace gepetto {
BIND_TO_WINDOWS_MANAGER_2(BOOL,setCameraTransform,WINDOW_ID,TRANSFORM)
BIND_TO_WINDOWS_MANAGER_1(BOOL,setCameraToBestFit,WINDOW_ID)
// ------------- Properties -------------------- //
BIND_TO_WINDOWS_MANAGER_1(STRING_LIST,getPropertyNames,STRING)
......
......@@ -158,6 +158,7 @@ public:
virtual bool setBackgroundColor2(const char* windowId,const Color colorCorba);
virtual Transform_slice* getCameraTransform(const char* windowId);
virtual bool setCameraTransform(const char* windowId, const value_type *configurationCorba);
virtual bool setCameraToBestFit(const char* windowId);
// ------------- Properties -------------------- //
virtual Names_t* getPropertyNames(const char* nodeName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment