Choreonoid  1.8
SceneUtil.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_UTIL_SCENE_UTIL_H
6 #define CNOID_UTIL_SCENE_UTIL_H
7 
8 #include "SceneGraph.h"
9 #include "exportdecl.h"
10 
11 namespace cnoid {
12 
13 CNOID_EXPORT Affine3 calcTotalTransform(const SgNodePath& path);
14 CNOID_EXPORT Affine3 calcTotalTransform(const SgNodePath& path, const SgNode* targetNode);
15 CNOID_EXPORT Affine3 calcTotalTransform(SgNodePath::const_iterator begin, SgNodePath::const_iterator end);
16 
17 CNOID_EXPORT Isometry3 calcRelativePosition(const SgNodePath& path, const SgNode* targetNode);
18 CNOID_EXPORT Isometry3 calcRelativePosition(SgNodePath::const_iterator begin, SgNodePath::const_iterator end);
19 
20 CNOID_EXPORT int makeTransparent(SgNode* topNode, float transparency, CloneMap& cloneMap, bool doKeepOrgTransparency = true);
21 
22 }
23 
24 #endif
cnoid::Isometry3
Eigen::Isometry3d Isometry3
Definition: EigenTypes.h:73
cnoid::makeTransparent
CNOID_EXPORT int makeTransparent(SgNode *topNode, float transparency, CloneMap &cloneMap, bool doKeepOrgTransparency=true)
Definition: SceneUtil.cpp:154
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::calcRelativePosition
CNOID_EXPORT Isometry3 calcRelativePosition(const SgNodePath &path, const SgNode *targetNode)
Definition: SceneUtil.cpp:61
SceneGraph.h
cnoid::SgNodePath
std::vector< SgNode * > SgNodePath
Definition: SceneGraph.h:24
cnoid::calcTotalTransform
CNOID_EXPORT Affine3 calcTotalTransform(const SgNodePath &path)
Definition: SceneUtil.cpp:37
cnoid::Affine3
Eigen::Affine3d Affine3
Definition: EigenTypes.h:62