HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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)
 
 ~GU_RayNURBCurveInfo () override
 
int intersect (const GEO_Detail &geo, const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hitinfo) override
 
int minimum (const GEO_Detail &geo, const UT_Vector3 &p, GU_MinInfo &mininfo) override
 
int intersectPrim (const GEO_Detail &geo, const GEO_Detail &prim_geo, GU_RayPrimInfo *prim, GU_RayInfo &hitInfo) override
 
int minimumPrim (const GEO_Detail &geo, const GEO_Detail &prim_geo, GU_RayPrimInfo *prim, GU_MinInfo &mininfo) override
 
int64 getMemoryUsage (bool inclusive) const override
 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)
 
 ~GU_RayCurveInfo () override
 
- Public Member Functions inherited from GU_RayPrimInfo
 GU_RayPrimInfo (GEO_ConstPrimitiveP prim, int serialidx)
 
virtual UT_Vector3 getNormal (const UT_Vector3 &uvw) const
 
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
 

Static Public Member Functions

template<typename FUNCTOR >
static void build (const FUNCTOR &functor, const GEO_PrimNURBCurve *nurbcurve, int *pinfonum=nullptr)
 
- Static Public Member Functions inherited from GU_RayPrimInfo
static void getXYProjection (const UT_Vector3 &nml, int &x, int &y)
 

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

- 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 969 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 
)
GU_RayNURBCurveInfo::~GU_RayNURBCurveInfo ( )
override

Member Function Documentation

template<typename FUNCTOR >
static void GU_RayNURBCurveInfo::build ( const FUNCTOR &  functor,
const GEO_PrimNURBCurve nurbcurve,
int pinfonum = nullptr 
)
inlinestatic

Definition at line 982 of file GU_RayPrimitive.h.

int64 GU_RayNURBCurveInfo::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 1027 of file GU_RayPrimitive.h.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

GU_RayRBezCurve GU_RayNURBCurveInfo::myCurve

Definition at line 1035 of file GU_RayPrimitive.h.


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