|
mmcfilters
Public API documentation
|
Concepts and canonical family lists for concrete attribute computers. More...
#include "AttributeComputerDomain.hpp"#include "AttributeComputerFamily.hpp"#include "AreaComputer.hpp"#include "BitquadAttributeComputer.hpp"#include "BoundingBoxComputer.hpp"#include "ContourSideAttributeComputer.hpp"#include "FilledShapeAttributeComputer.hpp"#include "GrayLevelStatsComputer.hpp"#include "MaxDistComputer.hpp"#include "MaxDistExactComputer.hpp"#include "MomentBasedAttributeComputer.hpp"#include "TreeTopologyComputer.hpp"#include "VolumeComputer.hpp"#include <algorithm>#include <array>#include <concepts>#include <cstddef>#include <cstdint>#include <string_view>#include <type_traits>#include <tuple>#include <vector>
Go to the source code of this file.
Concepts | |
| concept | mmcfilters::attributes::computers::AttributeComputerProducesAttributes |
| Verifies that a computer declares its canonical output list. | |
| concept | mmcfilters::attributes::computers::AttributeComputer |
| Verifies the complete static protocol of one attribute computer. | |
| concept | mmcfilters::attributes::computers::TopologyAttributeComputer |
| Computer concept for families that do not read node altitudes. | |
| concept | mmcfilters::attributes::computers::AltitudeAttributeComputer |
| Computer concept for families that require a typed altitude span. | |
Typedefs | |
| using | mmcfilters::attributes::computers::TopologyAttributeComputers |
| Canonical list of topology/support families known to the backend. | |
| using | mmcfilters::attributes::computers::AltitudeAttributeComputers = std::tuple<VolumeComputer, GrayLevelStatsComputer> |
| Canonical list of altitude-aware families known to the pipeline. | |
| using | mmcfilters::attributes::computers::RegisteredAttributeComputers |
| Canonical list used by contract tests to cover every public family. | |
Functions | |
| template<AttributeComputer Computer> | |
| constexpr bool | mmcfilters::attributes::computers::producesAttribute (Attribute attribute) noexcept |
| Tests whether Computer is the declared producer of attribute. | |
| template<AttributeComputer Computer> | |
| constexpr std::size_t | mmcfilters::attributes::computers::numProducedAttributes () noexcept |
| Number of scalar descriptors declared by the family. | |
| template<AttributeComputer Computer> | |
| std::vector< Attribute > | mmcfilters::attributes::computers::runtimeProducedAttributes () |
| Materializes a computer's canonical output list as a runtime vector. | |
Variables | |
| template<class T> | |
| constexpr bool | mmcfilters::attributes::computers::detail::IsAttributeArrayV = IsAttributeArray<std::remove_cvref_t<T>>::value |
| Convenience value for checking whether a type is a canonical attribute array. | |
Concepts and canonical family lists for concrete attribute computers.
Definition in file AttributeComputerRegistry.hpp.
| using mmcfilters::attributes::computers::AltitudeAttributeComputers = std::tuple<VolumeComputer, GrayLevelStatsComputer> |
Canonical list of altitude-aware families known to the pipeline.
Definition at line 128 of file AttributeComputerRegistry.hpp.
Canonical list used by contract tests to cover every public family.
Definition at line 133 of file AttributeComputerRegistry.hpp.
Canonical list of topology/support families known to the backend.
Definition at line 121 of file AttributeComputerRegistry.hpp.
|
nodiscardconstexprnoexcept |
Number of scalar descriptors declared by the family.
Definition at line 106 of file AttributeComputerRegistry.hpp.
|
nodiscardconstexprnoexcept |
Tests whether Computer is the declared producer of attribute.
| attribute | Attribute requested by the operation. |
Definition at line 96 of file AttributeComputerRegistry.hpp.
|
nodiscard |
Materializes a computer's canonical output list as a runtime vector.
Definition at line 113 of file AttributeComputerRegistry.hpp.
|
inlineconstexpr |
Convenience value for checking whether a type is a canonical attribute array.
Definition at line 49 of file AttributeComputerRegistry.hpp.