Point Cloud Library (PCL)  1.7.0
Public Member Functions | Public Attributes
ON_Light Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_light.h>

+ Inheritance diagram for ON_Light:

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 20 of file opennurbs_light.h.


Constructor & Destructor Documentation


Member Function Documentation

double ON_Light::Attenuation ( double  ) const
ON::coordinate_system ON_Light::CoordinateSystem ( ) const
int ON_Light::Dimension ( ) const [virtual]

Implements ON_Geometry.

void ON_Light::Dump ( ON_TextLog ) const [virtual]

Reimplemented from ON_Object.

ON_BOOL32 ON_Light::Enable ( ON_BOOL32  = true)
ON_BOOL32 ON_Light::GetBBox ( double *  ,
double *  ,
ON_BOOL32  = false 
) const [virtual]

Implements ON_Geometry.

ON_BOOL32 ON_Light::GetLightXform ( const ON_Viewport vp,
ON::coordinate_system  dest_cs,
ON_Xform xform 
) const
bool ON_Light::GetSpotLightRadii ( double *  inner_radius,
double *  outer_radius 
) const
double ON_Light::HotSpot ( ) const
double ON_Light::Intensity ( ) const
const ON_BOOL32 ON_Light::IsDirectionalLight ( ) const
ON_BOOL32 ON_Light::IsEnabled ( ) const
const ON_BOOL32 ON_Light::IsLinearLight ( ) const
const ON_BOOL32 ON_Light::IsPointLight ( ) const
const ON_BOOL32 ON_Light::IsRectangularLight ( ) const
const ON_BOOL32 ON_Light::IsSpotLight ( ) const
ON_BOOL32 ON_Light::IsValid ( ON_TextLog text_log = NULL) const [virtual]

Implements ON_Object.

int ON_Light::LightIndex ( ) const
const ON_wString& ON_Light::LightName ( ) const
ON_UUID ON_Light::ModelObjectId ( ) const [virtual]

Reimplemented from ON_Object.

ON::object_type ON_Light::ObjectType ( ) const [virtual]

Reimplemented from ON_Object.

double ON_Light::PowerCandela ( ) const
double ON_Light::PowerLumens ( ) const
double ON_Light::PowerWatts ( ) const
ON_BOOL32 ON_Light::Read ( ON_BinaryArchive ) [virtual]

Reimplemented from ON_Object.

void ON_Light::SetAttenuation ( double  ,
double  ,
double   
)
void ON_Light::SetDirection ( const ON_3dVector )
void ON_Light::SetHotSpot ( double  )
void ON_Light::SetIntensity ( double  )
void ON_Light::SetLength ( const ON_3dVector )
void ON_Light::SetLightIndex ( int  )
void ON_Light::SetLightName ( const char *  )
void ON_Light::SetLightName ( const wchar_t *  )
void ON_Light::SetLocation ( const ON_3dPoint )
void ON_Light::SetPowerCandela ( double  )
void ON_Light::SetPowerLumens ( double  )
void ON_Light::SetPowerWatts ( double  )
void ON_Light::SetShadowIntensity ( double  )
void ON_Light::SetSpotAngleDegrees ( double  )
void ON_Light::SetSpotAngleRadians ( double  )
void ON_Light::SetSpotExponent ( double  )
void ON_Light::SetStyle ( ON::light_style  )
void ON_Light::SetWidth ( const ON_3dVector )
double ON_Light::ShadowIntensity ( ) const
double ON_Light::SpotAngleDegrees ( ) const
double ON_Light::SpotAngleRadians ( ) const
double ON_Light::SpotExponent ( ) const
ON::light_style ON_Light::Style ( ) const
ON_BOOL32 ON_Light::Transform ( const ON_Xform ) [virtual]

Reimplemented from ON_Geometry.

ON_BOOL32 ON_Light::Write ( ON_BinaryArchive ) const [virtual]

Reimplemented from ON_Object.


Member Data Documentation

Definition at line 268 of file opennurbs_light.h.

Definition at line 298 of file opennurbs_light.h.

ON_BOOL32 ON_Light::m_bOn

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 file: