Mercurial > hg > Members > e075743
comparison src/SearchMatrixTransformVisitor.h @ 10:5727d511a13a
add src in Martial Project Xcode.
author | tokumoritaichirou@nw0743.st.ie.u-ryukyu.ac.jp |
---|---|
date | Wed, 03 Feb 2010 03:39:04 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:143f7b9f867d | 10:5727d511a13a |
---|---|
1 /* | |
2 * FinderNodeVisitor.h | |
3 * Martial | |
4 * | |
5 * Created by ryoma on 10/01/26. | |
6 * Copyright 2010 琉球大学. All rights reserved. | |
7 * | |
8 */ | |
9 | |
10 #ifndef _SEARCH_MATRIX_VISITORS_ | |
11 #define _SEARCH_MATRIX_VISITORS_ | |
12 | |
13 class SearchMatrixTransformVisitor : public osg::NodeVisitor { | |
14 protected: | |
15 std::map<std::string, osg::MatrixTransform*> matrixMap; | |
16 std::string targetMatrixTransformName; | |
17 public: | |
18 SearchMatrixTransformVisitor() : osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) {}; | |
19 | |
20 void apply(osg::MatrixTransform& matrix); | |
21 osg::MatrixTransform* getMatrixTransform(const std::string& name); | |
22 }; | |
23 | |
24 #endif |