NURBS Class Reference
#include <nurbs.h>
List of all members.
Public Member Functions |
| | NURBS (const Transform *o2w, const Transform *w2o, bool ReverseOrientation, int nu, int uorder, const float *uknot, float umin, float umax, int nv, int vorder, const float *vknot, float vmin, float vmax, const float *P, bool isHomogeneous) |
| | ~NURBS () |
| BBox | ObjectBound () const |
| BBox | WorldBound () const |
| bool | CanIntersect () const |
| void | Refine (vector< Reference< Shape > > &refined) const |
Private Attributes |
| int | nu |
| int | uorder |
| int | nv |
| int | vorder |
| float | umin |
| float | umax |
| float | vmin |
| float | vmax |
| float * | uknot |
| float * | vknot |
| bool | isHomogeneous |
| float * | P |
Detailed Description
Definition at line 38 of file nurbs.h.
Constructor & Destructor Documentation
| NURBS::NURBS |
( |
const Transform * |
o2w, |
|
|
const Transform * |
w2o, |
|
|
bool |
ReverseOrientation, |
|
|
int |
nu, |
|
|
int |
uorder, |
|
|
const float * |
uknot, |
|
|
float |
umin, |
|
|
float |
umax, |
|
|
int |
nv, |
|
|
int |
vorder, |
|
|
const float * |
vknot, |
|
|
float |
vmin, |
|
|
float |
vmax, |
|
|
const float * |
P, |
|
|
bool |
isHomogeneous | |
|
) |
| | |
Definition at line 146 of file nurbs.cpp.
References isHomogeneous, nu, nv, P, uknot, umax, umin, uorder, vknot, vmax, vmin, and vorder.
Member Function Documentation
| bool NURBS::CanIntersect |
( |
|
) |
const [inline, virtual] |
| BBox NURBS::ObjectBound |
( |
|
) |
const [virtual] |
| void NURBS::Refine |
( |
vector< Reference< Shape > > & |
refined |
) |
const [virtual] |
Reimplemented from Shape.
Definition at line 221 of file nurbs.cpp.
References ParamSet::AddFloat(), ParamSet::AddInt(), ParamSet::AddNormal(), ParamSet::AddPoint(), CreateTriangleMeshShape(), Cross(), isHomogeneous, Lerp(), Normalize(), nu, NURBSEvaluateSurface(), nv, Shape::ObjectToWorld, P, Shape::ReverseOrientation, uknot, umax, umin, uorder, vknot, vmax, vmin, VN, vorder, Homogeneous3::w, Shape::WorldToObject, Point::x, Homogeneous3::x, Point::y, Homogeneous3::y, Point::z, and Homogeneous3::z.
| BBox NURBS::WorldBound |
( |
|
) |
const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: