Removal of rendundant characters from Camera and Camera.cpp.

Updated wrappers
This commit is contained in:
Robert Osfield
2009-01-15 10:44:52 +00:00
parent 2f7fb53ff7
commit 3be239bdb2
5 changed files with 119 additions and 103 deletions

View File

@@ -103,7 +103,7 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::Terrain)
I_Method1(void, setTerrainTechniquePrototype, IN, osgTerrain::TerrainTechnique *, technique,
Properties::NON_VIRTUAL,
__void__setTerrainTechniquePrototype__TerrainTechnique_P1,
"Set the TerrainTechnique cprototype from which TerrainTiles can clone the techniques from. ",
"Set the TerrainTechnique prototype from which TerrainTiles can clone the techniques from. ",
"");
I_Method0(osgTerrain::TerrainTechnique *, getTerrainTechniquePrototype,
Properties::NON_VIRTUAL,

View File

@@ -14,6 +14,7 @@
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgVolume/Volume>
#include <osgVolume/VolumeTechnique>
#include <osgVolume/VolumeTile>
// Must undefine IN and OUT macros defined in Windows headers
@@ -79,6 +80,21 @@ BEGIN_OBJECT_REFLECTOR(osgVolume::Volume)
__C5_VolumeTile_P1__getVolumeTile__C5_TileID_R1,
"Get the const VolumeTile for a given VolumeTileID. ",
"");
I_Method1(void, setVolumeTechniquePrototype, IN, osgVolume::VolumeTechnique *, volumeTechnique,
Properties::NON_VIRTUAL,
__void__setVolumeTechniquePrototype__VolumeTechnique_P1,
"Set the VolumeTechnique prototype that nested VolumeTile should clone if they haven't already been assigned a volume rendering technique. ",
"");
I_Method0(osgVolume::VolumeTechnique *, getVolumeTechniquePrototype,
Properties::NON_VIRTUAL,
__VolumeTechnique_P1__getVolumeTechniquePrototype,
"Get the VolumeTechnique prototype. ",
"");
I_Method0(const osgVolume::VolumeTechnique *, getVolumeTechniquePrototype,
Properties::NON_VIRTUAL,
__C5_VolumeTechnique_P1__getVolumeTechniquePrototype,
"Get the const VolumeTechnique prototype. ",
"");
I_ProtectedMethod0(void, dirtyRegisteredVolumeTiles,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
@@ -97,5 +113,8 @@ BEGIN_OBJECT_REFLECTOR(osgVolume::Volume)
__void__unregisterVolumeTile__VolumeTile_P1,
"",
"");
I_SimpleProperty(osgVolume::VolumeTechnique *, VolumeTechniquePrototype,
__VolumeTechnique_P1__getVolumeTechniquePrototype,
__void__setVolumeTechniquePrototype__VolumeTechnique_P1);
END_REFLECTOR

View File

@@ -148,9 +148,9 @@ BEGIN_OBJECT_REFLECTOR(osgVolume::VolumeTile)
__Layer_P1__getLayer,
"",
"");
I_Method0(const osgVolume::Layer *, getImage,
I_Method0(const osgVolume::Layer *, getLayer,
Properties::NON_VIRTUAL,
__C5_Layer_P1__getImage,
__C5_Layer_P1__getLayer,
"",
"");
I_Method1(void, setVolumeTechnique, IN, osgVolume::VolumeTechnique *, VolumeTechnique,
@@ -186,9 +186,6 @@ BEGIN_OBJECT_REFLECTOR(osgVolume::VolumeTile)
I_SimpleProperty(bool, Dirty,
__bool__getDirty,
__void__setDirty__bool);
I_SimpleProperty(const osgVolume::Layer *, Image,
__C5_Layer_P1__getImage,
0);
I_SimpleProperty(osgVolume::Layer *, Layer,
__Layer_P1__getLayer,
__void__setLayer__Layer_P1);