|
Katana Plug-in APIs 0.1
|
A ViewerDelegateComponent that logs its member function calls. More...
#include <LoggingComponent.h>
Public Member Functions | |
| void | setup () |
| Initializes the ViewportDelegateComponent's resources. | |
| void | cleanup () |
| Cleans up the ViewportDelegateComponent's resources. | |
| bool | locationEvent (const Foundry::Katana::ViewerAPI::ViewerLocationEvent &event, bool locationHandled) override |
| Notification of scene graph location state changes. | |
| void | locationsSelected (const std::vector< std::string > &locations) override |
| Called when the location selection changes in Katana. | |
Static Public Member Functions | |
| static void | flush () |
| Flush plugin Caches. | |
A ViewerDelegateComponent that logs its member function calls.
This is a generic utility ViewerDelegateComponent that prints whenever any of its "location*" callback functions are called. This can be used when debugging the Viewer, for example.
| static void LoggingComponent::flush | ( | ) | [static] |
Flush plugin Caches.
Allows to discard any cache for this plugin when a Flush Caches event occurs.
Reimplemented from Foundry::Katana::ViewerAPI::ViewerDelegateComponent.
| bool LoggingComponent::locationEvent | ( | const Foundry::Katana::ViewerAPI::ViewerLocationEvent & | event, |
| bool | locationHandled | ||
| ) | [override, virtual] |
Notification of scene graph location state changes.
| event | Struct containing location event information (see "FnViewerLocationEvent.h" for details). |
| locationHandled | True if an already processed (later added) ViewerDelegateComponent has stated that it is handling this location by returning true. In this case, the ViewerDelegateComponent should not draw its own representation. |
Implements Foundry::Katana::ViewerAPI::ViewerDelegateComponent.
| void LoggingComponent::locationsSelected | ( | const std::vector< std::string > & | locationPaths | ) | [override, virtual] |
Called when the location selection changes in Katana.
| locationPaths | The selected location paths. |
Implements Foundry::Katana::ViewerAPI::ViewerDelegateComponent.
1.7.3