13 #ifndef __OBJ_ReLightProxy__
14 #define __OBJ_ReLightProxy__
47 virtual void enable(
bool e);
48 virtual void bumpVersion();
49 virtual void setInfinite(
int onoff);
50 virtual void setAmbient(
int onoff);
51 virtual void setCone(
int onoff);
52 virtual void setName(
const char *
name);
54 virtual void setDirection(
const UT_Vector3 &d);
57 virtual void setConeAttrib(
float a,
float d,
float r);
58 virtual void setProjectMap(
const char *
name,
const char *relativeTo);
59 virtual void setProjectMapClamp(
int onoff);
60 virtual void setShadowed(
bool onoff);
61 virtual void setShadowIntensity(
float i);
62 virtual void setShadowBias(
float b);
63 virtual void setShadowBlur(
float b);
64 virtual void setShadowQuality(
float q);
65 virtual void setShadowMask(
const char *m);
66 virtual void setTransform(
const UT_Matrix4 &m);
67 virtual void setFocalLength(
float focal);
68 virtual void setAperture(
float aper);
69 virtual void setNearDistance(
float znear);
70 virtual void setFarDistance(
float zfar);
72 virtual void setOrthoWidth(
float width);
73 virtual void setDiffuse(
int onoff);
74 virtual void setSpecular(
int onoff);
75 virtual void setArea(
bool onoff);
76 virtual void setGlobalIllumination(
bool onoff);
77 virtual void setPortal(
bool onoff);
78 virtual void setAreaSide(
bool single,
bool reverse);
80 virtual void setSurfaceArea(
float area);
81 virtual void setNormalizeArea(
bool norm);
84 virtual void setEnvironmentMap(
const char *
name,
const char *relativeTo);
85 virtual void setEnvironment(
bool onoff);
86 virtual void setEnvironmentMipmap(
bool onoff);
87 virtual void setEnvironmentCone(
float angle);
88 virtual bool isEnvironmentLight()
const;
89 virtual void setAttenuation(
float constant,
float linear,
float quadratic);
90 virtual void setAttenuationRange(
float near_dist,
float far_dist);
91 virtual void setAttenuationRamp(
92 const UT_Ramp *ramp,
float start_dist,
float end_dist);
93 virtual void setLightShadowMapSize(
int s);
94 virtual void setFogIntensity(
float i);
95 virtual void setFogScatter(
float para,
float perp);
103 void verifySubclassOverride()
const;
113 verifySubclassOverride();
118 { verifySubclassOverride(); }
121 { verifySubclassOverride(); }
124 { verifySubclassOverride(); }
127 { verifySubclassOverride(); }
130 { verifySubclassOverride(); }
133 { verifySubclassOverride(); }
136 { verifySubclassOverride(); }
139 { verifySubclassOverride(); }
142 { verifySubclassOverride(); }
145 { verifySubclassOverride(); }
148 { verifySubclassOverride(); }
151 const char *
name,
const char *relativeTo)
152 { verifySubclassOverride(); }
155 { verifySubclassOverride(); }
158 { verifySubclassOverride(); }
161 { verifySubclassOverride(); }
164 { verifySubclassOverride(); }
167 { verifySubclassOverride(); }
170 { verifySubclassOverride(); }
173 { verifySubclassOverride(); }
176 { verifySubclassOverride(); }
179 { verifySubclassOverride(); }
182 { verifySubclassOverride(); }
185 { verifySubclassOverride(); }
188 { verifySubclassOverride(); }
192 verifySubclassOverride();
197 { verifySubclassOverride(); }
200 { verifySubclassOverride(); }
203 { verifySubclassOverride(); }
206 { verifySubclassOverride(); }
209 { verifySubclassOverride(); }
212 { verifySubclassOverride(); }
215 { verifySubclassOverride(); }
218 { verifySubclassOverride(); }
221 { verifySubclassOverride(); }
224 { verifySubclassOverride(); }
227 { verifySubclassOverride(); }
230 { verifySubclassOverride(); }
233 const char *
name,
const char *relativeTo)
234 { verifySubclassOverride(); }
237 { verifySubclassOverride(); }
240 { verifySubclassOverride(); }
243 { verifySubclassOverride(); }
247 verifySubclassOverride();
252 float constant,
float linear,
float quadratic)
253 { verifySubclassOverride(); }
256 float near_dist,
float far_dist)
257 { verifySubclassOverride(); }
260 const UT_Ramp *ramp,
float start_dist,
float end_dist)
261 { verifySubclassOverride(); }
264 { verifySubclassOverride(); }
267 { verifySubclassOverride(); }
270 { verifySubclassOverride(); }
UT_UniquePtr< UT_Ramp > myAttenRamp
virtual void setEnvironment(bool onoff)
virtual void setLightShadowMapSize(int s)
virtual void setShadowIntensity(float i)
virtual void setFocalLength(float focal)
virtual void setAreaTransform(UT_Matrix4 t)
virtual void setSurfaceArea(float area)
virtual void setEnvironmentCone(float angle)
SIM_API const UT_StringHolder angle
virtual void setTransform(const UT_Matrix4 &m)
const UT_Options & getParms() const
virtual bool isEnvironmentLight() const
virtual void setShadowed(bool onoff)
virtual void setPortal(bool onoff)
GLboolean GLboolean GLboolean GLboolean a
void reverse(I begin, I end)
OBJ_ReLightProxy *(* OBJ_ReLightProxyCreateFunc)(OBJ_Ambient *obj_light)
GLdouble GLdouble GLdouble q
virtual void setAreaShape(OBJ_LightAreaShape shape)
virtual void setAttenuationRamp(const UT_Ramp *ramp, float start_dist, float end_dist)
virtual void setNearDistance(float znear)
virtual void setProjectMapClamp(int onoff)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
virtual void setEnvironmentMipmap(bool onoff)
virtual void setFogScatter(float para, float perp)
virtual void setName(const char *name)
virtual void enable(bool e)
virtual void bumpVersion()
virtual void setAttenuation(float constant, float linear, float quadratic)
virtual void setProjectMap(const char *name, const char *relativeTo)
virtual void setArea(bool onoff)
virtual void setAperture(float aper)
bool isInfinite(const float x)
Return true if x is an infinity value (either positive infinity or negative infinity).
virtual void setAmbient(int onoff)
virtual void setAreaSide(bool single, bool reverse)
GLuint const GLchar * name
virtual void setInfinite(int onoff)
GLboolean GLboolean GLboolean b
virtual void setConeAttrib(float a, float d, float r)
GA_API const UT_StringHolder orient
virtual void setOrientation(UT_Matrix3 &orient)
virtual void setShadowMask(const char *m)
A map of string to various well defined value types.
virtual void setFogIntensity(float i)
virtual void setDiffuse(int onoff)
virtual void setCone(int onoff)
Utility class for containing a color ramp.
virtual int isInfinite() const
virtual void setShadowBlur(float b)
virtual void setSpecular(int onoff)
virtual void setEnvironmentMap(const char *name, const char *relativeTo)
virtual void setGlobalIllumination(bool onoff)
virtual void setPosition(const UT_Vector3 &p)
virtual void setAreaAxes(const UT_Vector3F &axes)
virtual void setFarDistance(float zfar)
virtual void setDirection(const UT_Vector3 &d)
virtual void setShadowBias(float b)
virtual void setAttenuationRange(float near_dist, float far_dist)
virtual void setOrthoWidth(float width)
virtual void setColor(const UT_Vector3 &c)
virtual void setNormalizeArea(bool norm)
virtual RE_Light * getLight()
GA_API const UT_StringHolder area
virtual void setShadowQuality(float q)