Dynamic Neural Field Composer 0.0.0
A C++20 library and interactive application for building and simulating Dynamic Neural Field (DNF) architectures.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
dnf_composer::element::ResizeParameters Struct Referencefinal

Parameters for a 1D Resize element. More...

#include <resize.h>

Inheritance diagram for dnf_composer::element::ResizeParameters:
Collaboration diagram for dnf_composer::element::ResizeParameters:

Public Member Functions

bool operator== (const ResizeParameters &other) const
 
 ResizeParameters (const InterpolationMethod method=InterpolationMethod::LINEAR, const ElementDimensions &inputDimensions=ElementDimensions{})
 Construct Resize parameters.
 
std::string toString () const override
 
- Public Member Functions inherited from dnf_composer::element::ElementSpecificParameters
 ElementSpecificParameters ()=default
 
void print () const
 
virtual ~ElementSpecificParameters ()=default
 

Public Attributes

ElementDimensions inputDimensions
 Spatial dimensions of the source (input) field.
 
InterpolationMethod method
 Interpolation method used for resampling.
 

Detailed Description

Parameters for a 1D Resize element.

Constructor & Destructor Documentation

◆ ResizeParameters()

dnf_composer::element::ResizeParameters::ResizeParameters ( const InterpolationMethod  method = InterpolationMethod::LINEAR,
const ElementDimensions inputDimensions = ElementDimensions{} 
)
inlineexplicit

Construct Resize parameters.

Parameters
methodInterpolation method (default LINEAR).
inputDimensionsDimensions of the source field (drives the input buffer size).

Member Function Documentation

◆ operator==()

bool dnf_composer::element::ResizeParameters::operator== ( const ResizeParameters other) const
inline

◆ toString()

std::string dnf_composer::element::ResizeParameters::toString ( ) const
inlineoverridevirtual

Implements dnf_composer::element::ElementSpecificParameters.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ inputDimensions

ElementDimensions dnf_composer::element::ResizeParameters::inputDimensions

Spatial dimensions of the source (input) field.

◆ method

InterpolationMethod dnf_composer::element::ResizeParameters::method

Interpolation method used for resampling.


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