13 #ifndef GR_ShapeFactory_h
14 #define GR_ShapeFactory_h
26 namespace GR_ShapeFactory
A collection of vertex arrays defining a geometry object. This class acts as a wrapper around multipl...
GT_API const UT_StringHolder cache_name
Object that represents drawable geometry. This object holds vertex, instancing and index buffers for ...
GR_API RE_Geometry * buildPoint(RE_Render *r, UT_Vector3F pos, const char *cache_name=NULL)
GR_API RE_Geometry * buildLine(RE_Render *r, UT_Vector3F p0, UT_Vector3F p1, const char *cache_name=NULL)
Temporary container for either a RV_Render and an RE_Render.
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GR_API RE_Geometry * buildPointCloud(RE_Render *r, const UT_Vector3FArray &pos, const char *cache_name=NULL)
GA_API const UT_StringHolder scale
GR_API RE_Geometry * buildAxes(RE_Render *r, UT_Vector3F center, fpreal scale, const char *cache_name=NULL)
GR_API RE_Geometry * buildGrid(RE_Render *r, UT_Vector3F center, UT_Vector2F size, Orientation orient, const char *cache_name=NULL)
GR_API RE_Geometry * buildBone(RE_Render *r, const char *cache_name=NULL)
GR_API RE_Geometry * buildNull(RE_Render *r, UT_Vector3F center, fpreal scale, const char *cache_name=NULL)
GR_API RE_Geometry * buildBox(RE_Render *r, UT_Vector3F center, UT_Vector3F size, const char *cache_name=NULL)
GA_API const UT_StringHolder orient
GR_API RE_Geometry * buildSolverBone(RE_Render *r, const char *cache_name=NULL)
GR_API RE_Geometry * buildCircle(RE_Render *r, UT_Vector3F center, UT_Vector2F radius, Orientation orient, const char *cache_name=NULL)
GR_API RE_Geometry * buildSphere(RE_Render *r, UT_Vector3F center, UT_Vector3F radius, const char *cache_name=NULL)