MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
ViewportPreset.hpp File Reference
+ Include dependency graph for ViewportPreset.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Buffers
 
namespace  MayaFlux::Core
 

Typedefs

using MayaFlux::ViewportPresetConfig = Kinesis::NavigationConfig
 Alias for backwards compatibility; prefer Kinesis::NavigationConfig in new code.
 

Enumerations

enum class  MayaFlux::ViewportPresetMode : uint8_t { MayaFlux::Fly , MayaFlux::Orbit , MayaFlux::PanZoom2D , MayaFlux::Screenspace }
 Selects which navigation controller bind_viewport_preset installs. More...
 

Functions

void MayaFlux::bind_fly_preset (const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, const ViewportPresetConfig &config={}, const Kinesis::FlyKeyMap &key_map={}, const std::string &name="default")
 Bind the fly navigation controller to a window and render processor.
 
void MayaFlux::bind_fly_preset (const std::shared_ptr< Core::Window > &window, const ViewportPresetConfig &config={}, const Kinesis::FlyKeyMap &key_map={}, const std::string &name="default")
 Bind the fly navigation controller to all RenderProcessors currently registered against a window.
 
void MayaFlux::bind_orbit_preset (const std::shared_ptr< Core::Window > &window, const Kinesis::OrbitConfig &config={}, const Kinesis::OrbitKeyMap &key_map={}, const std::string &name="default")
 Bind the orbit navigation controller to all RenderProcessors currently registered against a window.
 
void MayaFlux::bind_orbit_preset (const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, const Kinesis::OrbitConfig &config={}, const Kinesis::OrbitKeyMap &key_map={}, const std::string &name="default")
 Bind the orbit navigation controller to a window and render processor.
 
void MayaFlux::bind_pan_zoom_preset (const std::shared_ptr< Core::Window > &window, const Kinesis::PanZoom2DConfig &config={}, const Kinesis::PanZoom2DKeyMap &key_map={}, const std::string &name="default")
 Bind the 2D pan/zoom controller to all RenderProcessors currently registered against a window.
 
void MayaFlux::bind_pan_zoom_preset (const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, const Kinesis::PanZoom2DConfig &config={}, const Kinesis::PanZoom2DKeyMap &key_map={}, const std::string &name="default")
 Bind the 2D pan/zoom controller to a window and render processor.
 
void MayaFlux::bind_screenspace_preset (const std::shared_ptr< Core::Window > &window, const Kinesis::NavigationConfig &config={}, const Kinesis::ScreenspaceKeyMap &key_map={}, const std::string &name="default")
 Bind the screenspace navigation controller to all RenderProcessors currently registered against a window.
 
void MayaFlux::bind_screenspace_preset (const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, const Kinesis::NavigationConfig &config={}, const Kinesis::ScreenspaceKeyMap &key_map={}, const std::string &name="default")
 Bind the screenspace navigation controller to a window and render processor.
 
void MayaFlux::bind_viewport_preset (const std::shared_ptr< Core::Window > &window, const std::shared_ptr< Buffers::RenderProcessor > &processor, ViewportPresetMode mode=ViewportPresetMode::Fly, const std::string &name="default")
 Bind a navigation preset to a window and render processor using default settings.
 
void MayaFlux::bind_viewport_preset (const std::shared_ptr< Core::Window > &window, ViewportPresetMode mode=ViewportPresetMode::Fly, const std::string &name="default")
 Bind a navigation preset to all RenderProcessors currently registered against a window using default settings.
 
void MayaFlux::unbind_viewport_preset (const std::shared_ptr< Core::Window > &window, const std::string &name="default")
 Cancel all event handlers registered by bind_viewport_preset() and restore the window input config to its state before bind was called.