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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayHQuadInfo< ISHEX >:

Public Member Functions

 GU_RayHQuadInfo (GEO_ConstPrimitiveP prim, int serialidx, const UT_Vector3 &p0, const UT_Vector3 &p1, const UT_Vector3 &p2, const UT_Vector3 &p3, float ustart=0.0f, float ulen=1.0f, float vstart=0.0f, float vlen=1.0f, bool revnml=false, float w=0.0f)
 
 ~GU_RayHQuadInfo () 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

UT_Vector3 myV [4]
 
UT_Vector3 nml
 
bool myRevNml
 
float myUStart
 
float myULength
 
float myVStart
 
float myVLength
 
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 ISHEX = false>
class GU_RayHQuadInfo< ISHEX >

Definition at line 511 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

template<bool ISHEX = false>
GU_RayHQuadInfo< ISHEX >::GU_RayHQuadInfo ( GEO_ConstPrimitiveP  prim,
int  serialidx,
const UT_Vector3 p0,
const UT_Vector3 p1,
const UT_Vector3 p2,
const UT_Vector3 p3,
float  ustart = 0.0f,
float  ulen = 1.0f,
float  vstart = 0.0f,
float  vlen = 1.0f,
bool  revnml = false,
float  w = 0.0f 
)
template<bool ISHEX = false>
GU_RayHQuadInfo< ISHEX >::~GU_RayHQuadInfo ( )
override

Member Function Documentation

template<bool ISHEX = false>
int64 GU_RayHQuadInfo< ISHEX >::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 539 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
UT_Vector3 GU_RayHQuadInfo< ISHEX >::getNormal ( const UT_Vector3 uvw) const
inlineoverridevirtual

Reimplemented from GU_RayPrimInfo.

Definition at line 534 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
void GU_RayHQuadInfo< ISHEX >::init ( const GEO_Detail geo)
overridevirtual

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

template<bool ISHEX = false>
bool GU_RayHQuadInfo< ISHEX >::myRevNml

Definition at line 548 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
float GU_RayHQuadInfo< ISHEX >::myULength

Definition at line 554 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
float GU_RayHQuadInfo< ISHEX >::myUStart

Definition at line 554 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
UT_Vector3 GU_RayHQuadInfo< ISHEX >::myV[4]

Definition at line 546 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
float GU_RayHQuadInfo< ISHEX >::myVLength

Definition at line 555 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
float GU_RayHQuadInfo< ISHEX >::myVStart

Definition at line 555 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
const float GU_RayHQuadInfo< ISHEX >::myW

Definition at line 556 of file GU_RayPrimitive.h.

template<bool ISHEX = false>
UT_Vector3 GU_RayHQuadInfo< ISHEX >::nml

Definition at line 547 of file GU_RayPrimitive.h.


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