|
Katana Plug-in APIs 0.1
|
#include <FnGLTranslateManipulator.h>
Public Member Functions | |
| GLTranslateManipulator () | |
| Constructor. | |
| virtual | ~GLTranslateManipulator () |
| Destructor. | |
| void | setup () |
| Adds the child handles. Called when the manipulator is created. | |
Static Public Member Functions | |
| static Manipulator * | create () |
| Creates a new instance of the manipulator. | |
| static void | flush () |
| Flushes any cached data. | |
| static bool | matches (FnAttribute::GroupAttribute locationAttrs) |
| static FnAttribute::GroupAttribute | getTags () |
Static Public Attributes | |
| static const bool | kAlwaysAtLocationOrigin |
This class contains the set of manipulator handles required to translate an object in along all three axis. The actual work of translating objects and setting values is done by the handles.
This manipulator is composed of 3 axis handles (GLTranslateAxisHandle). They are oriented according to the rules set by GlTransformManipulatorHandle, which takes the orientation (world, view, object) into account.
| static FnAttribute::GroupAttribute GLTranslateManipulator::getTags | ( | ) | [inline, static] |
Returns a number of tags that can be queried by the UI to set up various settings, such as the visible name of the manipulator, what menu group it should be in, or the keyboard shortcut to activate it.
Reimplemented from Foundry::Katana::ViewerAPI::Manipulator.
References Foundry::Katana::GroupBuilder::build(), Foundry::Katana::ViewerAPI::ManipulatorPluginBase::kTagAlwaysAvailable, Foundry::Katana::ViewerAPI::ManipulatorPluginBase::kTagExclusiveInGroup, Foundry::Katana::ViewerAPI::ManipulatorPluginBase::kTagGroup, Foundry::Katana::ViewerAPI::ManipulatorPluginBase::kTagName, Foundry::Katana::ViewerAPI::ManipulatorPluginBase::kTagPriorityInGroup, Foundry::Katana::ViewerAPI::ManipulatorPluginBase::kTagShortcut, Foundry::Katana::ViewerAPI::ManipulatorPluginBase::kTagTechnology, and Foundry::Katana::GroupBuilder::set().
| static bool GLTranslateManipulator::matches | ( | FnAttribute::GroupAttribute | locationAttrs | ) | [inline, static] |
Returns whether the manipulator is valid for the passed location attributes.
References Foundry::Katana::GroupAttribute::getChildByName().
const bool GLTranslateManipulator::kAlwaysAtLocationOrigin [static] |
This flag changes the behaviour of the Translate Manipulators when a pivot is applied to the interactive transform. If this value is true then the manipulator will always be drawn at the objects origin, regardless of pivot.
1.7.3