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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayQuadInfo:

Public Member Functions

 GU_RayQuadInfo (GEO_ConstPrimitiveP prim, int serialidx, GA_Offset p0, GA_Offset p1, GA_Offset p2, GA_Offset p3, float ustart=0.0F, float ulength=1.0F, float vstart=0.0F, float vlength=1.0F, float w=0.0f)
 
virtual ~GU_RayQuadInfo ()
 
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 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

GA_Offset myV [4]
 
UT_Vector3 nml
 
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

Definition at line 352 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayQuadInfo::GU_RayQuadInfo ( GEO_ConstPrimitiveP  prim,
int  serialidx,
GA_Offset  p0,
GA_Offset  p1,
GA_Offset  p2,
GA_Offset  p3,
float  ustart = 0.0F,
float  ulength = 1.0F,
float  vstart = 0.0F,
float  vlength = 1.0F,
float  w = 0.0f 
)
virtual GU_RayQuadInfo::~GU_RayQuadInfo ( )
virtual

Member Function Documentation

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

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 375 of file GU_RayPrimitive.h.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

virtual int GU_RayQuadInfo::minimum ( const GEO_Detail geo,
const UT_Vector3 p,
GU_MinInfo mininfo 
)
virtual

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

float GU_RayQuadInfo::myULength

Definition at line 387 of file GU_RayPrimitive.h.

float GU_RayQuadInfo::myUStart

Definition at line 387 of file GU_RayPrimitive.h.

GA_Offset GU_RayQuadInfo::myV[4]

Definition at line 382 of file GU_RayPrimitive.h.

float GU_RayQuadInfo::myVLength

Definition at line 388 of file GU_RayPrimitive.h.

float GU_RayQuadInfo::myVStart

Definition at line 388 of file GU_RayPrimitive.h.

const float GU_RayQuadInfo::myW

Definition at line 389 of file GU_RayPrimitive.h.

UT_Vector3 GU_RayQuadInfo::nml

Definition at line 383 of file GU_RayPrimitive.h.


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