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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayRBezCurveInfo:

Public Member Functions

 GU_RayRBezCurveInfo (const GEO_PrimRBezCurve *curve, int serialidx, bool is_first_span, bool is_last_span, int span, int nvtx, int ord)
 
virtual ~GU_RayRBezCurveInfo ()
 
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 void init (const GEO_Detail &geo)
 
GU_RayRBezCurvebuildCurve (const GEO_Detail &geo)
 
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)
 
virtual UT_Vector3 getNormal (const UT_Vector3 &uvw) const
 
void bumpRefCount (int dir)
 
void ensureClean (const GEO_Detail &geo)
 
SYS_FORCE_INLINE
GEO_ConstPrimitiveP 
primP (const GEO_Detail &geo) const
 

Static Public Member Functions

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

Public Attributes

int mySpan
 
UT_UniquePtr< GU_RayRBezCurvemyCurve
 
- 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 810 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayRBezCurveInfo::GU_RayRBezCurveInfo ( const GEO_PrimRBezCurve curve,
int  serialidx,
bool  is_first_span,
bool  is_last_span,
int  span,
int  nvtx,
int  ord 
)
virtual GU_RayRBezCurveInfo::~GU_RayRBezCurveInfo ( )
virtual

Member Function Documentation

template<typename FUNCTOR >
static void GU_RayRBezCurveInfo::build ( const FUNCTOR &  functor,
const GEO_PrimRBezCurve bezcurve,
int pinfonum = nullptr 
)
inlinestatic

Definition at line 829 of file GU_RayPrimitive.h.

GU_RayRBezCurve* GU_RayRBezCurveInfo::buildCurve ( const GEO_Detail geo)
static int GU_RayRBezCurveInfo::count ( const GEO_PrimRBezCurve bezcurve)
inlinestatic

Definition at line 823 of file GU_RayPrimitive.h.

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

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 870 of file GU_RayPrimitive.h.

virtual void GU_RayRBezCurveInfo::init ( const GEO_Detail geo)
virtual

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

UT_UniquePtr<GU_RayRBezCurve> GU_RayRBezCurveInfo::myCurve

Definition at line 880 of file GU_RayPrimitive.h.

int GU_RayRBezCurveInfo::mySpan

Definition at line 879 of file GU_RayPrimitive.h.


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