Blender V2.61 - r43446
Public Member Functions | Public Attributes

BicubicTangentPatch Class Reference

#include <subd_patch.h>

Inheritance diagram for BicubicTangentPatch:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void eval (float3 *P, float3 *dPdu, float3 *dPdv, float u, float v)
bool is_triangle ()
BoundBox bound ()

Public Attributes

float3 hull [16]
float3 utan [12]
float3 vtan [12]

Detailed Description

Definition at line 74 of file subd_patch.h.


Member Function Documentation

BoundBox BicubicTangentPatch::bound ( ) [virtual]

Implements Patch.

Definition at line 153 of file subd_patch.cpp.

References BoundBox::grow(), hull, and i.

void BicubicTangentPatch::eval ( float3 P,
float3 dPdu,
float3 dPdv,
float  u,
float  v 
) [virtual]

Implements Patch.

Definition at line 145 of file subd_patch.cpp.

References decasteljau_bicubic(), decasteljau_tangent(), hull, NULL, utan, and vtan.

bool BicubicTangentPatch::is_triangle ( ) [inline, virtual]

Implements Patch.

Definition at line 81 of file subd_patch.h.


Member Data Documentation

Definition at line 76 of file subd_patch.h.

Referenced by bound(), and eval().

Definition at line 77 of file subd_patch.h.

Referenced by eval().

Definition at line 78 of file subd_patch.h.

Referenced by eval().


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