ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
BSplineElements< Degree > Struct Template Reference

#include <BSplineData.h>

Inheritance diagram for BSplineElements< Degree >:
Collaboration diagram for BSplineElements< Degree >:

Public Member Functions

template<bool Left>
void _addPeriodic (int offset, bool negate)
 
 BSplineElements (void)
 
 BSplineElements (int res, int offset, bool dirichlet)
 
void upSample (BSplineElements &high) const
 
void differentiate (BSplineElements< Degree-1 > &d) const
 
void print (FILE *fp=stdout) const
 

Static Public Member Functions

static int _ReflectLeft (int offset, int res)
 
static int _ReflectRight (int offset, int res)
 
static int _RotateLeft (int offset, int res)
 
static int _RotateRight (int offset, int res)
 

Public Attributes

int denominator
 

Static Public Attributes

static const bool _Primal = (Degree&1)==1
 
static const int _Off = (Degree+1)/2
 

Detailed Description

template<int Degree>
struct BSplineElements< Degree >

Definition at line 55 of file BSplineData.h.

Constructor & Destructor Documentation

◆ BSplineElements() [1/2]

template<int Degree>
BSplineElements< Degree >::BSplineElements ( void  )
inline

Definition at line 69 of file BSplineData.h.

References BSplineElements< Degree >::denominator.

◆ BSplineElements() [2/2]

template<int Degree>
BSplineElements< Degree >::BSplineElements ( int  res,
int  offset,
bool  dirichlet 
)

Member Function Documentation

◆ _addPeriodic()

template<int Degree>
template<bool Left>
void BSplineElements< Degree >::_addPeriodic ( int  offset,
bool  negate 
)

◆ _ReflectLeft()

template<int Degree>
static int BSplineElements< Degree >::_ReflectLeft ( int  offset,
int  res 
)
static

◆ _ReflectRight()

template<int Degree>
static int BSplineElements< Degree >::_ReflectRight ( int  offset,
int  res 
)
static

◆ _RotateLeft()

template<int Degree>
static int BSplineElements< Degree >::_RotateLeft ( int  offset,
int  res 
)
static

◆ _RotateRight()

template<int Degree>
static int BSplineElements< Degree >::_RotateRight ( int  offset,
int  res 
)
static

◆ differentiate()

template<int Degree>
void BSplineElements< Degree >::differentiate ( BSplineElements< Degree-1 > &  d) const

◆ print()

template<int Degree>
void BSplineElements< Degree >::print ( FILE *  fp = stdout) const
inline

Definition at line 75 of file BSplineData.h.

References BSplineElements< Degree >::denominator, and size.

◆ upSample()

template<int Degree>
void BSplineElements< Degree >::upSample ( BSplineElements< Degree > &  high) const

Member Data Documentation

◆ _Off

template<int Degree>
const int BSplineElements< Degree >::_Off = (Degree+1)/2
static

Definition at line 58 of file BSplineData.h.

◆ _Primal

template<int Degree>
const bool BSplineElements< Degree >::_Primal = (Degree&1)==1
static

Definition at line 57 of file BSplineData.h.

◆ denominator

template<int Degree>
int BSplineElements< Degree >::denominator

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