Commit cd4bd263 authored by Marcel Campen's avatar Marcel Campen

Added setSceneRadius function



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17027 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6631b6b9
......@@ -1171,6 +1171,12 @@ void ViewControlPlugin::setViewingDirection( Vector _direction, Vector _upvector
//-----------------------------------------------------------------------------
void ViewControlPlugin::setSceneRadius( double _radius , int _viewer){
PluginFunctions::setSceneRadius(_radius, _viewer);
}
//-----------------------------------------------------------------------------
void ViewControlPlugin::rotate( Vector _axis, double _angle, Vector _center , int _viewer) {
PluginFunctions::rotate( _axis, _angle, _center ,_viewer);
}
......
......@@ -267,6 +267,9 @@ class ViewControlPlugin : public QObject, BaseInterface , PickingInterface, Logg
/// Set the viewing direction
void setViewingDirection( Vector _direction, Vector _upvector , int _viewer = PluginFunctions::ALL_VIEWERS );
/// Set scene radius
void setSceneRadius( double _radius , int _viewer = PluginFunctions::ALL_VIEWERS );
/// Rotate Scene
void rotate( Vector _axis, double _angle, Vector _center , int _viewer = PluginFunctions::ALL_VIEWERS );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment