All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_RayVDBInfo Class Reference

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayVDBInfo:

Public Member Functions

 GU_RayVDBInfo (GEO_ConstPrimitiveP vdb, int serialidx)
 ~GU_RayVDBInfo () override
int intersect (const GEO_Detail &geo, const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hitinfo) 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 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

Public Attributes

GEO_PrimVolumeXform myXform
float myStepSize
UT_ThreadSpecificValue< void * > myCache
bool myFailed
UT_VDBType myVDBType
const openvdb::GridBase * myGridRawPtr
- 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 682 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayVDBInfo::GU_RayVDBInfo ( GEO_ConstPrimitiveP  vdb,
int  serialidx 
GU_RayVDBInfo::~GU_RayVDBInfo ( )

Member Function Documentation

int64 GU_RayVDBInfo::getMemoryUsage ( bool  inclusive) const

Report approximate memory usage.

Implements GU_RayPrimInfo.

int GU_RayVDBInfo::intersect ( const GEO_Detail geo,
const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hitinfo 

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

UT_ThreadSpecificValue<void *> GU_RayVDBInfo::myCache

Definition at line 699 of file GU_RayPrimitive.h.

bool GU_RayVDBInfo::myFailed

Definition at line 700 of file GU_RayPrimitive.h.

const openvdb::GridBase* GU_RayVDBInfo::myGridRawPtr

Definition at line 703 of file GU_RayPrimitive.h.

float GU_RayVDBInfo::myStepSize

Definition at line 698 of file GU_RayPrimitive.h.

UT_VDBType GU_RayVDBInfo::myVDBType

Definition at line 701 of file GU_RayPrimitive.h.

GEO_PrimVolumeXform GU_RayVDBInfo::myXform

Definition at line 697 of file GU_RayPrimitive.h.

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