|
| EditableSceneBody (BodyItem *bodyItem) |
|
EditableSceneLink * | editableSceneLink (int index) |
|
void | setLinkVisibilities (const std::vector< bool > &visibilities) |
|
virtual void | updateModel () override |
|
virtual void | onSceneModeChanged (SceneWidgetEvent *event) override |
|
virtual bool | onButtonPressEvent (SceneWidgetEvent *event) override |
|
virtual bool | onDoubleClickEvent (SceneWidgetEvent *event) override |
|
virtual bool | onButtonReleaseEvent (SceneWidgetEvent *event) override |
|
virtual bool | onPointerMoveEvent (SceneWidgetEvent *event) override |
|
virtual void | onPointerLeaveEvent (SceneWidgetEvent *event) override |
|
virtual bool | onKeyPressEvent (SceneWidgetEvent *event) override |
|
virtual bool | onKeyReleaseEvent (SceneWidgetEvent *event) override |
|
virtual bool | onScrollEvent (SceneWidgetEvent *event) override |
|
virtual void | onFocusChanged (SceneWidgetEvent *event, bool on) override |
|
virtual bool | onContextMenuRequest (SceneWidgetEvent *event, MenuManager *menuManager) override |
|
Public Member Functions inherited from cnoid::SceneBody |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | SceneBody () |
|
| SceneBody (Body *body) |
|
| SceneBody (const SceneBody &org)=delete |
|
virtual | ~SceneBody () |
|
Body * | body () |
|
const Body * | body () const |
|
void | cloneShapes (CloneMap &cloneMap) |
|
int | numSceneLinks () const |
|
SceneLink * | sceneLink (int index) |
|
const SceneLink * | sceneLink (int index) const |
|
void | updateLinkPositions () |
|
void | updateLinkPositions (SgUpdate &update) |
|
SceneDevice * | getSceneDevice (Device *device) |
|
void | setSceneDeviceUpdateConnection (bool on) |
|
void | updateSceneDevices (double time) |
|
void | setTransparency (float transparency) |
|
void | makeTransparent (float transparency) |
|
void | makeTransparent (float transparency, CloneMap &cloneMap) |
|
void | insertEffectGroup (SgGroup *effect, SgUpdateRef update=SgUpdateRef()) |
|
void | removeEffectGroup (SgGroup *effect, SgUpdateRef update=SgUpdateRef()) |
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | SgPosTransform () |
|
| SgPosTransform (const Isometry3 &T) |
|
| SgPosTransform (const Affine3 &T) |
|
| SgPosTransform (const SgPosTransform &org, CloneMap *cloneMap=nullptr) |
|
virtual const BoundingBox & | boundingBox () const override |
|
virtual void | getTransform (Affine3 &out_T) const override |
|
Isometry3 & | T () |
|
const Isometry3 & | T () const |
|
Isometry3 & | position () |
|
const Isometry3 & | position () const |
|
Isometry3::TranslationPart | translation () |
|
Isometry3::ConstTranslationPart | translation () const |
|
Isometry3::LinearPart | rotation () |
|
Isometry3::ConstLinearPart | rotation () const |
|
template<class Scalar , int Mode, int Options> |
void | setPosition (const Eigen::Transform< Scalar, 3, Mode, Options > &T) |
|
template<class Derived > |
void | setPosition (const Eigen::MatrixBase< Derived > &T) |
|
template<class Scalar , int Mode, int Options> |
void | setTransform (const Eigen::Transform< Scalar, 3, Mode, Options > &T) |
|
template<typename Derived > |
void | setRotation (const Eigen::MatrixBase< Derived > &R) |
|
template<typename T > |
void | setRotation (const Eigen::AngleAxis< T > &aa) |
|
template<typename T > |
void | setRotation (const Eigen::Quaternion< T > &q) |
|
template<typename Derived > |
void | setTranslation (const Eigen::MatrixBase< Derived > &p) |
|
virtual const BoundingBox & | untransformedBoundingBox () const override |
|
| SgGroup () |
|
| SgGroup (const SgGroup &org, CloneMap *cloneMap=nullptr) |
|
| ~SgGroup () |
|
virtual int | numChildObjects () const override |
|
virtual SgObject * | childObject (int index) override |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | cbegin () |
|
const_iterator | cend () |
|
reverse_iterator | rbegin () |
|
reverse_iterator | rend () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_reverse_iterator | rbegin () const |
|
const_reverse_iterator | rend () const |
|
iterator | erase (iterator pos) |
|
bool | empty () const |
|
int | numChildren () const |
|
SgNode * | child (int index) |
|
const SgNode * | child (int index) const |
|
bool | contains (SgNode *node) const |
|
int | findChildIndex (SgNode *child) const |
|
template<class NodeType > |
NodeType * | getChild (int index) |
| This throws an exeption when the index is invalid or the type is not matched. More...
|
|
void | addChild (SgNode *node, SgUpdateRef update=nullptr) |
|
bool | addChildOnce (SgNode *node, SgUpdateRef update=nullptr) |
|
void | insertChild (int index, SgNode *node, SgUpdateRef update=nullptr) |
|
void | insertChild (SgNode *nextNode, SgNode *node, SgUpdateRef update=nullptr) |
|
void | setSingleChild (SgNode *node, SgUpdateRef update=nullptr) |
|
iterator | removeChild (iterator childIter, SgUpdateRef update=nullptr) |
|
bool | removeChild (SgNode *node, SgUpdateRef update=nullptr) |
|
void | removeChildAt (int index, SgUpdateRef update=nullptr) |
|
void | clearChildren (SgUpdateRef update=nullptr) |
|
void | copyChildrenTo (SgGroup *group, SgUpdateRef update=nullptr) |
|
void | moveChildrenTo (SgGroup *group, SgUpdateRef update=nullptr) |
|
void | insertChild (SgNode *node, int index, SgUpdateRef update=nullptr) |
|
SgGroup * | nextChainedGroup () |
|
void | insertChainedGroup (SgGroup *group, SgUpdateRef update=nullptr) |
|
void | removeChainedGroup (SgGroup *group, SgUpdateRef update=nullptr) |
|
template<class NodeType > |
NodeType * | findNodeOfType (int depth=-1) |
|
| SgNode () |
|
| SgNode (const SgNode &org) |
|
| ~SgNode () |
|
int | classId () const |
|
SgNode * | cloneNode () const |
|
SgNode * | cloneNode (CloneMap &cloneMap) const |
|
SgNodePath | findNode (const std::string &name, Affine3 &out_T) |
|
void | addDecorationReference () |
|
void | releaseDecorationReference () |
|
bool | isDecoratedSomewhere () const |
|
SgObject * | clone () const |
|
SgObject * | clone (CloneMap &cloneMap) const |
|
void | setAttribute (int attr) |
|
void | setAttributes (int attrs) |
|
int | attributes () const |
|
bool | hasAttribute (int attr) const |
|
bool | hasAttributes (int attrs) const |
|
const std::string & | name () const |
|
void | setName (const std::string &name) |
|
SignalProxy< void(const SgUpdate &update)> | sigUpdated () |
|
void | notifyUpdate (SgUpdate &update) |
|
void | notifyUpdate (int action=SgUpdate::Modified) |
|
void | addParent (SgObject *parent, SgUpdateRef update=nullptr) |
|
void | removeParent (SgObject *parent) |
|
int | numParents () const |
|
bool | hasParents () const |
|
const_parentIter | parentBegin () const |
|
const_parentIter | parentEnd () const |
|
SignalProxy< void(bool on)> | sigGraphConnection () |
|
bool | hasValidBoundingBoxCache () const |
|
void | invalidateBoundingBox () |
|
void | setBoundingBoxCacheReady () const |
|
bool | hasUri () const |
|
const std::string & | uri () const |
|
bool | hasAbsoluteUri () const |
|
const std::string & | absoluteUri () const |
|
bool | hasUriFragment () const |
|
const std::string & | uriFragment () const |
|
void | setUriByFilePathAndBaseDirectory (const std::string &filePath, const std::string &baseDirectory) |
|
void | setUriByFilePathAndCurrentDirectory (const std::string &filePath) |
|
void | setUri (const std::string &uri, const std::string &absoluteUri) |
|
void | setUriFragment (const std::string &fragment) |
|
void | clearUri () |
|
bool | isNode () const |
|
SgNode * | toNode () |
|
bool | isGroupNode () const |
|
SgGroup * | toGroupNode () |
|
bool | isTransformNode () const |
|
SgTransform * | toTransformNode () |
|
virtual | ~Referenced () |
|
Public Member Functions inherited from cnoid::SceneWidgetEventHandler |
virtual void | onSceneModeChanged (const SceneWidgetEvent &event) |
|
virtual bool | onButtonPressEvent (const SceneWidgetEvent &event) |
|
virtual bool | onButtonReleaseEvent (const SceneWidgetEvent &event) |
|
virtual bool | onDoubleClickEvent (const SceneWidgetEvent &event) |
|
virtual bool | onPointerMoveEvent (const SceneWidgetEvent &event) |
|
virtual void | onPointerLeaveEvent (const SceneWidgetEvent &event) |
|
virtual bool | onScrollEvent (const SceneWidgetEvent &event) |
|
virtual bool | onKeyPressEvent (const SceneWidgetEvent &event) |
|
virtual bool | onKeyReleaseEvent (const SceneWidgetEvent &event) |
|
virtual void | onFocusChanged (const SceneWidgetEvent &event, bool on) |
|
virtual bool | onContextMenuRequest (const SceneWidgetEvent &event, MenuManager &menu) |
|
virtual bool | onUndoRequest () |
|
virtual bool | onRedoRequest () |
|