MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ expose_handle_path()

template<typename Source, typename Access>
void MayaFlux::Portal::Forma::expose_handle_path ( FactoryTable< Source, Access > & table,
std::string name )

Register handle_path_form under a name.

The factory element needs points. The instance needs a rect. The initial state is the element's points.

Definition at line 51 of file DragGeometry.hpp.

52{
54 input.required("points");
55
56 table.template expose_typed<std::vector<glm::vec2>>(std::move(name),
59}
RecordBinding & required(std::string name)
Bind described attributes and configured child collections of a source element.
std::optional< Geometry::Form< std::vector< glm::vec2 > > > handle_path_form(const HandlePathInputs &input, const RectPlacementInputs &placement, std::string &error)
A Form of unit square points that a press grabs and a drag moves.
Reflect::RecordBinding< RectPlacementInputs, Source, Access > rect_placement_binding()
A binding for RectPlacementInputs that requires rect.

References handle_path_form(), MayaFlux::Portal::Forma::HandlePathInputs::points, rect_placement_binding(), and MayaFlux::Reflect::RecordBinding< Input, Source, Access >::required().

Here is the call graph for this function: