#include <GR_Detail.h>
Public Member Functions | |
| GR_Detail () | |
| ~GR_Detail () | |
| void | boundBoxDraw (GU_Detail *gdp, RE_Render &ren, int drawselect, const GU_PrimGroupClosure *hidden_geometry, const GR_DisplayOption *drawOpt) const |
| void | wireDraw (GU_Detail *gdp, RE_Render &ren, float lod, int drawselect, const GU_PrimGroupClosure *hidden_geometry=0, const GR_DisplayOption *dopt=0, UT_Bool attribs=UT_TRUE, OP_Node *shopsRelativeTo=0) const |
| void | wireDrawProfiles (GU_Detail &gdp, GEO_Primitive *prim, RE_Render &ren, GR_DisplayOption *dopt, int drawselect, const GR_AttribOffset &ptinfo, float lod, const GU_PrimGroupClosure *hidden_geometry, int &cullCount) const |
| int | shadedSimpleDraw (GU_Detail *gdp, RE_Render &ren, float lod, RE_Material *remat=NULL, const GR_DisplayOption *dopt=0, const GU_PrimGroupClosure *hidden_geometry=0) const |
| void | wireDumbDraw (GU_Detail *gdp, RE_Render &ren) const |
| int | shadedDraw (GU_Detail *gdp, RE_Render &ren, float lod, RE_Material *rem, int drawselect, const GU_PrimGroupClosure *hidden_geometry=0, const GR_DisplayOption *dopt=0, float time=0, UT_Matrix4 *shadexform=0, UT_Matrix4 *worldxform=0, int drawLit=1, UT_Bool attribs=UT_TRUE, OP_Node *shopsRelativeTo=0) const |
| int | vexShadedDraw (GU_Detail *gdp, RE_Render &ren, float lod, RE_Material *rem, RE_Displace *redisp, RE_Light *lights[], int light_count, int drawselect, const UT_Matrix4 &shadexform, const UT_Matrix4 &worldxform, const GU_PrimGroupClosure *hidden_geometry=0, const GR_DisplayOption *dopt=0, float time=0, GVEX_MeshShader *mshader=0, UT_Bool attribs=UT_TRUE, OP_Node *shopsRelativeTo=0) const |
| void | wirePick (GU_Detail *gdp, RE_Render &ren, float lod, int drawselect, const GU_PrimGroupClosure *hidden_geometry, const GR_DisplayOption *dopt=0) const |
| void | wirePickProfiles (GU_Detail *gdp, GEO_Primitive *prim, RE_Render &ren, GR_DisplayOption *dopt, int drawselect, const GR_AttribOffset &ptinfo, float lod, int &cullCount) const |
| void | wirePickPrimitive (GEO_Primitive *prim, RE_Render &ren, const GR_AttribOffset &ptinfo, const GR_DisplayOption &drawOpt, float lod, int &cullCount) const |
| void | wirePickPrimitive (GEO_Primitive *prim, GB_Primitive *, RE_Render &ren, const GR_AttribOffset &ptinfo, const GR_DisplayOption &drawOpt, float lod, int &cullCount) const |
| void | shadedPick (GU_Detail *gdp, RE_Render &ren, float lod, int drawselect, const GU_PrimGroupClosure *hidden_geometry, const GR_DisplayOption *dopt=0) const |
| void | shadedPickPrimitive (GEO_Primitive *prim, RE_Render &ren, const GR_AttribOffset &ptinfo, const GR_DisplayOption &drawOpt, float lod, int &cullCount) const |
| void | addError (UT_Error *error) const |
| void | addError (int code, const char *msg=0) const |
| void | addWarning (int code, const char *msg=0) const |
Static Public Member Functions | |
| static void | bootstrapInternalCaches (RE_Render &ren) |
| static int | queryNewLOD (const GU_Detail *gdp, RE_Render &ren, float lod, float &newlod) |
| static void | computeViewDirection (RE_Render &ren) |
| static const UT_Vector3 & | getViewDirection () |
| static const UT_Vector3 & | getViewOrigin () |
| static void | toggleLightShading (RE_Render &ren, int onoff) |
| static bool | usingVertexDiffuseMaterial () |
| static bool | delayUnlitPrimitive (GEO_Primitive *prim) |
| static bool | enableDelayOfUnlitPrimitives (bool enable) |
Definition at line 95 of file GR_Detail.h.
| GR_Detail::GR_Detail | ( | ) | [inline] |
Definition at line 98 of file GR_Detail.h.
| GR_Detail::~GR_Detail | ( | ) | [inline] |
Definition at line 99 of file GR_Detail.h.
| void GR_Detail::addError | ( | int | code, | |
| const char * | msg = 0 | |||
| ) | const [inline] |
Definition at line 270 of file GR_Detail.h.
| void GR_Detail::addError | ( | UT_Error * | error | ) | const [inline] |
Definition at line 268 of file GR_Detail.h.
| void GR_Detail::addWarning | ( | int | code, | |
| const char * | msg = 0 | |||
| ) | const [inline] |
Definition at line 272 of file GR_Detail.h.
| static void GR_Detail::bootstrapInternalCaches | ( | RE_Render & | ren | ) | [static] |
| void GR_Detail::boundBoxDraw | ( | GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| int | drawselect, | |||
| const GU_PrimGroupClosure * | hidden_geometry, | |||
| const GR_DisplayOption * | drawOpt | |||
| ) | const |
| static void GR_Detail::computeViewDirection | ( | RE_Render & | ren | ) | [static] |
| static bool GR_Detail::delayUnlitPrimitive | ( | GEO_Primitive * | prim | ) | [static] |
| static bool GR_Detail::enableDelayOfUnlitPrimitives | ( | bool | enable | ) | [static] |
| static const UT_Vector3& GR_Detail::getViewDirection | ( | ) | [static] |
| static const UT_Vector3& GR_Detail::getViewOrigin | ( | ) | [static] |
| static int GR_Detail::queryNewLOD | ( | const GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| float | lod, | |||
| float & | newlod | |||
| ) | [static] |
| int GR_Detail::shadedDraw | ( | GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| float | lod, | |||
| RE_Material * | rem, | |||
| int | drawselect, | |||
| const GU_PrimGroupClosure * | hidden_geometry = 0, |
|||
| const GR_DisplayOption * | dopt = 0, |
|||
| float | time = 0, |
|||
| UT_Matrix4 * | shadexform = 0, |
|||
| UT_Matrix4 * | worldxform = 0, |
|||
| int | drawLit = 1, |
|||
| UT_Bool | attribs = UT_TRUE, |
|||
| OP_Node * | shopsRelativeTo = 0 | |||
| ) | const |
| void GR_Detail::shadedPick | ( | GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| float | lod, | |||
| int | drawselect, | |||
| const GU_PrimGroupClosure * | hidden_geometry, | |||
| const GR_DisplayOption * | dopt = 0 | |||
| ) | const |
| void GR_Detail::shadedPickPrimitive | ( | GEO_Primitive * | prim, | |
| RE_Render & | ren, | |||
| const GR_AttribOffset & | ptinfo, | |||
| const GR_DisplayOption & | drawOpt, | |||
| float | lod, | |||
| int & | cullCount | |||
| ) | const |
| int GR_Detail::shadedSimpleDraw | ( | GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| float | lod, | |||
| RE_Material * | remat = NULL, |
|||
| const GR_DisplayOption * | dopt = 0, |
|||
| const GU_PrimGroupClosure * | hidden_geometry = 0 | |||
| ) | const |
| static void GR_Detail::toggleLightShading | ( | RE_Render & | ren, | |
| int | onoff | |||
| ) | [static] |
| static bool GR_Detail::usingVertexDiffuseMaterial | ( | ) | [inline, static] |
Definition at line 120 of file GR_Detail.h.
| int GR_Detail::vexShadedDraw | ( | GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| float | lod, | |||
| RE_Material * | rem, | |||
| RE_Displace * | redisp, | |||
| RE_Light * | lights[], | |||
| int | light_count, | |||
| int | drawselect, | |||
| const UT_Matrix4 & | shadexform, | |||
| const UT_Matrix4 & | worldxform, | |||
| const GU_PrimGroupClosure * | hidden_geometry = 0, |
|||
| const GR_DisplayOption * | dopt = 0, |
|||
| float | time = 0, |
|||
| GVEX_MeshShader * | mshader = 0, |
|||
| UT_Bool | attribs = UT_TRUE, |
|||
| OP_Node * | shopsRelativeTo = 0 | |||
| ) | const |
| void GR_Detail::wireDraw | ( | GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| float | lod, | |||
| int | drawselect, | |||
| const GU_PrimGroupClosure * | hidden_geometry = 0, |
|||
| const GR_DisplayOption * | dopt = 0, |
|||
| UT_Bool | attribs = UT_TRUE, |
|||
| OP_Node * | shopsRelativeTo = 0 | |||
| ) | const |
| void GR_Detail::wireDrawProfiles | ( | GU_Detail & | gdp, | |
| GEO_Primitive * | prim, | |||
| RE_Render & | ren, | |||
| GR_DisplayOption * | dopt, | |||
| int | drawselect, | |||
| const GR_AttribOffset & | ptinfo, | |||
| float | lod, | |||
| const GU_PrimGroupClosure * | hidden_geometry, | |||
| int & | cullCount | |||
| ) | const |
| void GR_Detail::wirePick | ( | GU_Detail * | gdp, | |
| RE_Render & | ren, | |||
| float | lod, | |||
| int | drawselect, | |||
| const GU_PrimGroupClosure * | hidden_geometry, | |||
| const GR_DisplayOption * | dopt = 0 | |||
| ) | const |
| void GR_Detail::wirePickPrimitive | ( | GEO_Primitive * | prim, | |
| GB_Primitive * | , | |||
| RE_Render & | ren, | |||
| const GR_AttribOffset & | ptinfo, | |||
| const GR_DisplayOption & | drawOpt, | |||
| float | lod, | |||
| int & | cullCount | |||
| ) | const |
| void GR_Detail::wirePickPrimitive | ( | GEO_Primitive * | prim, | |
| RE_Render & | ren, | |||
| const GR_AttribOffset & | ptinfo, | |||
| const GR_DisplayOption & | drawOpt, | |||
| float | lod, | |||
| int & | cullCount | |||
| ) | const |
| void GR_Detail::wirePickProfiles | ( | GU_Detail * | gdp, | |
| GEO_Primitive * | prim, | |||
| RE_Render & | ren, | |||
| GR_DisplayOption * | dopt, | |||
| int | drawselect, | |||
| const GR_AttribOffset & | ptinfo, | |||
| float | lod, | |||
| int & | cullCount | |||
| ) | const |
1.5.9