17 #if !defined(OPENNURBS_LIGHT_INC_)
18 #define OPENNURBS_LIGHT_INC_
141 ON::coordinate_system dest_cs,
double SpotExponent() const
ON_3dVector Direction() const
void SetDirection(const ON_3dVector &)
void SetAmbient(ON_Color)
void SetPowerCandela(double)
ON::coordinate_system CoordinateSystem() const
ON_3dPoint Location() const
double Attenuation(double) const
void Dump(ON_TextLog &) const
void SetWidth(const ON_3dVector &)
void SetLength(const ON_3dVector &)
ON_BOOL32 Write(ON_BinaryArchive &) const
void SetLightName(const wchar_t *)
void SetPowerWatts(double)
ON_3dVector m_attenuation
double SpotAngleDegrees() const
void SetShadowIntensity(double)
ON::object_type ObjectType() const
double SpotAngleRadians() const
ON_3dVector Width() const
ON_BOOL32 Enable(ON_BOOL32=true)
ON_BOOL32 IsDirectionalLight() const
ON_BOOL32 IsEnabled() const
ON_BOOL32 Transform(const ON_Xform &)
void SetStyle(ON::light_style)
void SetPowerLumens(double)
double m_shadow_intensity
ON_3dVector PerpindicularDirection() const
ON_UUID ModelObjectId() const
void SetDiffuse(ON_Color)
ON_BOOL32 GetLightXform(const ON_Viewport &vp, ON::coordinate_system dest_cs, ON_Xform &xform) const
ON_3dVector Length() const
ON_BOOL32 GetBBox(double *, double *, ON_BOOL32=false) const
ON_BOOL32 IsSpotLight() const
ON_3dVector Attenuation() const
void SetSpotAngleDegrees(double)
void SetSpecular(ON_Color)
void SetLocation(const ON_3dPoint &)
ON_BOOL32 IsRectangularLight() const
double ShadowIntensity() const
void SetSpotAngleRadians(double)
double PowerLumens() const
void SetAttenuation(double, double, double)
void SetSpotExponent(double)
bool GetSpotLightRadii(double *inner_radius, double *outer_radius) const
ON_BOOL32 IsPointLight() const
void SetLightName(const char *)
void SetAttenuation(const ON_3dVector &)
ON_BOOL32 Read(ON_BinaryArchive &)
double PowerCandela() const
double PowerWatts() const
ON::light_style Style() const
void SetIntensity(double)
const ON_wString & LightName() const
ON_Color Specular() const
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
ON_BOOL32 IsLinearLight() const