rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rexlib::extent_slot_descriptor Class Reference

Type erased form of an extent_slot. More...

#include <rexlib/core/operation/shape_rule/extent_slot_descriptor.hpp>

Public Member Functions

 extent_slot_descriptor (std::size_t pivot_index, const extent_transform &transform) noexcept
 Construct a slot descriptor.
 
std::size_t get_pivot_index () const noexcept
 Get the index of the extent variable the axis derives from.
 
const extent_transform & get_transform () const noexcept
 Get the transform applied to the extent of the variable.
 

Detailed Description

Type erased form of an extent_slot.

See also
extent_slot

Constructor & Destructor Documentation

◆ extent_slot_descriptor()

rexlib::extent_slot_descriptor::extent_slot_descriptor ( std::size_t  pivot_index,
const extent_transform &  transform 
)
noexcept

Construct a slot descriptor.

Parameters
pivot_indexIndex of the extent variable the axis derives from.
transformTransform applied to the extent of the variable.

Member Function Documentation

◆ get_pivot_index()

std::size_t rexlib::extent_slot_descriptor::get_pivot_index ( ) const
noexcept

Get the index of the extent variable the axis derives from.

Returns
std::size_t The index.

◆ get_transform()

const extent_transform & rexlib::extent_slot_descriptor::get_transform ( ) const
noexcept

Get the transform applied to the extent of the variable.

Returns
const extent_transform& The transform.

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