Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

xchen::SubdivisionManifold< dims, sp_dims > Class Template Reference

Subdivision manifold implemented by linear insertion followed by repeated averaging. More...

#include <SubdivisionManifold.H>

Inheritance diagram for xchen::SubdivisionManifold< dims, sp_dims >:

xchen::TensorManifold< dims, sp_dims > xchen::Model List of all members.

Public Methods

 SubdivisionManifold (int deg1,...)
 'deg1' and 'len1' (which is assumed following 'deg1') are of direction 'dims-1', and etc.

 SubdivisionManifold (int *degsz)
 'degsz[d]' and 'degsz[d+1]' is degree and size of dir d.

void Subdivide (int depth=1) const
 Subdivide 'depth' times.

void SetOpenCondition (int *l_ec, int *r_ec)
 Set left and right end condition. Default to open.

void SetOpenCondition (int ec)
 Set left and right end conditions of all directions to the same value.

void bzr2floatingEndBspline (int dir)

Detailed Description

template<int dims = 2, int sp_dims = 3>
class xchen::SubdivisionManifold< dims, sp_dims >

Subdivision manifold implemented by linear insertion followed by repeated averaging.

Open end condition is supported.


Constructor & Destructor Documentation

template<int dims, int sp_dims>
xchen::SubdivisionManifold< dims, sp_dims >::SubdivisionManifold int    deg1,
...   
[inline]
 

'deg1' and 'len1' (which is assumed following 'deg1') are of direction 'dims-1', and etc.

template<int dims, int sp_dims>
xchen::SubdivisionManifold< dims, sp_dims >::SubdivisionManifold int *    degsz [inline]
 

'degsz[d]' and 'degsz[d+1]' is degree and size of dir d.


Member Function Documentation

template<int dims, int sp_dims>
void xchen::SubdivisionManifold< dims, sp_dims >::bzr2floatingEndBspline int    dir
 

template<int dims, int sp_dims>
void xchen::SubdivisionManifold< dims, sp_dims >::SetOpenCondition int    ec
 

Set left and right end conditions of all directions to the same value.

template<int dims, int sp_dims>
void xchen::SubdivisionManifold< dims, sp_dims >::SetOpenCondition int *    l_ec,
int *    r_ec
 

Set left and right end condition. Default to open.

template<int dims, int sp_dims>
void xchen::SubdivisionManifold< dims, sp_dims >::Subdivide int    depth = 1 const [virtual]
 

Subdivide 'depth' times.

Implements xchen::TensorManifold< dims, sp_dims >.


The documentation for this class was generated from the following file:
Generated on Wed Apr 7 21:40:52 2004 by doxygen1.2.18