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)
 
 ~GU_RayRBezCurveInfo () 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
 
void init (const GEO_Detail &geo) override
 
GU_RayRBezCurvebuildCurve (const GEO_Detail &geo)
 
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)
 
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 896 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 
)
GU_RayRBezCurveInfo::~GU_RayRBezCurveInfo ( )
override

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 915 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 909 of file GU_RayPrimitive.h.

int64 GU_RayRBezCurveInfo::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 956 of file GU_RayPrimitive.h.

void GU_RayRBezCurveInfo::init ( const GEO_Detail geo)
overridevirtual

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

UT_UniquePtr<GU_RayRBezCurve> GU_RayRBezCurveInfo::myCurve

Definition at line 966 of file GU_RayPrimitive.h.

int GU_RayRBezCurveInfo::mySpan

Definition at line 965 of file GU_RayPrimitive.h.


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