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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayMovingTriangleInfo:

Public Member Functions

 GU_RayMovingTriangleInfo (GEO_ConstPrimitiveP prim0, int serialidx, GA_Offset p00, GA_Offset p01, GA_Offset p02, GEO_ConstPrimitiveP prim1, GA_Offset p10, GA_Offset p11, GA_Offset p12)
 
 ~GU_RayMovingTriangleInfo () override
 
void init (const GEO_Detail &geo) override
 
int intersect (const GEO_Detail &geo, const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hitinfo) 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 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)
 
SYS_FORCE_INLINE
GEO_ConstPrimitiveP 
primP (const GEO_Detail &geo) const
 

Public Attributes

GEO_ConstPrimitiveP myPrim2
 
GA_Offset myV0 [3]
 
GA_Offset myV1 [3]
 
double a2
 
double a1
 
double a0
 
double b2
 
double b1
 
double b0
 
double c2
 
double c1
 
double c0
 
- 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 ()
 

Detailed Description

Definition at line 1215 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayMovingTriangleInfo::GU_RayMovingTriangleInfo ( GEO_ConstPrimitiveP  prim0,
int  serialidx,
GA_Offset  p00,
GA_Offset  p01,
GA_Offset  p02,
GEO_ConstPrimitiveP  prim1,
GA_Offset  p10,
GA_Offset  p11,
GA_Offset  p12 
)
GU_RayMovingTriangleInfo::~GU_RayMovingTriangleInfo ( )
override

Member Function Documentation

int64 GU_RayMovingTriangleInfo::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 1235 of file GU_RayPrimitive.h.

void GU_RayMovingTriangleInfo::init ( const GEO_Detail geo)
overridevirtual

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

double GU_RayMovingTriangleInfo::a0

Definition at line 1255 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::a1

Definition at line 1255 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::a2

Definition at line 1255 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::b0

Definition at line 1256 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::b1

Definition at line 1256 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::b2

Definition at line 1256 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::c0

Definition at line 1257 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::c1

Definition at line 1257 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::c2

Definition at line 1257 of file GU_RayPrimitive.h.

GEO_ConstPrimitiveP GU_RayMovingTriangleInfo::myPrim2

Definition at line 1251 of file GU_RayPrimitive.h.

GA_Offset GU_RayMovingTriangleInfo::myV0[3]

Definition at line 1252 of file GU_RayPrimitive.h.

GA_Offset GU_RayMovingTriangleInfo::myV1[3]

Definition at line 1253 of file GU_RayPrimitive.h.


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