|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
Selects which part of a tablet frame becomes the node's scalar. More...
#include <TabletNode.hpp>
Inheritance diagram for MayaFlux::Nodes::Input::TabletConfig:
Collaboration diagram for MayaFlux::Nodes::Input::TabletConfig:Public Member Functions | |
| TabletConfig & | at_slot (size_t index) |
Static Public Member Functions | |
| static TabletConfig | button (uint32_t bit) |
| A tool button as 0.0 or 1.0, smoothing disabled. | |
| static TabletConfig | contact () |
| Tip contact as 0.0 or 1.0. | |
| static TabletConfig | distance () |
| Hover height, 0 to 1. | |
| static TabletConfig | position_x () |
| Horizontal position, 0 to 1. | |
| static TabletConfig | position_y () |
| Vertical position, 0 to 1. | |
| static TabletConfig | pressure () |
| Tip pressure, 0 to 1. | |
| static TabletConfig | proximity () |
| Proximity as 0.0 or 1.0, smoothing disabled. | |
| static TabletConfig | rotation () |
| Barrel rotation, degrees. | |
| static TabletConfig | slider () |
| Barrel pressure or finger wheel, -1 to 1. | |
| static TabletConfig | tilt_x () |
| Tilt about the x axis, degrees. | |
| static TabletConfig | tilt_y () |
| Tilt about the y axis, degrees. | |
| static TabletConfig | wheel () |
| Wheel rotation this frame, degrees. | |
Public Attributes | |
| std::optional< uint32_t > | button_bit |
| When set, extract this BUTTONS bit. | |
| size_t | slot { Core::TabletFrame::X } |
| Frame slot driving the scalar. | |
| std::optional< Core::TabletState > | state_bit |
| When set, extract this STATE bit. | |
Public Attributes inherited from MayaFlux::Nodes::Input::InputConfig | |
| double | default_value { 0.0 } |
| Initial output value. | |
| size_t | history_size { 8 } |
| Input history buffer size. | |
| double | slew_rate { 1.0 } |
| Max change per sample (SLEW mode) | |
| SmoothingMode | smoothing { SmoothingMode::EXPONENTIAL } |
| double | smoothing_factor { 0.1 } |
| 0-1, higher = faster response | |
Selects which part of a tablet frame becomes the node's scalar.
One node projects one slot. Several nodes bound to the same tool receive the identical frame in one dispatch pass, so their outputs stay coherent without any coordination between them.
Definition at line 64 of file TabletNode.hpp.