HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_RayRBezCurve Class Reference

#include <GU_RayRBezCurve.h>

Public Member Functions

void init (int order, float uStart, float uLength, int isRational)
 
void buildBBox ()
 
int intersect (const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hitInfo, int depth) const
 
int intersect (const UT_Vector3 &p, GU_RayInfo &hitInfo, int depth) const
 
int intersect (const GU_RayRBezCurve &curve, GU_RayInfo &hitInfo, int depth) const
 
int intersect (GU_RayRBezSurf &surf, GU_RayInfo &hitInfo, int depth) const
 
int intersectQR (GU_RayRBezSurf &surf, GU_RayInfo &hitInfo, int depth) const
 
int intersectAP (GU_RayRBezSurf &surf, GU_RayInfo &hitInfo)
 
int intersectFirstPointZone (const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hit_info) const
 
int intersectLastPointZone (const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hit_info) const
 
int polishCurveSurf (const GU_RayRBezSurf &surf, UT_MatrixF &C1, UT_MatrixF &C2, UT_MatrixF &R, UT_MatrixF &tmp, float start, float end, UT_Array< GU_RayInfoHit > &hits, GU_RayFindType findType, int firstiter=3, float firsttol=1e-2F, int finaliter=50, float finaltol=1e-6F, float ttol=1e-3F)
 
int minimum (const UT_Vector3 &p, GU_MinInfo &mininfo, int depth) const
 
int minimum (const GU_RayRBezCurve &curve, GU_MinInfo &mininfo, int depth, int noBBoxTest=0) const
 
void split (GU_RayRBezCurve *left, GU_RayRBezCurve *right, float tol) const
 
void carve (float ustart, float uend)
 
void evaluate (float t, UT_Vector3 &pos) const
 
void evaluate (float t, UT_Vector3 &pos, UT_Vector3 &der) const
 
void evaluate (float t, UT_Vector3 &pos, UT_Vector3 &der, UT_Vector3 &der2) const
 
void print () const
 
int64 getMemoryUsage (bool inclusive) const
 

Public Attributes

UT_BoundingBox myBBox
 
UT_Vector4Array myCV
 
float myUStart
 
float myULength
 
int myRational
 

Detailed Description

Definition at line 44 of file GU_RayRBezCurve.h.

Member Function Documentation

void GU_RayRBezCurve::buildBBox ( )
void GU_RayRBezCurve::carve ( float  ustart,
float  uend 
)
void GU_RayRBezCurve::evaluate ( float  t,
UT_Vector3 pos 
) const
void GU_RayRBezCurve::evaluate ( float  t,
UT_Vector3 pos,
UT_Vector3 der 
) const
void GU_RayRBezCurve::evaluate ( float  t,
UT_Vector3 pos,
UT_Vector3 der,
UT_Vector3 der2 
) const
int64 GU_RayRBezCurve::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 110 of file GU_RayRBezCurve.h.

void GU_RayRBezCurve::init ( int  order,
float  uStart,
float  uLength,
int  isRational 
)
int GU_RayRBezCurve::intersect ( const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hitInfo,
int  depth 
) const
int GU_RayRBezCurve::intersect ( const UT_Vector3 p,
GU_RayInfo hitInfo,
int  depth 
) const
int GU_RayRBezCurve::intersect ( const GU_RayRBezCurve curve,
GU_RayInfo hitInfo,
int  depth 
) const
int GU_RayRBezCurve::intersect ( GU_RayRBezSurf surf,
GU_RayInfo hitInfo,
int  depth 
) const
int GU_RayRBezCurve::intersectAP ( GU_RayRBezSurf surf,
GU_RayInfo hitInfo 
)
int GU_RayRBezCurve::intersectFirstPointZone ( const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hit_info 
) const
int GU_RayRBezCurve::intersectLastPointZone ( const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hit_info 
) const
int GU_RayRBezCurve::intersectQR ( GU_RayRBezSurf surf,
GU_RayInfo hitInfo,
int  depth 
) const
int GU_RayRBezCurve::minimum ( const UT_Vector3 p,
GU_MinInfo mininfo,
int  depth 
) const
int GU_RayRBezCurve::minimum ( const GU_RayRBezCurve curve,
GU_MinInfo mininfo,
int  depth,
int  noBBoxTest = 0 
) const
int GU_RayRBezCurve::polishCurveSurf ( const GU_RayRBezSurf surf,
UT_MatrixF C1,
UT_MatrixF C2,
UT_MatrixF R,
UT_MatrixF tmp,
float  start,
float  end,
UT_Array< GU_RayInfoHit > &  hits,
GU_RayFindType  findType,
int  firstiter = 3,
float  firsttol = 1e-2F,
int  finaliter = 50,
float  finaltol = 1e-6F,
float  ttol = 1e-3F 
)
void GU_RayRBezCurve::print ( ) const
void GU_RayRBezCurve::split ( GU_RayRBezCurve left,
GU_RayRBezCurve right,
float  tol 
) const

Member Data Documentation

UT_BoundingBox GU_RayRBezCurve::myBBox

Definition at line 118 of file GU_RayRBezCurve.h.

UT_Vector4Array GU_RayRBezCurve::myCV

Definition at line 119 of file GU_RayRBezCurve.h.

int GU_RayRBezCurve::myRational

Definition at line 121 of file GU_RayRBezCurve.h.

float GU_RayRBezCurve::myULength

Definition at line 120 of file GU_RayRBezCurve.h.

float GU_RayRBezCurve::myUStart

Definition at line 120 of file GU_RayRBezCurve.h.


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