Xmipp  v3.23.11-Nereus
Public Member Functions | Public Attributes | List of all members
GeoTransformerSettings< T > Class Template Reference

#include <ageo_transformer.h>

Inheritance diagram for GeoTransformerSettings< T >:
Inheritance graph
[legend]
Collaboration diagram for GeoTransformerSettings< T >:
Collaboration graph
[legend]

Public Member Functions

virtual ~GeoTransformerSettings ()=default
 
virtual void check () const
 

Public Attributes

std::vector< HW * > hw
 
Dimensions dims = Dimensions(0)
 
InterpolationDegree degree
 
InterpolationType type
 
bool doWrap
 
defaultVal
 

Detailed Description

template<typename T>
class GeoTransformerSettings< T >

Definition at line 45 of file ageo_transformer.h.

Constructor & Destructor Documentation

◆ ~GeoTransformerSettings()

template<typename T >
virtual GeoTransformerSettings< T >::~GeoTransformerSettings ( )
virtualdefault

Member Function Documentation

◆ check()

template<typename T >
virtual void GeoTransformerSettings< T >::check ( ) const
inlinevirtual

Reimplemented in BSplineTransformSettings< T >.

Definition at line 55 of file ageo_transformer.h.

55  {
56  if (0 == hw.size()) {
57  REPORT_ERROR(ERR_VALUE_INCORRECT, "HW contains zero (0) devices");
58  }
59  if ( ! dims.isValid()) {
60  REPORT_ERROR(ERR_LOGIC_ERROR, "Dimensions are invalid");
61  }
62  }
#define REPORT_ERROR(nerr, ErrormMsg)
Definition: xmipp_error.h:211
std::vector< HW * > hw
constexpr bool isValid() const
Definition: dimensions.h:138
Incorrect value received.
Definition: xmipp_error.h:195
Some logical error in the pipeline.
Definition: xmipp_error.h:147

Member Data Documentation

◆ defaultVal

template<typename T >
T GeoTransformerSettings< T >::defaultVal

Definition at line 53 of file ageo_transformer.h.

◆ degree

template<typename T >
InterpolationDegree GeoTransformerSettings< T >::degree

Definition at line 50 of file ageo_transformer.h.

◆ dims

template<typename T >
Dimensions GeoTransformerSettings< T >::dims = Dimensions(0)

Definition at line 49 of file ageo_transformer.h.

◆ doWrap

template<typename T >
bool GeoTransformerSettings< T >::doWrap

Definition at line 52 of file ageo_transformer.h.

◆ hw

template<typename T >
std::vector<HW*> GeoTransformerSettings< T >::hw

Definition at line 48 of file ageo_transformer.h.

◆ type

template<typename T >
InterpolationType GeoTransformerSettings< T >::type

Definition at line 51 of file ageo_transformer.h.


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