#include <opennurbs_light.h>
Definition at line 20 of file opennurbs_light.h.
Definition at line 43 of file opennurbs_light.cpp.
Definition at line 48 of file opennurbs_light.cpp.
ON_Color ON_Light::Ambient | ( | ) | const |
Definition at line 707 of file opennurbs_light.cpp.
ON_3dVector ON_Light::Attenuation | ( | ) | const |
Definition at line 502 of file opennurbs_light.cpp.
double ON_Light::Attenuation | ( | double | d | ) | const |
Definition at line 507 of file opennurbs_light.cpp.
ON::coordinate_system ON_Light::CoordinateSystem | ( | ) | const |
Definition at line 722 of file opennurbs_light.cpp.
void ON_Light::Default | ( | ) |
Definition at line 20 of file opennurbs_light.cpp.
ON_Color ON_Light::Diffuse | ( | ) | const |
Definition at line 712 of file opennurbs_light.cpp.
int ON_Light::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
Definition at line 236 of file opennurbs_light.cpp.
ON_3dVector ON_Light::Direction | ( | ) | const |
Definition at line 781 of file opennurbs_light.cpp.
void ON_Light::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 62 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::Enable | ( | ON_BOOL32 | b = true | ) |
Definition at line 352 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 241 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::GetLightXform | ( | const ON_Viewport & | vp, |
ON::coordinate_system | dest_cs, | ||
ON_Xform & | xform | ||
) | const |
Definition at line 754 of file opennurbs_light.cpp.
bool ON_Light::GetSpotLightRadii | ( | double * | inner_radius, |
double * | outer_radius | ||
) | const |
Definition at line 836 of file opennurbs_light.cpp.
double ON_Light::HotSpot | ( | ) | const |
Definition at line 610 of file opennurbs_light.cpp.
double ON_Light::Intensity | ( | ) | const |
Definition at line 861 of file opennurbs_light.cpp.
const ON_BOOL32 ON_Light::IsDirectionalLight | ( | ) | const |
Definition at line 386 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::IsEnabled | ( | ) | const |
Definition at line 359 of file opennurbs_light.cpp.
const ON_BOOL32 ON_Light::IsLinearLight | ( | ) | const |
Definition at line 420 of file opennurbs_light.cpp.
const ON_BOOL32 ON_Light::IsPointLight | ( | ) | const |
Definition at line 369 of file opennurbs_light.cpp.
const ON_BOOL32 ON_Light::IsRectangularLight | ( | ) | const |
Definition at line 437 of file opennurbs_light.cpp.
const ON_BOOL32 ON_Light::IsSpotLight | ( | ) | const |
Definition at line 403 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 52 of file opennurbs_light.cpp.
ON_3dVector ON_Light::Length | ( | ) | const |
Definition at line 652 of file opennurbs_light.cpp.
int ON_Light::LightIndex | ( | ) | const |
Definition at line 687 of file opennurbs_light.cpp.
const ON_wString & ON_Light::LightName | ( | ) | const |
Definition at line 472 of file opennurbs_light.cpp.
ON_3dPoint ON_Light::Location | ( | ) | const |
Definition at line 776 of file opennurbs_light.cpp.
ON_UUID ON_Light::ModelObjectId | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 1610 of file opennurbs_object.cpp.
ON::object_type ON_Light::ObjectType | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 231 of file opennurbs_light.cpp.
ON_Light::ON_OBJECT_DECLARE | ( | ON_Light | ) | [private] |
ON_3dVector ON_Light::PerpindicularDirection | ( | ) | const |
Definition at line 786 of file opennurbs_light.cpp.
double ON_Light::PowerCandela | ( | ) | const |
Definition at line 887 of file opennurbs_light.cpp.
double ON_Light::PowerLumens | ( | ) | const |
Definition at line 882 of file opennurbs_light.cpp.
double ON_Light::PowerWatts | ( | ) | const |
Definition at line 877 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::Read | ( | ON_BinaryArchive & | file | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 176 of file opennurbs_light.cpp.
void ON_Light::SetAmbient | ( | ON_Color | c | ) |
Definition at line 692 of file opennurbs_light.cpp.
void ON_Light::SetAttenuation | ( | double | a, |
double | b, | ||
double | c | ||
) |
Definition at line 492 of file opennurbs_light.cpp.
void ON_Light::SetAttenuation | ( | const ON_3dVector & | att | ) |
Definition at line 497 of file opennurbs_light.cpp.
void ON_Light::SetDiffuse | ( | ON_Color | c | ) |
Definition at line 697 of file opennurbs_light.cpp.
void ON_Light::SetDirection | ( | const ON_3dVector & | dir | ) |
Definition at line 771 of file opennurbs_light.cpp.
void ON_Light::SetHotSpot | ( | double | h | ) |
Definition at line 571 of file opennurbs_light.cpp.
void ON_Light::SetIntensity | ( | double | v | ) |
Definition at line 867 of file opennurbs_light.cpp.
void ON_Light::SetLength | ( | const ON_3dVector & | v | ) |
Definition at line 647 of file opennurbs_light.cpp.
void ON_Light::SetLightIndex | ( | int | i | ) |
Definition at line 682 of file opennurbs_light.cpp.
void ON_Light::SetLightName | ( | const char * | s | ) |
Definition at line 460 of file opennurbs_light.cpp.
void ON_Light::SetLightName | ( | const wchar_t * | s | ) |
Definition at line 466 of file opennurbs_light.cpp.
void ON_Light::SetLocation | ( | const ON_3dPoint & | loc | ) |
Definition at line 766 of file opennurbs_light.cpp.
void ON_Light::SetPowerCandela | ( | double | candela | ) |
Definition at line 902 of file opennurbs_light.cpp.
void ON_Light::SetPowerLumens | ( | double | lumens | ) |
Definition at line 897 of file opennurbs_light.cpp.
void ON_Light::SetPowerWatts | ( | double | watts | ) |
Definition at line 892 of file opennurbs_light.cpp.
void ON_Light::SetShadowIntensity | ( | double | s | ) |
Definition at line 668 of file opennurbs_light.cpp.
void ON_Light::SetSpecular | ( | ON_Color | c | ) |
Definition at line 702 of file opennurbs_light.cpp.
void ON_Light::SetSpotAngleDegrees | ( | double | a | ) |
Definition at line 540 of file opennurbs_light.cpp.
void ON_Light::SetSpotAngleRadians | ( | double | a | ) |
Definition at line 526 of file opennurbs_light.cpp.
void ON_Light::SetSpotExponent | ( | double | e | ) |
Definition at line 561 of file opennurbs_light.cpp.
void ON_Light::SetStyle | ( | ON::light_style | s | ) |
Definition at line 455 of file opennurbs_light.cpp.
void ON_Light::SetWidth | ( | const ON_3dVector & | v | ) |
Definition at line 657 of file opennurbs_light.cpp.
double ON_Light::ShadowIntensity | ( | ) | const |
Definition at line 677 of file opennurbs_light.cpp.
ON_Color ON_Light::Specular | ( | ) | const |
Definition at line 717 of file opennurbs_light.cpp.
double ON_Light::SpotAngleDegrees | ( | ) | const |
Definition at line 548 of file opennurbs_light.cpp.
double ON_Light::SpotAngleRadians | ( | ) | const |
Definition at line 535 of file opennurbs_light.cpp.
double ON_Light::SpotExponent | ( | ) | const |
Definition at line 583 of file opennurbs_light.cpp.
ON::light_style ON_Light::Style | ( | ) | const |
Definition at line 364 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 323 of file opennurbs_light.cpp.
ON_3dVector ON_Light::Width | ( | ) | const |
Definition at line 662 of file opennurbs_light.cpp.
ON_BOOL32 ON_Light::Write | ( | ON_BinaryArchive & | file | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 144 of file opennurbs_light.cpp.
Definition at line 268 of file opennurbs_light.h.
Definition at line 298 of file opennurbs_light.h.
Definition at line 265 of file opennurbs_light.h.
Definition at line 269 of file opennurbs_light.h.
Definition at line 272 of file opennurbs_light.h.
double ON_Light::m_hotspot |
Definition at line 295 of file opennurbs_light.h.
double ON_Light::m_intensity |
Definition at line 280 of file opennurbs_light.h.
Definition at line 274 of file opennurbs_light.h.
Definition at line 262 of file opennurbs_light.h.
Definition at line 261 of file opennurbs_light.h.
Definition at line 263 of file opennurbs_light.h.
Definition at line 273 of file opennurbs_light.h.
double ON_Light::m_shadow_intensity |
Definition at line 303 of file opennurbs_light.h.
Definition at line 270 of file opennurbs_light.h.
double ON_Light::m_spot_angle |
Definition at line 291 of file opennurbs_light.h.
double ON_Light::m_spot_exponent |
Definition at line 292 of file opennurbs_light.h.
ON::light_style ON_Light::m_style |
Definition at line 266 of file opennurbs_light.h.
double ON_Light::m_watts |
Definition at line 286 of file opennurbs_light.h.
Definition at line 276 of file opennurbs_light.h.