Changeset 9961
- Timestamp:
- 03/23/09 18:08:58 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src/osgPlugins/ive
- Files:
-
- 2 added
- 4 modified
-
CMakeLists.txt (modified) (2 diffs)
-
DataInputStream.cpp (modified) (2 diffs)
-
DataOutputStream.cpp (modified) (2 diffs)
-
PolygonStipple.cpp (added)
-
PolygonStipple.h (added)
-
ReadWrite.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ive/CMakeLists.txt
r9033 r9961 79 79 PolygonMode.cpp 80 80 PolygonOffset.cpp 81 PolygonStipple.cpp 81 82 PositionAttitudeTransform.cpp 82 83 PrimitiveSet.cpp … … 195 196 PolygonMode.h 196 197 PolygonOffset.h 198 PolygonStipple.h 197 199 PositionAttitudeTransform.h 198 200 PrimitiveSet.h -
OpenSceneGraph/trunk/src/osgPlugins/ive/DataInputStream.cpp
r9527 r9961 57 57 #include "Fog.h" 58 58 #include "Light.h" 59 #include "PolygonStipple.h" 59 60 60 61 … … 1412 1413 ((ive::Light*)(attribute))->read(this); 1413 1414 } 1415 else if(attributeID == IVEPOLYGONSTIPPLE){ 1416 attribute = new osg::PolygonStipple(); 1417 ((ive::PolygonStipple*)(attribute))->read(this); 1418 } 1414 1419 else{ 1415 1420 throw Exception("Unknown StateAttribute in StateSet::read()"); -
OpenSceneGraph/trunk/src/osgPlugins/ive/DataOutputStream.cpp
r9475 r9961 60 60 #include "Fog.h" 61 61 #include "Light.h" 62 #include "PolygonStipple.h" 62 63 63 64 #include "Group.h" … … 1090 1091 ((ive::Light*)(attribute))->write(this); 1091 1092 } 1093 // This is a PolygonStipple 1094 else if(dynamic_cast<const osg::PolygonStipple*>(attribute)){ 1095 ((ive::PolygonStipple*)(attribute))->write(this); 1096 } 1092 1097 1093 1098 else{ -
OpenSceneGraph/trunk/src/osgPlugins/ive/ReadWrite.h
r8817 r9961 88 88 #define IVEFOG 0x00001133 89 89 #define IVELINESTIPPLE 0x00001134 90 #define IVEPOLYGONSTIPPLE 0x00001135 90 91 91 92 // Drawables
