MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::ComputeData Concept Reference

Universal concept for types that can be used as data in compute operations. More...

#include <DataSpec.hpp>

Concept definition

template<typename T>
std::same_as<T, Kakshya::DataVariant> ||
std::same_as<T, std::vector<Kakshya::DataVariant>> ||
std::same_as<T, std::shared_ptr<Kakshya::SignalSourceContainer>> ||
std::same_as<T, Kakshya::Region> ||
std::same_as<T, Kakshya::RegionGroup> ||
std::same_as<T, std::vector<Kakshya::RegionSegment>> ||
std::is_base_of_v<Eigen::MatrixBase<T>, T> ||
std::constructible_from<Kakshya::DataVariant, T>
Universal concept for types that can be used as data in compute operations.
Definition DataSpec.hpp:37

Detailed Description

Universal concept for types that can be used as data in compute operations.

Defines the valid types that can flow through the computation pipeline. Supports both direct type matching and constructible conversion patterns.

Following types are considered valid:

  • Kakshya::DataVariant: Universal data container
  • std::shared_ptr<Kakshya::SignalSourceContainer>: Shared signal sources
  • Kakshya::Region: Spatial/temporal markers
  • Kakshya::RegionGroup: Collections of regions
  • Eigen::MatrixBase<T>: Any Eigen matrix type (e.g., Vector3f, MatrixXd)
  • std::vector<Kakshya::RegionSegment>: Cached region data (with values)
  • Any type constructible from Kakshya::DataVariant

Definition at line 37 of file DataSpec.hpp.