HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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)
 
virtual ~GU_RayMovingTriangleInfo ()
 
virtual void init (const GEO_Detail &geo)
 
virtual int intersect (const GEO_Detail &geo, const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hitinfo)
 
virtual int64 getMemoryUsage (bool inclusive) const
 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)
 
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 939 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 
)
virtual GU_RayMovingTriangleInfo::~GU_RayMovingTriangleInfo ( )
virtual

Member Function Documentation

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

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 959 of file GU_RayPrimitive.h.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

double GU_RayMovingTriangleInfo::a0

Definition at line 979 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::a1

Definition at line 979 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::a2

Definition at line 979 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::b0

Definition at line 980 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::b1

Definition at line 980 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::b2

Definition at line 980 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::c0

Definition at line 981 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::c1

Definition at line 981 of file GU_RayPrimitive.h.

double GU_RayMovingTriangleInfo::c2

Definition at line 981 of file GU_RayPrimitive.h.

GEO_ConstPrimitiveP GU_RayMovingTriangleInfo::myPrim2

Definition at line 975 of file GU_RayPrimitive.h.

GA_Offset GU_RayMovingTriangleInfo::myV0[3]

Definition at line 976 of file GU_RayPrimitive.h.

GA_Offset GU_RayMovingTriangleInfo::myV1[3]

Definition at line 977 of file GU_RayPrimitive.h.


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