| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | #include <osgIntrospection/ReflectionMacros> |
|---|
| 9 | #include <osgIntrospection/TypedMethodInfo> |
|---|
| 10 | #include <osgIntrospection/StaticMethodInfo> |
|---|
| 11 | #include <osgIntrospection/Attributes> |
|---|
| 12 | |
|---|
| 13 | #include <osg/CopyOp> |
|---|
| 14 | #include <osg/NodeVisitor> |
|---|
| 15 | #include <osg/Object> |
|---|
| 16 | #include <osgTerrain/TerrainTechnique> |
|---|
| 17 | #include <osgTerrain/TerrainTile> |
|---|
| 18 | #include <osgUtil/CullVisitor> |
|---|
| 19 | #include <osgUtil/UpdateVisitor> |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | #ifdef IN |
|---|
| 23 | #undef IN |
|---|
| 24 | #endif |
|---|
| 25 | #ifdef OUT |
|---|
| 26 | #undef OUT |
|---|
| 27 | #endif |
|---|
| 28 | |
|---|
| 29 | BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainTechnique) |
|---|
| 30 | I_DeclaringFile("osgTerrain/TerrainTechnique"); |
|---|
| 31 | I_BaseType(osg::Object); |
|---|
| 32 | I_Constructor0(____TerrainTechnique, |
|---|
| 33 | "", |
|---|
| 34 | ""); |
|---|
| 35 | I_ConstructorWithDefaults2(IN, const osgTerrain::TerrainTechnique &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 36 | ____TerrainTechnique__C5_TerrainTechnique_R1__C5_osg_CopyOp_R1, |
|---|
| 37 | "Copy constructor using CopyOp to manage deep vs shallow copy. ", |
|---|
| 38 | ""); |
|---|
| 39 | I_Method0(osg::Object *, cloneType, |
|---|
| 40 | Properties::VIRTUAL, |
|---|
| 41 | __osg_Object_P1__cloneType, |
|---|
| 42 | "Clone the type of an object, with Object* return type. ", |
|---|
| 43 | "Must be defined by derived classes. "); |
|---|
| 44 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| 45 | Properties::VIRTUAL, |
|---|
| 46 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 47 | "Clone an object, with Object* return type. ", |
|---|
| 48 | "Must be defined by derived classes. "); |
|---|
| 49 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 50 | Properties::VIRTUAL, |
|---|
| 51 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 52 | "", |
|---|
| 53 | ""); |
|---|
| 54 | I_Method0(const char *, libraryName, |
|---|
| 55 | Properties::VIRTUAL, |
|---|
| 56 | __C5_char_P1__libraryName, |
|---|
| 57 | "return the name of the object's library. ", |
|---|
| 58 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 59 | I_Method0(const char *, className, |
|---|
| 60 | Properties::VIRTUAL, |
|---|
| 61 | __C5_char_P1__className, |
|---|
| 62 | "return the name of the object's class type. ", |
|---|
| 63 | "Must be defined by derived classes. "); |
|---|
| 64 | I_Method0(osgTerrain::TerrainTile *, getTerrainTile, |
|---|
| 65 | Properties::NON_VIRTUAL, |
|---|
| 66 | __TerrainTile_P1__getTerrainTile, |
|---|
| 67 | "", |
|---|
| 68 | ""); |
|---|
| 69 | I_Method0(const osgTerrain::TerrainTile *, getTerrainTile, |
|---|
| 70 | Properties::NON_VIRTUAL, |
|---|
| 71 | __C5_TerrainTile_P1__getTerrainTile, |
|---|
| 72 | "", |
|---|
| 73 | ""); |
|---|
| 74 | I_Method0(void, init, |
|---|
| 75 | Properties::VIRTUAL, |
|---|
| 76 | __void__init, |
|---|
| 77 | "", |
|---|
| 78 | ""); |
|---|
| 79 | I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv, |
|---|
| 80 | Properties::VIRTUAL, |
|---|
| 81 | __void__update__osgUtil_UpdateVisitor_P1, |
|---|
| 82 | "", |
|---|
| 83 | ""); |
|---|
| 84 | I_Method1(void, cull, IN, osgUtil::CullVisitor *, nv, |
|---|
| 85 | Properties::VIRTUAL, |
|---|
| 86 | __void__cull__osgUtil_CullVisitor_P1, |
|---|
| 87 | "", |
|---|
| 88 | ""); |
|---|
| 89 | I_Method0(void, cleanSceneGraph, |
|---|
| 90 | Properties::VIRTUAL, |
|---|
| 91 | __void__cleanSceneGraph, |
|---|
| 92 | "Clean scene graph from any terrain technique specific nodes. ", |
|---|
| 93 | ""); |
|---|
| 94 | I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, |
|---|
| 95 | Properties::VIRTUAL, |
|---|
| 96 | __void__traverse__osg_NodeVisitor_R1, |
|---|
| 97 | "Traverse the terrain subgraph. ", |
|---|
| 98 | ""); |
|---|
| 99 | I_ProtectedMethod1(void, setDirty, IN, bool, dirty, |
|---|
| 100 | Properties::NON_VIRTUAL, |
|---|
| 101 | Properties::NON_CONST, |
|---|
| 102 | __void__setDirty__bool, |
|---|
| 103 | "", |
|---|
| 104 | ""); |
|---|
| 105 | I_SimpleProperty(osgTerrain::TerrainTile *, TerrainTile, |
|---|
| 106 | __TerrainTile_P1__getTerrainTile, |
|---|
| 107 | 0); |
|---|
| 108 | END_REFLECTOR |
|---|