Choreonoid  1.5
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 
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 int makeTransparent(SgNode* topNode, float transparency, SgCloneMap& cloneMap, bool doKeepOrgTransparency = true);
18 
19 }
20 
21 #endif
Eigen::Affine3d Affine3
Definition: EigenTypes.h:64
CNOID_EXPORT int makeTransparent(SgNode *topNode, float transparency, SgCloneMap &cloneMap, bool doKeepOrgTransparency=true)
Definition: SceneUtil.cpp:114
std::vector< SgNode * > SgNodePath
Definition: SceneGraph.h:140
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
CNOID_EXPORT Affine3 calcTotalTransform(const SgNodePath &path)
Definition: SceneUtil.cpp:34
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37