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

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

Base class of BzrTensorManifold and SubdivisionManifold. More...

#include <TensorManifold.H>

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

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

Public Methods

 TensorManifold ()
 TensorManifold (mesh_t const &m)
 TensorManifold (TensorManifold const &rhs, Transform const &)
 Construct transformed rhs. initialization does not apply to subdivision data.

mesh_t & ControlMesh ()
bool & IsRational ()
 the default is not rational.

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


Protected Types

enum  { bzr_surface, bsp_surface, sbd_surface }

Protected Methods

void GenerateUI ()
 Generate user interface from Model's attributes.

void DrawBrief () const
 display routine when mouse-transforming the Model.

void Draw () const
void draw (mesh_t &mesh) const
void set2bzr_srf_type ()
void set2bsp_srf_type ()
void set2sbd_srf_type ()
void init_sbd ()
void clean_sbd ()

Protected Attributes

mesh_t ctl_msh
int deg [dims]
bool rational
mesh_t sbd_msh
Nmesh_t Nmsh
mesh_t Dmsh [dims]
bool sbd_initialized
enum xchen::TensorManifold:: { ... }  srf_type

Friends

class glModel
ostream & operator<< (ostream &os, TensorManifold const &m)

Detailed Description

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

Base class of BzrTensorManifold and SubdivisionManifold.


Member Enumeration Documentation

template<int dims = 2, int sp_dims = 3>
anonymous enum [protected]
 

Enumeration values:
bzr_surface 
bsp_surface 
sbd_surface 


Constructor & Destructor Documentation

template<int dims = 2, int sp_dims = 3>
xchen::TensorManifold< dims, sp_dims >::TensorManifold   [inline]
 

template<int dims = 2, int sp_dims = 3>
xchen::TensorManifold< dims, sp_dims >::TensorManifold mesh_t const &    m [inline]
 

template<int dims, int sp_dims>
xchen::TensorManifold< dims, sp_dims >::TensorManifold TensorManifold< dims, sp_dims > const &    rhs,
Transform const &   
[inline]
 

Construct transformed rhs. initialization does not apply to subdivision data.


Member Function Documentation

template<int dims = 2, int sp_dims = 3>
void xchen::TensorManifold< dims, sp_dims >::clean_sbd   [inline, protected]
 

template<int dims = 2, int sp_dims = 3>
mesh_t& xchen::TensorManifold< dims, sp_dims >::ControlMesh   [inline]
 

template<int dims, int sp_dims>
void xchen::TensorManifold< dims, sp_dims >::draw mesh_t &    mesh const [inline, protected]
 

template<int dims, int sp_dims>
void xchen::TensorManifold< dims, sp_dims >::Draw   [inline, protected, virtual]
 

Implements xchen::Model.

template<int dims, int sp_dims>
void xchen::TensorManifold< dims, sp_dims >::DrawBrief   const [inline, protected, virtual]
 

display routine when mouse-transforming the Model.

Reimplemented from xchen::Model.

template<int dims, int sp_dims>
void xchen::TensorManifold< dims, sp_dims >::GenerateUI   [inline, protected, virtual]
 

Generate user interface from Model's attributes.

Reimplemented from xchen::Model.

template<int dims = 2, int sp_dims = 3>
void xchen::TensorManifold< dims, sp_dims >::init_sbd   [inline, protected]
 

template<int dims = 2, int sp_dims = 3>
bool& xchen::TensorManifold< dims, sp_dims >::IsRational   [inline]
 

the default is not rational.

template<int dims = 2, int sp_dims = 3>
void xchen::TensorManifold< dims, sp_dims >::set2bsp_srf_type   [inline, protected]
 

template<int dims = 2, int sp_dims = 3>
void xchen::TensorManifold< dims, sp_dims >::set2bzr_srf_type   [inline, protected]
 

template<int dims = 2, int sp_dims = 3>
void xchen::TensorManifold< dims, sp_dims >::set2sbd_srf_type   [inline, protected]
 

template<int dims = 2, int sp_dims = 3>
virtual void xchen::TensorManifold< dims, sp_dims >::Subdivide int    depth = 1 const [pure virtual]
 

Subdivide 'depth' times.

Implemented in xchen::TensorBlossom< dims, sp_dims >, xchen::SubdivisionManifold< dims, sp_dims >, and xchen::TensorBlossom< 1, sp_dims >.


Friends And Related Function Documentation

template<int dims = 2, int sp_dims = 3>
friend class glModel [friend]
 

Reimplemented from xchen::Model.

Reimplemented in xchen::TensorBlossom< dims, sp_dims >, and xchen::TensorBlossom< 1, sp_dims >.

template<int dims = 2, int sp_dims = 3>
ostream& operator<< ostream &    os,
TensorManifold< dims, sp_dims > const &    m
[friend]
 


Member Data Documentation

template<int dims = 2, int sp_dims = 3>
mesh_t xchen::TensorManifold< dims, sp_dims >::ctl_msh [protected]
 

template<int dims = 2, int sp_dims = 3>
int xchen::TensorManifold< dims, sp_dims >::deg[dims] [protected]
 

template<int dims = 2, int sp_dims = 3>
mesh_t xchen::TensorManifold< dims, sp_dims >::Dmsh[dims] [protected]
 

template<int dims = 2, int sp_dims = 3>
Nmesh_t xchen::TensorManifold< dims, sp_dims >::Nmsh [protected]
 

template<int dims = 2, int sp_dims = 3>
bool xchen::TensorManifold< dims, sp_dims >::rational [protected]
 

template<int dims = 2, int sp_dims = 3>
bool xchen::TensorManifold< dims, sp_dims >::sbd_initialized [protected]
 

template<int dims = 2, int sp_dims = 3>
mesh_t xchen::TensorManifold< dims, sp_dims >::sbd_msh [protected]
 

enum { ... } xchen::TensorManifold< dims, sp_dims >::srf_type [protected]
 


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