|
Katana Plug-in APIs 0.1
|
#include <FnGLCoiManipulator.h>
Public Member Functions | |
| GLCoiManipulator () | |
| Constructor. | |
| virtual | ~GLCoiManipulator () |
| Destructor. | |
| virtual void | draw () |
| virtual void | pickerDraw (int64_t pickerID) |
| 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 attrs) |
| static FnAttribute::GroupAttribute | getTags () |
Protected Member Functions | |
| template<typename className > | |
| className * | addManipulatorHandle (const char *pluginName, const char *manipName, bool placeOnCenterOfInterest, FnKat::ViewerUtils::TransformMode transformMode, std::vector< GLTransformManipulatorHandle * > &handles) |
This class contains the set of manipulator handles required to translate or rotate an object around its center of interest.
This manipulator is composed of several axis for translate and rotation.
| className* GLCoiManipulator::addManipulatorHandle | ( | const char * | pluginName, |
| const char * | manipName, | ||
| bool | placeOnCenterOfInterest, | ||
| FnKat::ViewerUtils::TransformMode | transformMode, | ||
| std::vector< GLTransformManipulatorHandle * > & | handles | ||
| ) | [inline, protected] |
Function template to help add and initialize a manipulator handle.
| virtual void GLCoiManipulator::draw | ( | ) | [virtual] |
Overridden to clear the depth buffer after the Rotate handles have been rendered.
Reimplemented from Foundry::Katana::ViewerAPI::Manipulator.
| static FnAttribute::GroupAttribute GLCoiManipulator::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 GLCoiManipulator::matches | ( | FnAttribute::GroupAttribute | attrs | ) | [inline, static] |
Returns whether the manipulator is valid for the passed location attributes.
References Foundry::Katana::GroupAttribute::getChildByName(), and Foundry::Katana::Attribute::isValid().
| virtual void GLCoiManipulator::pickerDraw | ( | int64_t | pickerID | ) | [virtual] |
Overridden to clear the depth buffer after the Rotate handles have been rendered.
Reimplemented from Foundry::Katana::ViewerAPI::Manipulator.
1.7.3