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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayNURBSurfInfo:

Public Member Functions

 GU_RayNURBSurfInfo (GEO_ConstPrimitiveP surf, int serialidx, int u_ord, int v_ord, UT_Interval u, UT_Interval v, const UT_RefMatrix< UT_Vector4 > &patch_cv, bool is_rational)
 
 ~GU_RayNURBSurfInfo () 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
 
int intersectPrim (const GEO_Detail &geo, const GEO_Detail &prim_geo, GU_RayPrimInfo *prim, GU_RayInfo &hitinfo) override
 
int minimumPrim (const GEO_Detail &geo, const GEO_Detail &prim_geo, GU_RayPrimInfo *prim, GU_MinInfo &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 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

template<typename FUNCTOR >
static void build (const FUNCTOR &functor, const GEO_PrimNURBSurf *nurbsurf, int *pinfonum=nullptr)
 
- Static Public Member Functions inherited from GU_RayPrimInfo
static void getXYProjection (const UT_Vector3 &nml, int &x, int &y)
 

Public Attributes

GU_RayRBezSurf mySurf
 
- 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 1137 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayNURBSurfInfo::GU_RayNURBSurfInfo ( GEO_ConstPrimitiveP  surf,
int  serialidx,
int  u_ord,
int  v_ord,
UT_Interval  u,
UT_Interval  v,
const UT_RefMatrix< UT_Vector4 > &  patch_cv,
bool  is_rational 
)
GU_RayNURBSurfInfo::~GU_RayNURBSurfInfo ( )
override

Member Function Documentation

template<typename FUNCTOR >
static void GU_RayNURBSurfInfo::build ( const FUNCTOR &  functor,
const GEO_PrimNURBSurf nurbsurf,
int pinfonum = nullptr 
)
inlinestatic

Definition at line 1149 of file GU_RayPrimitive.h.

int64 GU_RayNURBSurfInfo::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 1198 of file GU_RayPrimitive.h.

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

Reimplemented from GU_RayPrimInfo.

int GU_RayNURBSurfInfo::intersectPrim ( const GEO_Detail geo,
const GEO_Detail prim_geo,
GU_RayPrimInfo prim,
GU_RayInfo hitinfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

int GU_RayNURBSurfInfo::minimum ( const GEO_Detail geo,
const UT_Vector3 p,
GU_MinInfo mininfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

int GU_RayNURBSurfInfo::minimumPrim ( const GEO_Detail geo,
const GEO_Detail prim_geo,
GU_RayPrimInfo prim,
GU_MinInfo hitinfo 
)
overridevirtual

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

GU_RayRBezSurf GU_RayNURBSurfInfo::mySurf

Definition at line 1206 of file GU_RayPrimitive.h.


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