00001 //deprecated 00003 // 00004 // PROJECT.....: vpat - Creating Virtual Patients 00005 // RESPONSIBLE.: Carla Freitas e Luciana Nedel 00006 // 00007 // FILE........: vpdirectionallight.cpp 00008 // DESCRIPTION.: Contain the VPDirectionalLight class implementation. 00009 // 00010 // AUTHOR......: Rodrigo Berggevist Martins 00011 // DATE........: June/19/2000 00012 // DESCRIPTION.: Constructors and some methods implementation. 00013 // 00014 // AUTHOR......: Isabel Harb Manssour 00015 // DATE........: April/17/2001 00016 // DESCRIPTION.: Constructor without parameter implementation. 00017 // 00019 00020 00021 #include <vpdirectionallight.h> 00022 00023 00025 // Description: Class "VPDirectionalLight" constructor without 00026 // parameter. 00027 // Parameters.: - 00028 // Return.....: - 00029 00030 VPDirectionalLight::VPDirectionalLight(){ 00031 00032 } 00033 00034 00036 // Description: Class "VPDirectionalLight" constructor with parameter. 00037 // Parameters.: - 00038 // Return.....: - 00039 00040 VPDirectionalLight::VPDirectionalLight(VPVector3D d){ 00041 direction=d; 00042 } 00043 00044 00046 // Description: Method "vpSetDirection" sends a new value to the 00047 // direction attribute. 00048 // Parameters.: VPVector3D d (contains a new value for intensity attribute) 00049 // Return.....: - 00050 00051 void VPDirectionalLight::vpSetDirection(VPVector3D d){ 00052 direction=d; 00053 } 00054 00055 00057 // Description: Method "vpGetDirection" returns the value of 00058 // direction attribute. 00059 // Parameters.: - 00060 // Return.....: VPVector3D direction (value of intensity attribute) 00061 00062 VPVector3D VPDirectionalLight::vpGetDirection( void ){ 00063 return(direction); 00064 }