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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayHTriangleInfo< istet >:

Public Member Functions

 GU_RayHTriangleInfo (GEO_ConstPrimitiveP prim, int serialidx, const UT_Vector3 &p1, const UT_Vector3 &p2, const UT_Vector3 &p3, float w=0.0f)
 
virtual ~GU_RayHTriangleInfo ()
 
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 int minimum (const GEO_Detail &geo, const UT_Vector3 &p, GU_MinInfo &mininfo)
 
virtual UT_Vector3 getNormal (const UT_Vector3 &uvw) const
 
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 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

UT_Vector3 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_RayHTriangleInfo< istet >

Definition at line 268 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

template<bool istet = false>
GU_RayHTriangleInfo< istet >::GU_RayHTriangleInfo ( GEO_ConstPrimitiveP  prim,
int  serialidx,
const UT_Vector3 p1,
const UT_Vector3 p2,
const UT_Vector3 p3,
float  w = 0.0f 
)
template<bool istet = false>
virtual GU_RayHTriangleInfo< istet >::~GU_RayHTriangleInfo ( )
virtual

Member Function Documentation

template<bool istet = false>
virtual int64 GU_RayHTriangleInfo< istet >::getMemoryUsage ( bool  inclusive) const
inlinevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 293 of file GU_RayPrimitive.h.

template<bool istet = false>
virtual UT_Vector3 GU_RayHTriangleInfo< istet >::getNormal ( const UT_Vector3 uvw) const
inlinevirtual

Reimplemented from GU_RayPrimInfo.

Definition at line 288 of file GU_RayPrimitive.h.

template<bool istet = false>
virtual void GU_RayHTriangleInfo< istet >::init ( const GEO_Detail geo)
virtual

Reimplemented from GU_RayPrimInfo.

template<bool istet = false>
virtual int GU_RayHTriangleInfo< istet >::intersect ( const GEO_Detail geo,
const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hitinfo 
)
virtual

Reimplemented from GU_RayPrimInfo.

template<bool istet = false>
virtual int GU_RayHTriangleInfo< istet >::minimum ( const GEO_Detail geo,
const UT_Vector3 p,
GU_MinInfo mininfo 
)
virtual

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

template<bool istet = false>
float GU_RayHTriangleInfo< istet >::D

Definition at line 302 of file GU_RayPrimitive.h.

template<bool istet = false>
UT_Vector3 GU_RayHTriangleInfo< istet >::myV[3]

Definition at line 300 of file GU_RayPrimitive.h.

template<bool istet = false>
const float GU_RayHTriangleInfo< istet >::myW

Definition at line 304 of file GU_RayPrimitive.h.

template<bool istet = false>
UT_Vector3 GU_RayHTriangleInfo< istet >::nml

Definition at line 301 of file GU_RayPrimitive.h.

template<bool istet = false>
int GU_RayHTriangleInfo< istet >::x

Definition at line 303 of file GU_RayPrimitive.h.

template<bool istet = false>
int GU_RayHTriangleInfo< istet >::y

Definition at line 303 of file GU_RayPrimitive.h.


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