1 #ifndef LWPP_OBJECTINFO_H
2 #define LWPP_OBJECTINFO_H
35 LWMeshInfoID
meshInfo(
bool frozen =
false)
const {
return globPtr->meshInfo(item, frozen);}
37 double fog(LWTime time)
const {
return globPtr->fog(item, time);}
40 void patchLevel(
int *display,
int *render)
const {
globPtr->patchLevel(item, display, render);}
41 void metaballRes(
double *display,
double *render)
const {
globPtr->metaballRes(item, display, render);}
46 void edgeColor(LWTime time, LWDVector color)
const {
globPtr->edgeColor(item, time, color);}
52 return globPtr->excluded(item, light) != 0;
54 void matteColor(LWTime time, LWDVector color)
const {
globPtr->matteColor(item, time, color);}
55 double thickness(LWTime time,
int type)
const {
return globPtr->thickness(item, time, type);}
68 LWMeshInfoID
layerMesh(
int obj,
int layer)
const {
return globPtr->layerMesh(obj, layer);}
69 const char *
vmapName(LWID type,
int index)
const {
return globPtr->vmapName(type, index);}
71 int vmapDim (LWID type,
int index)
const {
return globPtr->vmapDim(type, index);}
80 for (
int i = 0; i <
max; ++i)
82 if (name ==
vmapName(
id, i))
return i;
87 int findObject (
const std::string &objectName);
106 template <
bool showNone = true>
120 if (idx == 0)
return "(none)";
136 index = *((
int *)value);
149 return so.
numVMaps(type) + (showNone ? 1 : 0);
155 if (n == 0)
return "(none)";
161 VMapCallbacks (LWID _type,
bool _showNone =
true) : type(_type), showNone(_showNone) {;}
165 #endif //LWPP_OBJECTINFO_H