MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Creator Class Reference

#include <Creator.hpp>

+ Collaboration diagram for MayaFlux::Creator:

Public Member Functions

auto read_audio () -> std::shared_ptr< Kakshya::SoundFileContainer >
 
auto read_audio (const std::string &filepath) -> std::shared_ptr< Kakshya::SoundFileContainer >
 
std::shared_ptr< Kakshya::CameraContainer > read_camera ()
 Let the user pick a camera and capture mode, then read it as above.
 
std::shared_ptr< Kakshya::CameraContainer > read_camera (const IO::CameraConfig &config)
 Open a camera device as a live source container.
 
auto read_file () -> std::shared_ptr< Kakshya::CompositeContainer >
 Choose a CSV or TSV file and load it as Composite data.
 
auto read_file (const std::string &filepath, std::optional< Kakshya::CompositeLayout > layout=std::nullopt) -> std::shared_ptr< Kakshya::CompositeContainer >
 Load a supported Composite file into an owning container.
 
std::shared_ptr< Nodes::Input::HIDNode > read_hid (const Nodes::Input::HIDConfig &config, const Core::InputBinding &binding)
 Create and register HID input node.
 
auto read_image (const std::string &filepath, int desired_channels=4, std::optional< Kakshya::Region > region=std::nullopt) -> std::shared_ptr< Buffers::TextureBuffer >
 
auto read_image (int desired_channels=4, std::optional< Kakshya::Region > region=std::nullopt) -> std::shared_ptr< Buffers::TextureBuffer >
 
std::shared_ptr< Nodes::Input::InputNode > read_input (const Nodes::Input::InputConfig &config, const Core::InputBinding &binding)
 Create and register generic input node.
 
auto read_mesh () -> MeshGroupHandle
 
auto read_mesh (const std::string &filepath) -> MeshGroupHandle
 
auto read_mesh_network () -> std::shared_ptr< Nodes::Network::MeshNetwork >
 
auto read_mesh_network (const std::string &filepath, IO::TextureResolver resolver=nullptr) -> std::shared_ptr< Nodes::Network::MeshNetwork >
 
std::shared_ptr< Nodes::Input::MIDINode > read_midi (const Nodes::Input::MIDIConfig &config, const Core::InputBinding &binding)
 Create and register MIDI input node.
 
std::shared_ptr< Nodes::Input::OSCNode > read_osc (const Nodes::Input::OSCConfig &config, const Core::InputBinding &binding)
 Create and register OSC input node.
 
std::shared_ptr< Nodes::Input::TabletNode > read_tablet (const Nodes::Input::TabletConfig &config, const Core::InputBinding &binding)
 Create and register tablet input node.
 
auto read_volume () -> std::shared_ptr< Buffers::VolumeGridBuffer >
 
auto read_volume (const std::string &filepath) -> std::shared_ptr< Buffers::VolumeGridBuffer >
 

Public Attributes

Evolve evolve
 Sets a system going from a config: state that persists, a rule that advances it every cycle, and rendering attached.
 
Mint mint
 Builds a visible structure from a StructureConfig: resolves its source, constructs and registers what it needs, and attaches rendering.
 

Private Member Functions

std::shared_ptr< Kakshya::CompositeContainer > load_composite_container (const std::string &filepath, std::optional< Kakshya::CompositeLayout > layout)
 
std::shared_ptr< Buffers::TextureBuffer > load_image_buffer (const std::string &filepath, int desired_channels, std::optional< Kakshya::Region > region)
 
std::vector< std::shared_ptr< Buffers::MeshBuffer > > load_mesh_buffers (const std::string &filepath)
 
std::shared_ptr< Nodes::Network::MeshNetwork > load_mesh_network (const std::string &filepath, IO::TextureResolver resolver)
 
std::shared_ptr< Kakshya::SoundFileContainer > load_sound_container (const std::string &filepath)
 
std::shared_ptr< Buffers::VolumeGridBuffer > load_volume_buffer (const std::string &filepath)
 

Detailed Description

Definition at line 113 of file Creator.hpp.


The documentation for this class was generated from the following files: