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

#include <GU_RayPrimitive.h>

+ Inheritance diagram for GU_RayRBezSurfInfo:

Public Member Functions

 GU_RayRBezSurfInfo (const GEO_PrimRBezSurf *surf, int serialidx, int u_span, int v_span, int u_ord, int v_ord, float u_start, float u_length, float v_start, float v_length, int u_beg, int v_beg, int u_num, int v_num, bool is_rational)
 
 ~GU_RayRBezSurfInfo () 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
 
void init (const GEO_Detail &geo) override
 
virtual GU_RayRBezSurfbuildSurf (const GEO_Detail &geo)
 
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)
 
SYS_FORCE_INLINE
GEO_ConstPrimitiveP 
primP (const GEO_Detail &geo) const
 

Static Public Member Functions

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

Public Attributes

int myUSpan
 
int myVSpan
 
UT_UniquePtr< GU_RayRBezSurfmySurf
 
- 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 1046 of file GU_RayPrimitive.h.

Constructor & Destructor Documentation

GU_RayRBezSurfInfo::GU_RayRBezSurfInfo ( const GEO_PrimRBezSurf surf,
int  serialidx,
int  u_span,
int  v_span,
int  u_ord,
int  v_ord,
float  u_start,
float  u_length,
float  v_start,
float  v_length,
int  u_beg,
int  v_beg,
int  u_num,
int  v_num,
bool  is_rational 
)
GU_RayRBezSurfInfo::~GU_RayRBezSurfInfo ( )
override

Member Function Documentation

template<typename FUNCTOR >
static void GU_RayRBezSurfInfo::build ( const FUNCTOR &  functor,
const GEO_PrimRBezSurf bezsurf,
int pinfonum = nullptr 
)
inlinestatic

Definition at line 1068 of file GU_RayPrimitive.h.

virtual GU_RayRBezSurf* GU_RayRBezSurfInfo::buildSurf ( const GEO_Detail geo)
virtual
static exint GU_RayRBezSurfInfo::count ( const GEO_PrimRBezSurf bezsurf)
inlinestatic

Definition at line 1060 of file GU_RayPrimitive.h.

int64 GU_RayRBezSurfInfo::getMemoryUsage ( bool  inclusive) const
inlineoverridevirtual

Report approximate memory usage.

Implements GU_RayPrimInfo.

Definition at line 1124 of file GU_RayPrimitive.h.

void GU_RayRBezSurfInfo::init ( const GEO_Detail geo)
overridevirtual

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

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

Reimplemented from GU_RayPrimInfo.

Member Data Documentation

UT_UniquePtr<GU_RayRBezSurf> GU_RayRBezSurfInfo::mySurf

Definition at line 1134 of file GU_RayPrimitive.h.

int GU_RayRBezSurfInfo::myUSpan

Definition at line 1133 of file GU_RayPrimitive.h.

int GU_RayRBezSurfInfo::myVSpan

Definition at line 1133 of file GU_RayPrimitive.h.


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