Choreonoid
1.5
|
#include <SceneDrawables.h>
Public Member Functions | |
SgMaterial () | |
SgMaterial (const SgMaterial &org) | |
virtual SgObject * | clone (SgCloneMap &cloneMap) const |
float | ambientIntensity () const |
void | setAmbientIntensity (float intensity) |
const Vector3f & | diffuseColor () const |
template<typename Derived > | |
void | setDiffuseColor (const Eigen::MatrixBase< Derived > &c) |
const Vector3f & | emissiveColor () const |
template<typename Derived > | |
void | setEmissiveColor (const Eigen::MatrixBase< Derived > &c) |
float | shininess () const |
void | setShininess (float s) |
const Vector3f & | specularColor () const |
template<typename Derived > | |
void | setSpecularColor (const Eigen::MatrixBase< Derived > &c) |
float | transparency () const |
void | setTransparency (float t) |
![]() | |
const std::string & | name () const |
void | setName (const std::string &name) |
virtual int | numChildObjects () const |
virtual SgObject * | childObject (int index) |
SignalProxy< void(const SgUpdate &update)> | sigUpdated () |
void | notifyUpdate (SgUpdate &update) |
void | notifyUpdate (int action=SgUpdate::MODIFIED) |
void | addParent (SgObject *parent, bool doNotify=false) |
void | removeParent (SgObject *parent) |
int | numParents () const |
bool | hasParents () const |
const_parentIter | parentBegin () const |
const_parentIter | parentEnd () const |
SignalProxy< void(bool on)> | sigGraphConnection () |
![]() | |
virtual | ~Referenced () |
void | addRef () |
void | releaseRef () |
Additional Inherited Members | |
![]() | |
typedef std::set< SgObject * > | ParentContainer |
typedef ParentContainer::iterator | parentIter |
typedef ParentContainer::const_iterator | const_parentIter |
![]() | |
SgObject () | |
SgObject (const SgObject &org) | |
virtual void | onUpdated (SgUpdate &update) |
![]() | |
Referenced () | |
Referenced (const Referenced &org) | |
int | refCount () const |
SgMaterial::SgMaterial | ( | ) |
SgMaterial::SgMaterial | ( | const SgMaterial & | org | ) |
|
inline |
|
virtual |
Reimplemented from cnoid::SgObject.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |