Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
AffineTransformProps Class Reference

#include <AffineTransform.h>

Inheritance diagram for AffineTransformProps:
Inheritance graph
Collaboration diagram for AffineTransformProps:
Collaboration graph

Public Types

enum  Interpolation {
  NN = 0 , LINEAR , CUBIC , UNDEFINED ,
  CUBIC2P_BSPLINE , CUBIC2P_CATMULLROM , CUBIC2P_B05C03 , SUPER ,
  LANCZOS , LANCZOS3_ADVANCED
}
 
enum  TransformType { USING_OPENCV = 0 , USING_NPPI }
 
- Public Types inherited from ModuleProps
enum  FrameFetchStrategy { PUSH , PULL }
 

Public Member Functions

 AffineTransformProps (TransformType _type, double _angle, int _x=0, int _y=0, double _scale=1.0)
 
size_t getSerializeSize ()
 
- Public Member Functions inherited from ModuleProps
 ModuleProps ()
 
 ModuleProps (float _fps)
 
 ModuleProps (float _fps, size_t _qlen, bool _logHealth)
 
 ModuleProps (FrameFetchStrategy _frameFetchStrategy)
 
size_t getQLen ()
 

Public Attributes

int x = 0
 
int y = 0
 
double scale = 1.0
 
double angle
 
Interpolation interpolation = AffineTransformProps::NN
 
TransformType type
 
- Public Attributes inherited from ModuleProps
float fps
 
size_t qlen
 
bool logHealth
 
int logHealthFrequency
 
size_t maxConcurrentFrames
 
int skipN = 0
 
int skipD = 1
 
FrameFetchStrategy frameFetchStrategy
 
QuePushStrategy::QuePushStrategyType quePushStrategyType
 
FIndexStrategy::FIndexStrategyType fIndexStrategyType
 
bool enableHealthCallBack
 
int healthUpdateIntervalInSec
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 

Member Enumeration Documentation

◆ Interpolation

Enumerator
NN 
LINEAR 
CUBIC 
UNDEFINED 
CUBIC2P_BSPLINE 
CUBIC2P_CATMULLROM 
CUBIC2P_B05C03 
SUPER 
LANCZOS 
LANCZOS3_ADVANCED 

◆ TransformType

Enumerator
USING_OPENCV 
USING_NPPI 

Constructor & Destructor Documentation

◆ AffineTransformProps()

AffineTransformProps::AffineTransformProps ( TransformType _type,
double _angle,
int _x = 0,
int _y = 0,
double _scale = 1.0 )
inline

Member Function Documentation

◆ getSerializeSize()

size_t AffineTransformProps::getSerializeSize ( )
inlinevirtual

Reimplemented from ModuleProps.

Here is the call graph for this function:

◆ serialize()

template<class Archive >
void AffineTransformProps::serialize ( Archive & ar,
const unsigned int version )
inlineprivate

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ angle

double AffineTransformProps::angle

◆ interpolation

Interpolation AffineTransformProps::interpolation = AffineTransformProps::NN

◆ scale

double AffineTransformProps::scale = 1.0

◆ type

TransformType AffineTransformProps::type

◆ x

int AffineTransformProps::x = 0

◆ y

int AffineTransformProps::y = 0

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