13 #ifndef __GU_PrimTube_h__
14 #define __GU_PrimTube_h__
93 return *theDefinition;
105 float tmax = 1E17F,
float tol = 1E-12F,
108 float *u = 0,
float *
v = 0,
109 int ignoretrim = 1)
const override;
117 void passAttributesToFaces(
const GA_Range &primrange,
119 bool preserve_groups,
123 bool preserve_groups,
127 friend class GU_PrimitiveFactory;
GU_PrimTube(GEO_Detail *gdp, GA_Offset offset=GA_INVALID_OFFSET)
NOTE: This constructor should only be called via GU_PrimitiveFactory.
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
virtual int64 getMemoryUsage() const
void normal(NormalComp &ouput) const override
void normal(NormalCompD &ouput) const override
#define GA_INVALID_OFFSET
A range of elements in an index-map.
virtual void countMemory(UT_MemoryCounter &counter) const
const GA_PrimitiveDefinition & getTypeDef() const override
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
virtual GEO_Primitive * convert(GEO_ConvertParms &parms, GA_PointGroup *usedpts=0)=0
Definition of a geometric primitive.
SIM_API const UT_StringHolder distance
static GEO_Quadric * build(GA_Detail &detail, GA_PrimitiveTypeId type, GA_Offset existing_ptoff=GA_INVALID_OFFSET)
virtual GEO_Primitive * convertNew(GEO_ConvertParms &parms)=0