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

#include <GteNURBSSurface.h>

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

Public Member Functions

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 > const * GetControls () const
 
Vector< N, Real > * GetControls ()
 
int GetNumControls (int dim) const
 
Real const & GetWeight (int i0, int i1) const
 
Real const * GetWeights () const
 
Real * GetWeights ()
 
 NURBSSurface (BasisFunctionInput< Real > const input[2], Vector< N, Real > const *controls, Real const *weights)
 
void SetControl (int i0, int i1, Vector< N, Real > const &control)
 
void SetWeight (int i0, int i1, Real weight)
 
- 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

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

Private Attributes

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

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::NURBSSurface< N, Real >

Definition at line 18 of file GteNURBSSurface.h.

Constructor & Destructor Documentation

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

Definition at line 68 of file GteNURBSSurface.h.

Member Function Documentation

template<int N, typename Real >
void gte::NURBSSurface< N, Real >::Compute ( unsigned int  uOrder,
unsigned int  vOrder,
int  iumin,
int  iumax,
int  ivmin,
int  ivmax,
Vector< N, Real > &  X,
Real &  w 
) const
private

Definition at line 258 of file GteNURBSSurface.h.

template<int N, typename Real >
void gte::NURBSSurface< 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 196 of file GteNURBSSurface.h.

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

Definition at line 116 of file GteNURBSSurface.h.

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

Definition at line 161 of file GteNURBSSurface.h.

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

Definition at line 128 of file GteNURBSSurface.h.

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

Definition at line 134 of file GteNURBSSurface.h.

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

Definition at line 122 of file GteNURBSSurface.h.

template<int N, typename Real >
Real const & gte::NURBSSurface< N, Real >::GetWeight ( int  i0,
int  i1 
) const

Definition at line 183 of file GteNURBSSurface.h.

template<int N, typename Real >
Real const * gte::NURBSSurface< N, Real >::GetWeights ( ) const
inline

Definition at line 140 of file GteNURBSSurface.h.

template<int N, typename Real >
Real * gte::NURBSSurface< N, Real >::GetWeights ( )
inline

Definition at line 146 of file GteNURBSSurface.h.

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

Definition at line 152 of file GteNURBSSurface.h.

template<int N, typename Real >
void gte::NURBSSurface< N, Real >::SetWeight ( int  i0,
int  i1,
Real  weight 
)

Definition at line 174 of file GteNURBSSurface.h.

Member Data Documentation

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

Definition at line 60 of file GteNURBSSurface.h.

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

Definition at line 62 of file GteNURBSSurface.h.

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

Definition at line 61 of file GteNURBSSurface.h.

template<int N, typename Real >
std::vector<Real> gte::NURBSSurface< N, Real >::mWeights
private

Definition at line 63 of file GteNURBSSurface.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:06