Documentation 6b54b78464
Loading...
Searching...
No Matches
CFreeFormBlending Class Reference

Class that defines the particular kind of blending function for the free form deformation. More...

#include <CFreeFormBlending.hpp>

Inheritance diagram for CFreeFormBlending:
[legend]

Public Member Functions

 CFreeFormBlending ()
 Constructor of the class.
 
virtual ~CFreeFormBlending ()
 Destructor of the class.
 
virtual su2double GetBasis (short val_i, su2double val_t)
 A pure virtual member.
 
virtual su2double GetDerivative (short val_i, su2double val_t, short val_order)
 A pure virtual member.
 
virtual void SetOrder (short val_order, short n_controlpoints)
 A pure virtual member.
 
su2double GetOrder () const
 Returns the current order of the function.
 
su2double GetDegree () const
 Returns the current degree of the function.
 

Protected Attributes

unsigned short Order
 Order of the polynomial basis.
 
unsigned short Degree
 Degree (Order - 1) of the polynomial basis.
 
unsigned short nControl
 Number of control points.
 

Detailed Description

Class that defines the particular kind of blending function for the free form deformation.

Author
T. Albring

Constructor & Destructor Documentation

◆ CFreeFormBlending()

CFreeFormBlending::CFreeFormBlending ( )
default

Constructor of the class.

◆ ~CFreeFormBlending()

CFreeFormBlending::~CFreeFormBlending ( )
virtualdefault

Destructor of the class.

Member Function Documentation

◆ GetBasis()

virtual su2double CFreeFormBlending::GetBasis ( short  val_i,
su2double  val_t 
)
inlinevirtual

A pure virtual member.

Parameters
[in]val_i- index of the basis function.
[in]val_t- Point at which we want to evaluate the i-th basis.

Reimplemented in CBezierBlending, and CBSplineBlending.

◆ GetDegree()

su2double CFreeFormBlending::GetDegree ( ) const
inline

Returns the current degree of the function.

◆ GetDerivative()

virtual su2double CFreeFormBlending::GetDerivative ( short  val_i,
su2double  val_t,
short  val_order 
)
inlinevirtual

A pure virtual member.

Parameters
[in]val_i- index of the basis function.
[in]val_t- Point at which we want to evaluate the derivative of the i-th basis.
[in]val_order- Order of the derivative.

Reimplemented in CBezierBlending, and CBSplineBlending.

◆ GetOrder()

su2double CFreeFormBlending::GetOrder ( ) const
inline

Returns the current order of the function.

◆ SetOrder()

virtual void CFreeFormBlending::SetOrder ( short  val_order,
short  n_controlpoints 
)
inlinevirtual

A pure virtual member.

Parameters
[in]val_order- The new order of the function.
[in]n_controlpoints- the new number of control points.

Reimplemented in CBezierBlending, and CBSplineBlending.

Member Data Documentation

◆ Degree

unsigned short CFreeFormBlending::Degree
protected

Degree (Order - 1) of the polynomial basis.

◆ nControl

unsigned short CFreeFormBlending::nControl
protected

Number of control points.

◆ Order

unsigned short CFreeFormBlending::Order
protected

Order of the polynomial basis.


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