Public Member Functions | Public Attributes | Private Member Functions
ON_Light Class Reference

#include <opennurbs_light.h>

Inheritance diagram for ON_Light:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ON_Color Ambient () const
ON_3dVector Attenuation () const
double Attenuation (double) const
ON::coordinate_system CoordinateSystem () const
void Default ()
ON_Color Diffuse () const
int Dimension () const
ON_3dVector Direction () const
void Dump (ON_TextLog &) const
ON_BOOL32 Enable (ON_BOOL32=true)
ON_BOOL32 GetBBox (double *, double *, ON_BOOL32=false) const
ON_BOOL32 GetLightXform (const ON_Viewport &vp, ON::coordinate_system dest_cs, ON_Xform &xform) const
bool GetSpotLightRadii (double *inner_radius, double *outer_radius) const
double HotSpot () const
double Intensity () const
const ON_BOOL32 IsDirectionalLight () const
ON_BOOL32 IsEnabled () const
const ON_BOOL32 IsLinearLight () const
const ON_BOOL32 IsPointLight () const
const ON_BOOL32 IsRectangularLight () const
const ON_BOOL32 IsSpotLight () const
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
ON_3dVector Length () const
int LightIndex () const
const ON_wStringLightName () const
ON_3dPoint Location () const
ON_UUID ModelObjectId () const
ON::object_type ObjectType () const
 ON_Light ()
ON_3dVector PerpindicularDirection () const
double PowerCandela () const
double PowerLumens () const
double PowerWatts () const
ON_BOOL32 Read (ON_BinaryArchive &)
void SetAmbient (ON_Color)
void SetAttenuation (double, double, double)
void SetAttenuation (const ON_3dVector &)
void SetDiffuse (ON_Color)
void SetDirection (const ON_3dVector &)
void SetHotSpot (double)
void SetIntensity (double)
void SetLength (const ON_3dVector &)
void SetLightIndex (int)
void SetLightName (const char *)
void SetLightName (const wchar_t *)
void SetLocation (const ON_3dPoint &)
void SetPowerCandela (double)
void SetPowerLumens (double)
void SetPowerWatts (double)
void SetShadowIntensity (double)
void SetSpecular (ON_Color)
void SetSpotAngleDegrees (double)
void SetSpotAngleRadians (double)
void SetSpotExponent (double)
void SetStyle (ON::light_style)
void SetWidth (const ON_3dVector &)
double ShadowIntensity () const
ON_Color Specular () const
double SpotAngleDegrees () const
double SpotAngleRadians () const
double SpotExponent () const
ON::light_style Style () const
ON_BOOL32 Transform (const ON_Xform &)
ON_3dVector Width () const
ON_BOOL32 Write (ON_BinaryArchive &) const
 ~ON_Light ()

Public Attributes

ON_Color m_ambient
ON_3dVector m_attenuation
ON_BOOL32 m_bOn
ON_Color m_diffuse
ON_3dVector m_direction
double m_hotspot
double m_intensity
ON_3dVector m_length
ON_UUID m_light_id
int m_light_index
ON_wString m_light_name
ON_3dPoint m_location
double m_shadow_intensity
ON_Color m_specular
double m_spot_angle
double m_spot_exponent
ON::light_style m_style
double m_watts
ON_3dVector m_width

Private Member Functions

 ON_OBJECT_DECLARE (ON_Light)

Detailed Description

Definition at line 20 of file opennurbs_light.h.


Constructor & Destructor Documentation

Definition at line 43 of file opennurbs_light.cpp.

Definition at line 48 of file opennurbs_light.cpp.


Member Function Documentation

Definition at line 707 of file opennurbs_light.cpp.

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.

Definition at line 20 of file opennurbs_light.cpp.

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.

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.

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.

Definition at line 386 of file opennurbs_light.cpp.

Definition at line 359 of file opennurbs_light.cpp.

Definition at line 420 of file opennurbs_light.cpp.

Definition at line 369 of file opennurbs_light.cpp.

Definition at line 437 of file opennurbs_light.cpp.

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.

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.

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.

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.

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.

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.

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.

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.

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.


Member Data Documentation

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.

Definition at line 295 of file opennurbs_light.h.

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.

Definition at line 303 of file opennurbs_light.h.

Definition at line 270 of file opennurbs_light.h.

Definition at line 291 of file opennurbs_light.h.

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.

Definition at line 286 of file opennurbs_light.h.

Definition at line 276 of file opennurbs_light.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:52