All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_RayPrimInfo Class Referenceabstract

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayPrimInfo:

Public Member Functions

 GU_RayPrimInfo (GEO_ConstPrimitiveP prim, int serialidx)
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 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)
virtual UT_Vector3 getNormal (const UT_Vector3 &uvw) const
void bumpRefCount (int dir)
void ensureClean (const GEO_Detail &geo)
virtual void init (const GEO_Detail &geo)
primP (const GEO_Detail &geo) const
virtual int64 getMemoryUsage (bool inclusive) const =0
 Report approximate memory usage. More...

Static Public Member Functions

static void getXYProjection (const UT_Vector3 &nml, int &x, int &y)

Public Attributes

GA_Offset myPrimOffset
UT_BoundingBox bbox
float sortValue
int mySerialIdx
SYS_AtomicCounter refCount
bool degenerate:1
volatile int myDirty

Protected Member Functions

void initBBox (GEO_ConstPrimitiveP prim)
virtual ~GU_RayPrimInfo ()

Detailed Description

Definition at line 78 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayPrimInfo::GU_RayPrimInfo ( GEO_ConstPrimitiveP  prim,
int  serialidx 
virtual GU_RayPrimInfo::~GU_RayPrimInfo ( )

Member Function Documentation

void GU_RayPrimInfo::bumpRefCount ( int  dir)
void GU_RayPrimInfo::ensureClean ( const GEO_Detail geo)
virtual UT_Vector3 GU_RayPrimInfo::getNormal ( const UT_Vector3 uvw) const
static void GU_RayPrimInfo::getXYProjection ( const UT_Vector3 nml,
int x,
int y 
void GU_RayPrimInfo::initBBox ( GEO_ConstPrimitiveP  prim)
virtual int GU_RayPrimInfo::intersectPrim ( const GEO_Detail geo,
const GEO_Detail prim_geo,
GU_RayPrimInfo prim,
GU_RayInfo hitinfo 
virtual int GU_RayPrimInfo::minimumPrim ( const GEO_Detail geo,
const GEO_Detail prim_geo,
GU_RayPrimInfo prim,
GU_MinInfo mininfo 
SYS_FORCE_INLINE GEO_ConstPrimitiveP GU_RayPrimInfo::primP ( const GEO_Detail geo) const

Definition at line 135 of file GU_RayPrimitive.h.

Member Data Documentation

UT_BoundingBox GU_RayPrimInfo::bbox

Definition at line 148 of file GU_RayPrimitive.h.

bool GU_RayPrimInfo::degenerate

Definition at line 156 of file GU_RayPrimitive.h.

volatile int GU_RayPrimInfo::myDirty

Definition at line 158 of file GU_RayPrimitive.h.

GA_Offset GU_RayPrimInfo::myPrimOffset

Definition at line 147 of file GU_RayPrimitive.h.

int GU_RayPrimInfo::mySerialIdx

Definition at line 150 of file GU_RayPrimitive.h.

SYS_AtomicCounter GU_RayPrimInfo::refCount

Definition at line 152 of file GU_RayPrimitive.h.

float GU_RayPrimInfo::sortValue

Definition at line 149 of file GU_RayPrimitive.h.

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