You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.5 KiB
C++

#include "FITKCFDPostLight.h"
namespace Interface
{
void FITKCFDPostLight::setLightType(FITKPostLightType type)
{
_lightType = type;
}
FITKPostLightType FITKCFDPostLight::getLightType()
{
return _lightType;
}
void FITKCFDPostLight::setColor(double * color)
{
_color[0] = color[0];
_color[1] = color[1];
_color[2] = color[2];
}
void FITKCFDPostLight::getColor(double * color)
{
color[0] = _color[0];
color[1] = _color[1];
color[2] = _color[2];
}
void FITKCFDPostLight::setPosition(double * position)
{
_position[0] = position[0];
_position[1] = position[1];
_position[2] = position[2];
}
void FITKCFDPostLight::getPosition(double * position)
{
position[0] = _position[0];
position[1] = _position[1];
position[2] = _position[2];
}
void FITKCFDPostLight::setFocalPoint(double * focalPoint)
{
_focalPoint[0] = focalPoint[0];
_focalPoint[1] = focalPoint[1];
_focalPoint[2] = focalPoint[2];
}
void FITKCFDPostLight::getFocalPoint(double * focalPoint)
{
focalPoint[0] = _focalPoint[0];
focalPoint[1] = _focalPoint[1];
focalPoint[2] = _focalPoint[2];
}
void FITKCFDPostLight::setConeAngle(double value)
{
_coneAngle = value;
}
double FITKCFDPostLight::getConeAngle()
{
return _coneAngle;
}
}