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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayHeightFieldInfo:

Public Member Functions

 GU_RayHeightFieldInfo (const GEO_PrimVolume *vdb, int serialidx)
 
 ~GU_RayHeightFieldInfo () override
 
int intersect (const GEO_Detail &geo, const UT_Vector3 &org, const UT_Vector3 &dir, GU_RayInfo &hitinfo) override
 
template<bool farthest, bool rm_backface, bool reverse, bool bidirectional, typename FUNCTOR >
bool intersect (const UT_Vector3 &org, const UT_Vector3 &dir, const UT_Vector3 &inverse_dir, int max_dir, const UT_Vector3 &N0, const UT_Vector3 &N1, float &outer_tmin, float &outer_tmax, uint bvh_index, FUNCTOR &functor) const
 
int minimum (const GEO_Detail &geo, const UT_Vector3 &p, GU_MinInfo &mininfo) 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)
 
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)
 
SYS_FORCE_INLINE
GEO_ConstPrimitiveP 
primP (const GEO_Detail &geo) const
 

Public Attributes

int myAxis
 
int myA1
 
int myA2
 
int myDim [3]
 
GEO_PrimVolumeXform myXform
 
bool myFailed
 
float myScale
 
float myInvScale
 
const UT_VoxelArrayFmySamples
 
UT_VoxelArrayF myMinMap
 
UT_VoxelArrayF myMaxMap
 
UT_VoxelMipMapF myMinMM
 
UT_VoxelMipMapF myMaxMM
 
- 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 713 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayHeightFieldInfo::GU_RayHeightFieldInfo ( const GEO_PrimVolume vdb,
int  serialidx 
)
GU_RayHeightFieldInfo::~GU_RayHeightFieldInfo ( )
override

Member Function Documentation

int64 GU_RayHeightFieldInfo::getMemoryUsage ( bool  inclusive) const
overridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

int GU_RayHeightFieldInfo::intersect ( const GEO_Detail geo,
const UT_Vector3 org,
const UT_Vector3 dir,
GU_RayInfo hitinfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

template<bool farthest, bool rm_backface, bool reverse, bool bidirectional, typename FUNCTOR >
bool GU_RayHeightFieldInfo::intersect ( const UT_Vector3 org,
const UT_Vector3 dir,
const UT_Vector3 inverse_dir,
int  max_dir,
const UT_Vector3 N0,
const UT_Vector3 N1,
float outer_tmin,
float outer_tmax,
uint  bvh_index,
FUNCTOR &  functor 
) const
int GU_RayHeightFieldInfo::minimum ( const GEO_Detail geo,
const UT_Vector3 p,
GU_MinInfo mininfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

int GU_RayHeightFieldInfo::myA1

Definition at line 746 of file GU_RayPrimitive.h.

int GU_RayHeightFieldInfo::myA2

Definition at line 746 of file GU_RayPrimitive.h.

int GU_RayHeightFieldInfo::myAxis

Definition at line 746 of file GU_RayPrimitive.h.

int GU_RayHeightFieldInfo::myDim[3]

Definition at line 747 of file GU_RayPrimitive.h.

bool GU_RayHeightFieldInfo::myFailed

Definition at line 749 of file GU_RayPrimitive.h.

float GU_RayHeightFieldInfo::myInvScale

Definition at line 750 of file GU_RayPrimitive.h.

UT_VoxelArrayF GU_RayHeightFieldInfo::myMaxMap

Definition at line 752 of file GU_RayPrimitive.h.

UT_VoxelMipMapF GU_RayHeightFieldInfo::myMaxMM

Definition at line 753 of file GU_RayPrimitive.h.

UT_VoxelArrayF GU_RayHeightFieldInfo::myMinMap

Definition at line 752 of file GU_RayPrimitive.h.

UT_VoxelMipMapF GU_RayHeightFieldInfo::myMinMM

Definition at line 753 of file GU_RayPrimitive.h.

const UT_VoxelArrayF* GU_RayHeightFieldInfo::mySamples

Definition at line 751 of file GU_RayPrimitive.h.

float GU_RayHeightFieldInfo::myScale

Definition at line 750 of file GU_RayPrimitive.h.

GEO_PrimVolumeXform GU_RayHeightFieldInfo::myXform

Definition at line 748 of file GU_RayPrimitive.h.


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