Go to the documentation of this file.
6 #ifndef CNOID_BODY_SPOT_LIGHT_H
7 #define CNOID_BODY_SPOT_LIGHT_H
10 #include "exportdecl.h"
20 virtual const char* typeName()
const override;
21 void copyStateFrom(
const SpotLight& other);
22 virtual void copyStateFrom(
const DeviceState& other)
override;
24 virtual void forEachActualType(std::function<
bool(
const std::type_info& type)> func)
override;
25 virtual int stateSize()
const override;
26 virtual const double* readState(
const double* buf)
override;
27 virtual double* writeState(
double* out_buf)
const override;
41 bool readSpecifications(
const Mapping* info);
42 bool writeSpecifications(
Mapping* info)
const;
51 float cutOffExponent_;
Definition: ValueTree.h:253
const Vector3 & direction() const
Definition: SpotLight.h:29
void setBeamWidth(float beamWidth)
Definition: SpotLight.h:33
Eigen::Vector3d Vector3
Definition: EigenTypes.h:57
void setCutOffExponent(float e)
Definition: SpotLight.h:39
float cutOffAngle() const
Definition: SpotLight.h:35
void setCutOffAngle(float angle)
Definition: SpotLight.h:36
Definition: SpotLight.h:14
Definition: Referenced.h:103
ref_ptr< SpotLight > SpotLightPtr
Definition: SpotLight.h:54
float cutOffExponent() const
Definition: SpotLight.h:38
Definition: AbstractSceneLoader.h:11
Definition: CloneMap.h:13
float beamWidth() const
Definition: SpotLight.h:32
void setDirection(const Vector3 &direction)
Definition: SpotLight.h:30
Definition: Referenced.h:54
Definition: PointLight.h:16