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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayQuadricInfo:

Public Member Functions

 GU_RayQuadricInfo (GEO_ConstPrimitiveP prim, int serialidx)
 
 ~GU_RayQuadricInfo () 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
 
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
 

Static Public Member Functions

static int circle (GEO_ConstPrimitiveP prim, const GU_Ray &ray, GU_RayInfo &hi, UT_Vector3 &nml)
 
static int sphere (GEO_ConstPrimitiveP prim, const GU_Ray &ray, GU_RayInfo &hi, UT_Vector3 &nml)
 
static int tube (GEO_ConstPrimitiveP prim, const GU_Ray &ray, GU_RayInfo &hi, UT_Vector3 &nml)
 
static void minCircle (const UT_Vector3 &p, UT_Vector3 &minpt)
 
static void minSphere (const UT_Vector3 &p, UT_Vector3 &minpt)
 
static void minTube (GEO_ConstPrimitiveP prim, const UT_Vector3 &p, UT_Vector3 &minpt, float &u, float &v)
 
- Static Public Member Functions inherited from GU_RayPrimInfo
static void getXYProjection (const UT_Vector3 &nml, int &x, int &y)
 

Public Attributes

UT_Matrix4 xform
 
UT_Matrix3 nmlXform
 
- 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

- Protected Member Functions inherited from GU_RayPrimInfo
void initBBox (GEO_ConstPrimitiveP prim)
 
virtual ~GU_RayPrimInfo ()
 

Detailed Description

Definition at line 169 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayQuadricInfo::GU_RayQuadricInfo ( GEO_ConstPrimitiveP  prim,
int  serialidx 
)
GU_RayQuadricInfo::~GU_RayQuadricInfo ( )
override

Member Function Documentation

static int GU_RayQuadricInfo::circle ( GEO_ConstPrimitiveP  prim,
const GU_Ray ray,
GU_RayInfo hi,
UT_Vector3 nml 
)
static
int64 GU_RayQuadricInfo::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 185 of file GU_RayPrimitive.h.

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

Reimplemented from GU_RayPrimInfo.

static void GU_RayQuadricInfo::minCircle ( const UT_Vector3 p,
UT_Vector3 minpt 
)
static
int GU_RayQuadricInfo::minimum ( const GEO_Detail geo,
const UT_Vector3 p,
GU_MinInfo mininfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

static void GU_RayQuadricInfo::minSphere ( const UT_Vector3 p,
UT_Vector3 minpt 
)
static
static void GU_RayQuadricInfo::minTube ( GEO_ConstPrimitiveP  prim,
const UT_Vector3 p,
UT_Vector3 minpt,
float u,
float v 
)
static
static int GU_RayQuadricInfo::sphere ( GEO_ConstPrimitiveP  prim,
const GU_Ray ray,
GU_RayInfo hi,
UT_Vector3 nml 
)
static
static int GU_RayQuadricInfo::tube ( GEO_ConstPrimitiveP  prim,
const GU_Ray ray,
GU_RayInfo hi,
UT_Vector3 nml 
)
static

Member Data Documentation

UT_Matrix3 GU_RayQuadricInfo::nmlXform

Definition at line 218 of file GU_RayPrimitive.h.

UT_Matrix4 GU_RayQuadricInfo::xform

Definition at line 217 of file GU_RayPrimitive.h.


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