Choreonoid
1.5
|
#include <Light.h>
Public Member Functions | |
void | copyStateFrom (const Light &other) |
virtual void | forEachActualType (boost::function< bool(const std::type_info &type)> func) |
virtual const double * | readState (const double *buf) |
virtual double * | writeState (double *out_buf) const |
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 Device * | clone () const =0 |
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 const char * | typeName ()=0 |
virtual void | copyStateFrom (const DeviceState &other)=0 |
virtual DeviceState * | cloneState () const =0 |
virtual int | stateSize () const =0 |
![]() | |
virtual | ~Referenced () |
void | addRef () |
void | releaseRef () |
Static Public Member Functions | |
static int | lightStateSize () |
Protected Member Functions | |
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 |
|
protected |
|
protected |
|
inline |
void Light::copyStateFrom | ( | const Light & | other | ) |
|
virtual |
Reimplemented from cnoid::Device.
Reimplemented in cnoid::PointLight, and cnoid::SpotLight.
|
inline |
|
static |
|
inline |
|
inline |
|
virtual |
Implements cnoid::DeviceState.
Reimplemented in cnoid::PointLight, and cnoid::SpotLight.
|
inline |
|
inline |
|
inline |
|
virtual |
Implements cnoid::DeviceState.
Reimplemented in cnoid::PointLight, and cnoid::SpotLight.