13 #ifndef __GU_PrimSphere_h__
14 #define __GU_PrimSphere_h__
87 return *theDefinition;
110 float tmax = 1E17F,
float tol = 1E-12F,
115 float *u = 0,
float *
v = 0,
116 int ignoretrim = 1)
const override;
120 void passAttributesToPolys(
const GA_Range &primrange,
122 bool preserve_groups,
125 bool preserve_groups,
129 friend class GU_PrimitiveFactory;
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
void normal(NormalComp &output) const override
GU_PrimSphere(GU_Detail *gdp, GA_Offset offset=GA_INVALID_OFFSET)
NOTE: This constructor should only be called via GU_PrimitiveFactory.
virtual int64 getMemoryUsage() const
#define GA_INVALID_OFFSET
A range of elements in an index-map.
const GA_PrimitiveDefinition & getTypeDef() const override
virtual void countMemory(UT_MemoryCounter &counter) const
static GEO_PrimSphere * build(GA_Detail &detail, GA_Offset existing_ptoff=GA_INVALID_OFFSET)
virtual int intersectRay(const UT_Vector3 &o, const UT_Vector3 &d, float tmax=1E17F, float tol=1E-12F, float *distance=0, UT_Vector3 *pos=0, UT_Vector3 *nml=0, int accurate=0, float *u=0, float *v=0, int ignoretrim=1) const
~GU_PrimSphere() override
void normal(NormalCompD &output) const override
virtual GEO_Primitive * convert(GEO_ConvertParms &parms, GA_PointGroup *usedpts=0)=0
Definition of a geometric primitive.
SIM_API const UT_StringHolder distance
virtual GEO_Primitive * convertNew(GEO_ConvertParms &parms)=0