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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayNURBCurveInfo:

Public Member Functions

 GU_RayNURBCurveInfo (GEO_ConstPrimitiveP curve, int serialidx, UT_Interval u, const UT_RefMatrix< UT_Vector4 > &patch_cv, int ord, bool is_rational)
 
virtual ~GU_RayNURBCurveInfo ()
 
virtual int intersect (const GEO_Detail &geo, const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hitinfo)
 
virtual int minimum (const GEO_Detail &geo, const UT_Vector3 &p, GU_MinInfo &mininfo)
 
virtual int intersectPrim (const GEO_Detail &geo, const GEO_Detail &prim_geo, GU_RayPrimInfo *prim, GU_RayInfo &hitInfo)
 
virtual int minimumPrim (const GEO_Detail &geo, const GEO_Detail &prim_geo, GU_RayPrimInfo *prim, GU_MinInfo &mininfo)
 
virtual int64 getMemoryUsage (bool inclusive) const
 Report approximate memory usage. More...
 
- Public Member Functions inherited from GU_RayCurveInfo
 GU_RayCurveInfo (GEO_ConstPrimitiveP curve, int serialidx, bool is_first_span, bool is_last_span)
 
virtual ~GU_RayCurveInfo ()
 
- Public Member Functions inherited from GU_RayPrimInfo
 GU_RayPrimInfo (GEO_ConstPrimitiveP prim, int serialidx)
 
void bumpRefCount (int dir)
 
void ensureClean (const GEO_Detail &geo)
 
virtual void init (const GEO_Detail &geo)
 
SYS_FORCE_INLINE
GEO_ConstPrimitiveP 
primP (const GEO_Detail &geo) const
 

Public Attributes

GU_RayRBezCurve myCurve
 
- Public Attributes inherited from GU_RayCurveInfo
bool myFirstSpanFlag: 1
 
bool myLastSpanFlag: 1
 
- Public Attributes inherited from GU_RayPrimInfo
GA_Offset myPrimOffset
 
UT_BoundingBox bbox
 
float sortValue
 
int mySerialIdx
 
SYS_AtomicCounter refCount
 
bool degenerate:1
 
volatile int myDirty
 

Additional Inherited Members

- Static Public Member Functions inherited from GU_RayPrimInfo
static void getXYProjection (const UT_Vector3 &nml, int &x, int &y)
 
- Protected Member Functions inherited from GU_RayCurveInfo
int intersectEndPointZone (const GEO_Detail &geo, const UT_Vector3 &org, const UT_Vector3 &dir, const GU_RayRBezCurve *curve, GU_RayInfo &hit_info) const
 
- Protected Member Functions inherited from GU_RayPrimInfo
void initBBox (GEO_ConstPrimitiveP prim)
 
virtual ~GU_RayPrimInfo ()
 

Detailed Description

Definition at line 789 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayNURBCurveInfo::GU_RayNURBCurveInfo ( GEO_ConstPrimitiveP  curve,
int  serialidx,
UT_Interval  u,
const UT_RefMatrix< UT_Vector4 > &  patch_cv,
int  ord,
bool  is_rational 
)
virtual GU_RayNURBCurveInfo::~GU_RayNURBCurveInfo ( )
virtual

Member Function Documentation

virtual int64 GU_RayNURBCurveInfo::getMemoryUsage ( bool  inclusive) const
inlinevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 821 of file GU_RayPrimitive.h.

virtual int GU_RayNURBCurveInfo::intersect ( const GEO_Detail geo,
const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hitinfo 
)
virtual

Reimplemented from GU_RayPrimInfo.

virtual int GU_RayNURBCurveInfo::intersectPrim ( const GEO_Detail geo,
const GEO_Detail prim_geo,
GU_RayPrimInfo prim,
GU_RayInfo hitInfo 
)
virtual

Reimplemented from GU_RayPrimInfo.

virtual int GU_RayNURBCurveInfo::minimum ( const GEO_Detail geo,
const UT_Vector3 p,
GU_MinInfo mininfo 
)
virtual

Reimplemented from GU_RayPrimInfo.

virtual int GU_RayNURBCurveInfo::minimumPrim ( const GEO_Detail geo,
const GEO_Detail prim_geo,
GU_RayPrimInfo prim,
GU_MinInfo mininfo 
)
virtual

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

GU_RayRBezCurve GU_RayNURBCurveInfo::myCurve

Definition at line 829 of file GU_RayPrimitive.h.


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