Choreonoid
1.5
|
#include <SpotLight.h>
Public Member Functions | |
SpotLight () | |
SpotLight (const SpotLight &org, bool copyStateOnly=false) | |
virtual const char * | typeName () |
void | copyStateFrom (const SpotLight &other) |
virtual void | copyStateFrom (const DeviceState &other) |
virtual DeviceState * | cloneState () const |
virtual Device * | clone () const |
virtual void | forEachActualType (boost::function< bool(const std::type_info &type)> func) |
virtual int | stateSize () const |
virtual const double * | readState (const double *buf) |
virtual double * | writeState (double *out_buf) const |
const Vector3 & | direction () const |
void | setDirection (const Vector3 &direction) |
float | beamWidth () const |
void | setBeamWidth (float beamWidth) |
float | cutOffAngle () const |
void | setCutOffAngle (float angle) |
![]() | |
PointLight () | |
PointLight (const PointLight &org, bool copyStateOnly=false) | |
void | copyStateFrom (const PointLight &other) |
float | constantAttenuation () const |
void | setConstantAttenuation (float a) |
float | linearAttenuation () const |
void | setLinearAttenuation (float a) |
float | quadraticAttenuation () const |
void | setQuadraticAttenuation (float a) |
![]() | |
void | copyStateFrom (const Light &other) |
bool | on () const |
void | on (bool on) |
const Vector3f & | color () const |
void | setColor (const Vector3f &c) |
void | setColor (const Vector3 &c) |
float | intensity () const |
void | setIntensity (float intensity) |
![]() | |
virtual | ~Device () |
void | setIndex (int index) |
void | setId (int id) |
void | setName (const std::string &name) |
void | setLink (Link *link) |
virtual void | clearState () |
bool | hasStateOnly () const |
const int | index () const |
const int | id () const |
const std::string & | name () const |
const Link * | link () const |
Link * | link () |
Isometry3 & | T_local () |
const Isometry3 & | T_local () const |
Isometry3::ConstLinearPart | R_local () const |
Isometry3::LinearPart | R_local () |
Isometry3::ConstLinearPart | localRotation () const |
Isometry3::LinearPart | localRotaion () |
template<typename Derived > | |
void | setLocalRotation (const Eigen::MatrixBase< Derived > &R) |
Isometry3::ConstTranslationPart | p_local () const |
Isometry3::TranslationPart | p_local () |
Isometry3::ConstTranslationPart | localTranslation () const |
Isometry3::TranslationPart | localTranslation () |
template<typename Derived > | |
void | setLocalTranslation (const Eigen::MatrixBase< Derived > &p) |
double | cycle () const |
void | setCycle (double msec) |
SignalProxy< void()> | sigStateChanged () |
void | notifyStateChange () |
![]() | |
virtual | ~DeviceState () |
![]() | |
virtual | ~Referenced () |
void | addRef () |
void | releaseRef () |
Additional Inherited Members | |
![]() | |
static int | pointLightStateSize () |
![]() | |
static int | lightStateSize () |
![]() | |
Light () | |
Light (const Light &org, bool copyStateOnly=false) | |
![]() | |
Device () | |
Device (const Device &org, bool copyStateOnly=false) | |
![]() | |
DeviceState () | |
DeviceState (const DeviceState &org) | |
![]() | |
Referenced () | |
Referenced (const Referenced &org) | |
int | refCount () const |
SpotLight::SpotLight | ( | ) |
SpotLight::SpotLight | ( | const SpotLight & | org, |
bool | copyStateOnly = false |
||
) |
|
inline |
|
virtual |
Reimplemented from cnoid::PointLight.
|
virtual |
Reimplemented from cnoid::PointLight.
void SpotLight::copyStateFrom | ( | const SpotLight & | other | ) |
|
virtual |
Reimplemented from cnoid::PointLight.
|
inline |
|
inline |
|
virtual |
Reimplemented from cnoid::PointLight.
|
virtual |
Reimplemented from cnoid::PointLight.
|
inline |
|
inline |
|
inline |
|
virtual |
Size of the double-precision floating numbers for representing the state.
Reimplemented from cnoid::PointLight.
|
virtual |
Reimplemented from cnoid::PointLight.
|
virtual |
Reimplemented from cnoid::PointLight.