HDK
|
#include <GU_RayPrimitive.h>
Public Member Functions | |
GU_RayPolyInfo (GEO_ConstPrimitiveP prim, int serialidx, const UT_Array< GA_Offset > &ipts, float w=0.0f) | |
~GU_RayPolyInfo () 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 |
UT_Vector3 | getNormal (const UT_Vector3 &uvw) const override |
int64 | getMemoryUsage (bool inclusive) const override |
Report approximate memory usage. More... | |
Public Member Functions inherited from GU_RayPrimInfo | |
GU_RayPrimInfo (GEO_ConstPrimitiveP prim, int serialidx) | |
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) |
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 | |
UT_Vector3 | nml |
float | D |
int | x |
int | y |
const UT_Array< GA_Offset > | pts |
const float | myW |
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_RayPrimInfo | |
void | initBBox (GEO_ConstPrimitiveP prim) |
virtual | ~GU_RayPrimInfo () |
Definition at line 565 of file GU_RayPrimitive.h.
GU_RayPolyInfo::GU_RayPolyInfo | ( | GEO_ConstPrimitiveP | prim, |
int | serialidx, | ||
const UT_Array< GA_Offset > & | ipts, | ||
float | w = 0.0f |
||
) |
|
override |
|
inlineoverridevirtual |
Report approximate memory usage.
Implements GU_RayPrimInfo.
Definition at line 587 of file GU_RayPrimitive.h.
|
inlineoverridevirtual |
Reimplemented from GU_RayPrimInfo.
Definition at line 582 of file GU_RayPrimitive.h.
|
overridevirtual |
Reimplemented from GU_RayPrimInfo.
|
overridevirtual |
Reimplemented from GU_RayPrimInfo.
float GU_RayPolyInfo::D |
Definition at line 595 of file GU_RayPrimitive.h.
const float GU_RayPolyInfo::myW |
Definition at line 598 of file GU_RayPrimitive.h.
UT_Vector3 GU_RayPolyInfo::nml |
Definition at line 594 of file GU_RayPrimitive.h.
Definition at line 597 of file GU_RayPrimitive.h.
int GU_RayPolyInfo::x |
Definition at line 596 of file GU_RayPrimitive.h.
int GU_RayPolyInfo::y |
Definition at line 596 of file GU_RayPrimitive.h.