Choreonoid  1.5
Public Member Functions | List of all members
cnoid::SgFog Class Reference

#include <SceneEffects.h>

Inheritance diagram for cnoid::SgFog:
cnoid::SgPreprocessed cnoid::SgNode cnoid::SgObject cnoid::Referenced

Public Member Functions

 SgFog ()
 
 SgFog (const SgFog &org)
 
virtual SgObjectclone (SgCloneMap &cloneMap) const
 
virtual void accept (SceneVisitor &visitor)
 
const Vector3f & color () const
 
template<typename Derived >
void setColor (const Eigen::MatrixBase< Derived > &c)
 
void setVisibilityRange (float r)
 
float visibilityRange () const
 
- Public Member Functions inherited from cnoid::SgNode
 SgNode ()
 
 SgNode (const SgNode &org)
 
 ~SgNode ()
 
virtual const BoundingBoxboundingBox () const
 
SgNodecloneNode (SgCloneMap &cloneMap) const
 
virtual bool isGroup () const
 
- Public Member Functions inherited from cnoid::SgObject
const std::string & name () const
 
void setName (const std::string &name)
 
virtual int numChildObjects () const
 
virtual SgObjectchildObject (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 ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 
void addRef ()
 
void releaseRef ()
 

Additional Inherited Members

- Public Types inherited from cnoid::SgObject
typedef std::set< SgObject * > ParentContainer
 
typedef ParentContainer::iterator parentIter
 
typedef ParentContainer::const_iterator const_parentIter
 
- Protected Member Functions inherited from cnoid::SgPreprocessed
 SgPreprocessed ()
 
 SgPreprocessed (const SgPreprocessed &org)
 
- Protected Member Functions inherited from cnoid::SgObject
 SgObject ()
 
 SgObject (const SgObject &org)
 
virtual void onUpdated (SgUpdate &update)
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &org)
 
int refCount () const
 

Constructor & Destructor Documentation

SgFog::SgFog ( )
SgFog::SgFog ( const SgFog org)

Member Function Documentation

void SgFog::accept ( SceneVisitor visitor)
virtual

Reimplemented from cnoid::SgPreprocessed.

SgObject * SgFog::clone ( SgCloneMap cloneMap) const
virtual

Reimplemented from cnoid::SgPreprocessed.

const Vector3f& cnoid::SgFog::color ( ) const
inline
template<typename Derived >
void cnoid::SgFog::setColor ( const Eigen::MatrixBase< Derived > &  c)
inline
void cnoid::SgFog::setVisibilityRange ( float  r)
inline
float cnoid::SgFog::visibilityRange ( ) const
inline

The documentation for this class was generated from the following files: