Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::BSplineSurface< N, Real > Class Template Reference

#include <GteBSplineSurface.h>

Inheritance diagram for gte::BSplineSurface< N, Real >:
Inheritance graph
[legend]

Public Member Functions

 BSplineSurface (BasisFunctionInput< Real > const input[2], Vector< N, Real > const *controls)
 
virtual void Evaluate (Real u, Real v, unsigned int maxOrder, Vector< N, Real > values[6]) const
 
BasisFunction< Real > const & GetBasisFunction (int dim) const
 
Vector< N, Real > const & GetControl (int i0, int i1) const
 
Vector< N, Real > * GetControls ()
 
Vector< N, Real > const * GetControls () const
 
int GetNumControls (int dim) const
 
void SetControl (int i0, int i1, Vector< N, Real > const &control)
 
- Public Member Functions inherited from gte::ParametricSurface< N, Real >
Vector< N, Real > GetPosition (Real u, Real v) const
 
Real GetUMax () const
 
Real GetUMin () const
 
Vector< N, Real > GetUTangent (Real u, Real v) const
 
Real GetVMax () const
 
Real GetVMin () const
 
Vector< N, Real > GetVTangent (Real u, Real v) const
 
bool IsRectangular () const
 
 operator bool () const
 
virtual ~ParametricSurface ()
 

Private Member Functions

Vector< N, Real > Compute (unsigned int uOrder, unsigned int vOrder, int iumin, int iumax, int ivmin, int ivmax) const
 

Private Attributes

std::array< BasisFunction< Real >, 2 > mBasisFunction
 
std::vector< Vector< N, Real > > mControls
 
std::array< int, 2 > mNumControls
 

Additional Inherited Members

- Protected Member Functions inherited from gte::ParametricSurface< N, Real >
 ParametricSurface (Real umin, Real umax, Real vmin, Real vmax, bool rectangular)
 
- Protected Attributes inherited from gte::ParametricSurface< N, Real >
bool mConstructed
 
bool mRectangular
 
Real mUMax
 
Real mUMin
 
Real mVMax
 
Real mVMin
 

Detailed Description

template<int N, typename Real>
class gte::BSplineSurface< N, Real >

Definition at line 17 of file GteBSplineSurface.h.

Constructor & Destructor Documentation

template<int N, typename Real >
gte::BSplineSurface< N, Real >::BSplineSurface ( BasisFunctionInput< Real > const  input[2],
Vector< N, Real > const *  controls 
)

Definition at line 61 of file GteBSplineSurface.h.

Member Function Documentation

template<int N, typename Real >
Vector< N, Real > gte::BSplineSurface< N, Real >::Compute ( unsigned int  uOrder,
unsigned int  vOrder,
int  iumin,
int  iumax,
int  ivmin,
int  ivmax 
) const
private

Definition at line 182 of file GteBSplineSurface.h.

template<int N, typename Real >
void gte::BSplineSurface< N, Real >::Evaluate ( Real  u,
Real  v,
unsigned int  maxOrder,
Vector< N, Real >  values[6] 
) const
virtual

Implements gte::ParametricSurface< N, Real >.

Definition at line 147 of file GteBSplineSurface.h.

template<int N, typename Real >
BasisFunction< Real > const & gte::BSplineSurface< N, Real >::GetBasisFunction ( int  dim) const
inline

Definition at line 100 of file GteBSplineSurface.h.

template<int N, typename Real >
Vector< N, Real > const & gte::BSplineSurface< N, Real >::GetControl ( int  i0,
int  i1 
) const

Definition at line 134 of file GteBSplineSurface.h.

template<int N, typename Real >
Vector< N, Real > * gte::BSplineSurface< N, Real >::GetControls ( )
inline

Definition at line 118 of file GteBSplineSurface.h.

template<int N, typename Real >
Vector< N, Real > const * gte::BSplineSurface< N, Real >::GetControls ( ) const
inline

Definition at line 112 of file GteBSplineSurface.h.

template<int N, typename Real >
int gte::BSplineSurface< N, Real >::GetNumControls ( int  dim) const
inline

Definition at line 106 of file GteBSplineSurface.h.

template<int N, typename Real >
void gte::BSplineSurface< N, Real >::SetControl ( int  i0,
int  i1,
Vector< N, Real > const &  control 
)

Definition at line 124 of file GteBSplineSurface.h.

Member Data Documentation

template<int N, typename Real >
std::array<BasisFunction<Real>, 2> gte::BSplineSurface< N, Real >::mBasisFunction
private

Definition at line 54 of file GteBSplineSurface.h.

template<int N, typename Real >
std::vector<Vector<N, Real> > gte::BSplineSurface< N, Real >::mControls
private

Definition at line 56 of file GteBSplineSurface.h.

template<int N, typename Real >
std::array<int, 2> gte::BSplineSurface< N, Real >::mNumControls
private

Definition at line 55 of file GteBSplineSurface.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05