HDK
|
#include <GU_RayPrimitive.h>
Public Member Functions | |
GU_RayPrimInfo (GEO_ConstPrimitiveP prim, int serialidx) | |
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 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 |
virtual int64 | getMemoryUsage (bool inclusive) const =0 |
Report approximate memory usage. More... | |
Static Public Member Functions | |
static void | getXYProjection (const UT_Vector3 &nml, int &x, int &y) |
Public Attributes | |
GA_Offset | myPrimOffset |
UT_BoundingBox | bbox |
float | sortValue |
int | mySerialIdx |
SYS_AtomicCounter | refCount |
bool | degenerate:1 |
volatile int | myDirty |
Protected Member Functions | |
void | initBBox (GEO_ConstPrimitiveP prim) |
virtual | ~GU_RayPrimInfo () |
Definition at line 78 of file GU_RayPrimitive.h.
GU_RayPrimInfo::GU_RayPrimInfo | ( | GEO_ConstPrimitiveP | prim, |
int | serialidx | ||
) |
|
protectedvirtual |
void GU_RayPrimInfo::ensureClean | ( | const GEO_Detail & | geo | ) |
|
pure virtual |
Report approximate memory usage.
Implemented in GU_RayMovingTriangleInfo, GU_RayNURBSurfInfo, GU_RayRBezSurfInfo, GU_RayNURBCurveInfo, GU_RayRBezCurveInfo, GU_RayPolyLineInfo, GU_RayPackedInfo, GU_RayHeightFieldInfo, GU_RayVDBInfo, GU_RayMetaInfo, GU_RayHPolyInfo, GU_RayPolyInfo, GU_RayHQuadInfo< ISHEX >, GU_RayQuadInfo< ISHEX >, GU_RayHHexInfo, GU_RayHexInfo, GU_RayHTetInfo, GU_RayTetInfo, GU_RayHTriangleInfo< ISTET >, GU_RayTriangleInfo< ISTET >, and GU_RayQuadricInfo.
|
inlinevirtual |
Reimplemented in GU_RayHPolyInfo, GU_RayPolyInfo, GU_RayHQuadInfo< ISHEX >, GU_RayQuadInfo< ISHEX >, GU_RayHTriangleInfo< ISTET >, and GU_RayTriangleInfo< ISTET >.
Definition at line 119 of file GU_RayPrimitive.h.
|
static |
|
inlinevirtual |
Reimplemented in GU_RayMovingTriangleInfo, GU_RayRBezSurfInfo, GU_RayRBezCurveInfo, GU_RayPackedInfo, GU_RayHQuadInfo< ISHEX >, GU_RayQuadInfo< ISHEX >, GU_RayHTriangleInfo< ISTET >, and GU_RayTriangleInfo< ISTET >.
Definition at line 130 of file GU_RayPrimitive.h.
|
protected |
|
inlinevirtual |
Reimplemented in GU_RayMovingTriangleInfo, GU_RayNURBSurfInfo, GU_RayRBezSurfInfo, GU_RayNURBCurveInfo, GU_RayRBezCurveInfo, GU_RayPolyLineInfo, GU_RayPackedInfo, GU_RayHeightFieldInfo, GU_RayVDBInfo, GU_RayMetaInfo, GU_RayHPolyInfo, GU_RayPolyInfo, GU_RayHQuadInfo< ISHEX >, GU_RayQuadInfo< ISHEX >, GU_RayHHexInfo, GU_RayHexInfo, GU_RayHTetInfo, GU_RayTetInfo, GU_RayHTriangleInfo< ISTET >, GU_RayTriangleInfo< ISTET >, and GU_RayQuadricInfo.
Definition at line 84 of file GU_RayPrimitive.h.
|
inlinevirtual |
Reimplemented in GU_RayNURBSurfInfo, GU_RayRBezSurfInfo, GU_RayNURBCurveInfo, GU_RayRBezCurveInfo, and GU_RayPolyLineInfo.
Definition at line 102 of file GU_RayPrimitive.h.
|
inlinevirtual |
Reimplemented in GU_RayNURBSurfInfo, GU_RayRBezSurfInfo, GU_RayNURBCurveInfo, GU_RayRBezCurveInfo, GU_RayPolyLineInfo, GU_RayPackedInfo, GU_RayHeightFieldInfo, GU_RayHPolyInfo, GU_RayPolyInfo, GU_RayHQuadInfo< ISHEX >, GU_RayQuadInfo< ISHEX >, GU_RayHHexInfo, GU_RayHexInfo, GU_RayHTetInfo, GU_RayTetInfo, GU_RayHTriangleInfo< ISTET >, GU_RayTriangleInfo< ISTET >, and GU_RayQuadricInfo.
Definition at line 92 of file GU_RayPrimitive.h.
|
inlinevirtual |
Reimplemented in GU_RayNURBSurfInfo, GU_RayRBezSurfInfo, GU_RayNURBCurveInfo, GU_RayRBezCurveInfo, and GU_RayPolyLineInfo.
Definition at line 110 of file GU_RayPrimitive.h.
|
inline |
Definition at line 135 of file GU_RayPrimitive.h.
UT_BoundingBox GU_RayPrimInfo::bbox |
Definition at line 148 of file GU_RayPrimitive.h.
bool GU_RayPrimInfo::degenerate |
Definition at line 156 of file GU_RayPrimitive.h.
volatile int GU_RayPrimInfo::myDirty |
Definition at line 158 of file GU_RayPrimitive.h.
GA_Offset GU_RayPrimInfo::myPrimOffset |
Definition at line 147 of file GU_RayPrimitive.h.
int GU_RayPrimInfo::mySerialIdx |
Definition at line 150 of file GU_RayPrimitive.h.
SYS_AtomicCounter GU_RayPrimInfo::refCount |
Definition at line 152 of file GU_RayPrimitive.h.
float GU_RayPrimInfo::sortValue |
Definition at line 149 of file GU_RayPrimitive.h.