- Timestamp:
- 10/25/08 15:17:22 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertFromInventor.h
r6543 r9053 8 8 #include <osg/Light> 9 9 #include <Inventor/actions/SoCallbackAction.h> 10 #include <Inventor/SbLinear.h> 10 11 #include <vector> 11 12 #include <stack> … … 50 51 static SoCallbackAction::Response preVRMLImageTexture(void* data, 51 52 SoCallbackAction* action, const SoNode* node); 53 static SoCallbackAction::Response preVRMLAppearance(void* data, 54 SoCallbackAction* action, const SoNode* node); 55 static SoCallbackAction::Response postVRMLAppearance(void* data, 56 SoCallbackAction* action, const SoNode* node); 57 static SoCallbackAction::Response preInfo(void* data, 58 SoCallbackAction* action, const SoNode* node); 52 59 53 60 static void addTriangleCB(void* data, SoCallbackAction* action, … … 62 69 63 70 private: 71 SbString transformInfoName; 72 SbName appearanceName; 73 bool inAppearanceWithNoTexture; 64 74 75 void addMatrixTransform(const std::string& name, SbVec3f axis, float angle, SbVec3f center, SbVec3f trans, SbVec3f scale); 65 76 void addVertex(SoCallbackAction* action, const SoPrimitiveVertex* v, 66 77 int index); … … 113 124 114 125 osg::ref_ptr<osg::MatrixTransform> _root;///<The root node; 126 127 osg::ref_ptr<osg::Group> lightGroup; 115 128 }; 116 129
