HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GR_ShapeFactory Namespace Reference

Enumerations

enum  Orientation { ORIENT_XY, ORIENT_XZ, ORIENT_YZ }
 

Functions

GR_API RE_GeometrybuildPoint (RE_Render *r, UT_Vector3F pos, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildPointCloud (RE_Render *r, const UT_Vector3FArray &pos, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildGrid (RE_Render *r, UT_Vector3F center, UT_Vector2F size, Orientation orient, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildBox (RE_Render *r, UT_Vector3F center, UT_Vector3F size, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildLine (RE_Render *r, UT_Vector3F p0, UT_Vector3F p1, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildCircle (RE_Render *r, UT_Vector3F center, UT_Vector2F radius, Orientation orient, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildSphere (RE_Render *r, UT_Vector3F center, UT_Vector3F radius, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildAxes (RE_Render *r, UT_Vector3F center, fpreal scale, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildNull (RE_Render *r, UT_Vector3F center, fpreal scale, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildBone (RE_Render *r, const char *cache_name=NULL)
 
GR_API RE_GeometrybuildSolverBone (RE_Render *r, const char *cache_name=NULL)
 

Enumeration Type Documentation

Enumerator
ORIENT_XY 
ORIENT_XZ 
ORIENT_YZ 

Definition at line 25 of file GR_ShapeFactory.h.

Function Documentation

GR_API RE_Geometry* GR_ShapeFactory::buildAxes ( RE_Render r,
UT_Vector3F  center,
fpreal  scale,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildBone ( RE_Render r,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildBox ( RE_Render r,
UT_Vector3F  center,
UT_Vector3F  size,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildCircle ( RE_Render r,
UT_Vector3F  center,
UT_Vector2F  radius,
Orientation  orient,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildGrid ( RE_Render r,
UT_Vector3F  center,
UT_Vector2F  size,
Orientation  orient,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildLine ( RE_Render r,
UT_Vector3F  p0,
UT_Vector3F  p1,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildNull ( RE_Render r,
UT_Vector3F  center,
fpreal  scale,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildPoint ( RE_Render r,
UT_Vector3F  pos,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildPointCloud ( RE_Render r,
const UT_Vector3FArray pos,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildSolverBone ( RE_Render r,
const char *  cache_name = NULL 
)
GR_API RE_Geometry* GR_ShapeFactory::buildSphere ( RE_Render r,
UT_Vector3F  center,
UT_Vector3F  radius,
const char *  cache_name = NULL 
)