00001 //deprecated 00005 00006 // ChangeLog is at the implementation file 00007 00008 #ifndef __VPSPOTLIGHT_H 00009 #define __VPSPOTLIGHT_H 00010 00011 #include "vplight.h" 00012 00014 00018 class VPSpotLight : public VPLight { 00019 public: 00020 VPSpotLight(VPVector3D a, float bw, float coa, 00021 VPPoint3D l, VPVector3D d, float r); 00022 void SetAttenuation( VPVector3D a ); 00023 VPVector3D GetAttenuation( void ); 00024 void SetBeamWidth( float bw ); 00025 float GetBeamWidth( void ); 00026 void SetCutOffAngle( float coa ); 00027 float GetCutOffAngle( void ); 00028 void SetDirection( VPVector3D d ); 00029 VPVector3D GetDirection( void ); 00030 void SetRadius( float r ); 00031 float GetRadius( void ); 00032 private: 00033 VPVector3D attenuation; 00034 float beamWidth; 00035 float cutOffAngle; 00036 VPVector3D direction; 00037 float radius; 00038 }; 00039 00040 #endif