Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
f2c::rp::SpiralOrder Class Reference

#include <spiral_order.h>

Inheritance diagram for f2c::rp::SpiralOrder:
Inheritance graph
[legend]

Public Member Functions

void setSpiralSize (size_t sp_size)
 
 SpiralOrder (size_t sp_size=2)
 
 ~SpiralOrder ()
 
- Public Member Functions inherited from f2c::rp::SingleCellSwathsOrderBase
virtual F2CSwaths genSortedSwaths (const F2CSwaths &swaths, uint32_t variant=0) const
 
virtual ~SingleCellSwathsOrderBase ()=default
 

Protected Member Functions

void sortSwaths (F2CSwaths &swaths) const override
 
- Protected Member Functions inherited from f2c::rp::SingleCellSwathsOrderBase
virtual void changeStartPoint (F2CSwaths &swaths, uint32_t variant) const
 

Private Member Functions

void spiral (F2CSwaths &swaths, size_t offset, size_t size) const
 

Private Attributes

size_t spiral_size
 

Detailed Description

Definition at line 10 of file spiral_order.h.

Constructor & Destructor Documentation

◆ SpiralOrder()

f2c::rp::SpiralOrder::SpiralOrder ( size_t  sp_size = 2)
explicit

Definition at line 6 of file spiral_order.cpp.

◆ ~SpiralOrder()

f2c::rp::SpiralOrder::~SpiralOrder ( )
default

Member Function Documentation

◆ setSpiralSize()

void f2c::rp::SpiralOrder::setSpiralSize ( size_t  sp_size)

Definition at line 12 of file spiral_order.cpp.

◆ sortSwaths()

void f2c::rp::SpiralOrder::sortSwaths ( F2CSwaths swaths) const
overrideprotectedvirtual

Implements f2c::rp::SingleCellSwathsOrderBase.

Definition at line 16 of file spiral_order.cpp.

◆ spiral()

void f2c::rp::SpiralOrder::spiral ( F2CSwaths swaths,
size_t  offset,
size_t  size 
) const
private

Definition at line 28 of file spiral_order.cpp.

Member Data Documentation

◆ spiral_size

size_t f2c::rp::SpiralOrder::spiral_size
private

Definition at line 20 of file spiral_order.h.


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


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31