HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_RayTriangleInfo< ISTET > Class Template Reference

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayTriangleInfo< ISTET >:

Public Member Functions

 GU_RayTriangleInfo (GEO_ConstPrimitiveP prim, int serialidx, GA_Offset p0, GA_Offset p1, GA_Offset p2, float w=0.0f)
 
 ~GU_RayTriangleInfo () 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
 
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)
 
SYS_FORCE_INLINE
GEO_ConstPrimitiveP 
primP (const GEO_Detail &geo) const
 

Public Attributes

GA_Offset myV [3]
 
UT_Vector3 nml
 
float D
 
int x
 
int y
 
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 ()
 

Detailed Description

template<bool ISTET = false>
class GU_RayTriangleInfo< ISTET >

Definition at line 227 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

template<bool ISTET = false>
GU_RayTriangleInfo< ISTET >::GU_RayTriangleInfo ( GEO_ConstPrimitiveP  prim,
int  serialidx,
GA_Offset  p0,
GA_Offset  p1,
GA_Offset  p2,
float  w = 0.0f 
)
template<bool ISTET = false>
GU_RayTriangleInfo< ISTET >::~GU_RayTriangleInfo ( )
override

Member Function Documentation

template<bool ISTET = false>
int64 GU_RayTriangleInfo< ISTET >::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 252 of file GU_RayPrimitive.h.

template<bool ISTET = false>
UT_Vector3 GU_RayTriangleInfo< ISTET >::getNormal ( const UT_Vector3 uvw) const
inlineoverridevirtual

Reimplemented from GU_RayPrimInfo.

Definition at line 247 of file GU_RayPrimitive.h.

template<bool ISTET = false>
void GU_RayTriangleInfo< ISTET >::init ( const GEO_Detail geo)
overridevirtual

Reimplemented from GU_RayPrimInfo.

template<bool ISTET = false>
int GU_RayTriangleInfo< ISTET >::intersect ( const GEO_Detail geo,
const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hitinfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

template<bool ISTET = false>
int GU_RayTriangleInfo< ISTET >::minimum ( const GEO_Detail geo,
const UT_Vector3 p,
GU_MinInfo mininfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

template<bool ISTET = false>
float GU_RayTriangleInfo< ISTET >::D

Definition at line 261 of file GU_RayPrimitive.h.

template<bool ISTET = false>
GA_Offset GU_RayTriangleInfo< ISTET >::myV[3]

Definition at line 259 of file GU_RayPrimitive.h.

template<bool ISTET = false>
const float GU_RayTriangleInfo< ISTET >::myW

Definition at line 263 of file GU_RayPrimitive.h.

template<bool ISTET = false>
UT_Vector3 GU_RayTriangleInfo< ISTET >::nml

Definition at line 260 of file GU_RayPrimitive.h.

template<bool ISTET = false>
int GU_RayTriangleInfo< ISTET >::x

Definition at line 262 of file GU_RayPrimitive.h.

template<bool ISTET = false>
int GU_RayTriangleInfo< ISTET >::y

Definition at line 262 of file GU_RayPrimitive.h.


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