Updated wrappers
This commit is contained in:
@@ -123,6 +123,10 @@ SOURCE=..\..\..\src\osgWrappers\osg\BufferObject.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Camera.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\ComputeBoundsVisitor.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\DrawPixels.cpp
|
||||
# End Source File
|
||||
@@ -164,7 +168,7 @@ SOURCE=..\..\..\src\osgWrappers\osg\Notify.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\PagedLOD.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Plane.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
@@ -220,17 +224,13 @@ SOURCE=..\..\..\src\osgWrappers\osg\Referenced.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Sequence.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Scissor.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\ShadeModel.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Shader.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\ShadowVolumeOccluder.cpp
|
||||
# End Source File
|
||||
@@ -256,29 +256,25 @@ SOURCE=..\..\..\src\osgWrappers\osg\Stats.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\StencilTwoSided.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TexEnv.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Switch.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TexGen.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TexEnvCombine.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TexGenNode.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TexEnvFilter.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TexMat.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Texture.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Texture1D.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Texture2D.cpp
|
||||
# End Source File
|
||||
@@ -291,10 +287,6 @@ SOURCE=..\..\..\src\osgWrappers\osg\Texture3D.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TextureCubeMap.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\TextureRectangle.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Transform.cpp
|
||||
# End Source File
|
||||
@@ -304,7 +296,11 @@ SOURCE=..\..\..\src\osgWrappers\osg\Uniform.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Vec2d.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Vec2f.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Vec2s.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
@@ -315,6 +311,10 @@ SOURCE=..\..\..\src\osgWrappers\osg\Vec3d.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Vec4b.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Vec4d.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\Vec4s.cpp
|
||||
# End Source File
|
||||
@@ -323,10 +323,6 @@ SOURCE=..\..\..\src\osgWrappers\osg\Vec4s.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\VertexProgram.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osg\View.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
|
||||
@@ -120,11 +120,11 @@ SOURCE=..\..\..\src\osgWrappers\osgFX\Registry.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgFX\Scribe.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgFX\SpecularHighlights.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgFX\SpecularHighlights.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgFX\Technique.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
|
||||
@@ -144,7 +144,7 @@ SOURCE=..\..\..\src\osgWrappers\osgGA\StateSetManipulator.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgGA\UFOManipulator.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgGA\TerrainManipulator.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
|
||||
@@ -120,33 +120,21 @@ SOURCE=..\..\..\src\osgWrappers\osgManipulator\Projector.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\ScaleAxisDragger.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\RotateSphereDragger.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\Selection.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\ScaleAxisDragger.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\TabBoxDragger.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\TabPlaneDragger.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\TrackballDragger.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\Translate1DDragger.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\Translate2DDragger.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgManipulator\TranslateAxisDragger.cpp
|
||||
# End Source File
|
||||
|
||||
@@ -180,7 +180,7 @@ SOURCE=..\..\..\src\osgWrappers\osgParticle\Particle.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleProcessor.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleEffect.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
@@ -188,11 +188,7 @@ SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleSystem.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\ParticleSystemUpdater.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\PointPlacer.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\Placer.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
@@ -208,13 +204,21 @@ SOURCE=..\..\..\src\osgWrappers\osgParticle\RadialShooter.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\RandomRateCounter.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\SectorPlacer.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\SegmentPlacer.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\Shooter.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgParticle\SmokeEffect.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ SOURCE=..\..\..\src\osgWrappers\osgProducer\OsgSceneHandler.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgProducer\Viewer.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgProducer\ViewerEventHandler.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
|
||||
@@ -107,6 +107,10 @@ SOURCE=..\..\..\src\osgWrappers\osgShadow\ParallelSplitShadowMap.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgShadow\ShadowMap.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgShadow\ShadowTechnique.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgShadow\ShadowTexture.cpp
|
||||
# End Source File
|
||||
@@ -115,10 +119,6 @@ SOURCE=..\..\..\src\osgWrappers\osgShadow\ShadowTexture.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgShadow\ShadowVolume.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgShadow\ShadowedScene.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ SOURCE=..\..\..\src\osgWrappers\osgSim\Sector.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgSim\SphereSegment.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgSim\VisibilityGroup.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
|
||||
@@ -107,6 +107,10 @@ SOURCE=..\..\..\src\osgWrappers\osgText\Font.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgText\String.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgText\Text.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
|
||||
@@ -139,12 +139,16 @@ SOURCE=..\..\..\src\osgWrappers\osgUtil\LineSegmentIntersector.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\Optimizer.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\ReflectionMapGenerator.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderBin.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderLeaf.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\RenderStage.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
@@ -155,10 +159,30 @@ SOURCE=..\..\..\src\osgWrappers\osgUtil\SceneView.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\Simplifier.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\SmoothingVisitor.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\Statistics.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\Tessellator.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\TransformAttributeFunctor.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\TriStripVisitor.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgUtil\UpdateVisitor.cpp
|
||||
# End Source File
|
||||
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
|
||||
@@ -111,14 +111,6 @@ SOURCE=..\..\..\src\osgWrappers\osgViewer\HelpHandler.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgViewer\Scene.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgViewer\SimpleViewer.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgViewer\StatsHandler.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgViewer\View.cpp
|
||||
# End Source File
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <osgShadow/ShadowTexture>
|
||||
#include <osgShadow/ShadowedScene>
|
||||
#include <osg/Notify>
|
||||
#include <osg/io_utils>
|
||||
|
||||
using namespace osgShadow;
|
||||
|
||||
@@ -126,6 +127,7 @@ void ShadowTexture::cull(osgUtil::CullVisitor& cv)
|
||||
// record the traversal mask on entry so we can reapply it later.
|
||||
unsigned int traversalMask = cv.getTraversalMask();
|
||||
|
||||
osgUtil::RenderStage* orig_rs = cv.getRenderStage();
|
||||
|
||||
// do traversal of shadow casting scene which does not need to be decorated by the shadow texture
|
||||
{
|
||||
@@ -147,11 +149,38 @@ void ShadowTexture::cull(osgUtil::CullVisitor& cv)
|
||||
cv.popStateSet();
|
||||
|
||||
}
|
||||
|
||||
// need to compute view frustum for RTT camera.
|
||||
// 1) get the light position
|
||||
// 2) get the center and extents of the view frustum
|
||||
|
||||
const osg::Light* selectLight = 0;
|
||||
osg::Vec4 lightpos;
|
||||
|
||||
// do RTT camera traversal
|
||||
_camera->accept(cv);
|
||||
osgUtil::PositionalStateContainer::AttrMatrixList& aml = orig_rs->getPositionalStateContainer()->getAttrMatrixList();
|
||||
for(osgUtil::PositionalStateContainer::AttrMatrixList::iterator itr = aml.begin();
|
||||
itr != aml.end();
|
||||
++itr)
|
||||
{
|
||||
const osg::Light* light = dynamic_cast<const osg::Light*>(itr->first.get());
|
||||
if (light)
|
||||
{
|
||||
osg::RefMatrix* matrix = itr->second.get();
|
||||
if (matrix) lightpos = light->getPosition() * (*matrix);
|
||||
else lightpos = light->getPosition();
|
||||
|
||||
selectLight = light;
|
||||
}
|
||||
}
|
||||
|
||||
if (selectLight)
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"Selected light "<<lightpos<<std::endl;
|
||||
|
||||
// do RTT camera traversal
|
||||
_camera->accept(cv);
|
||||
|
||||
}
|
||||
|
||||
// reapply the original traversal mask
|
||||
cv.setTraversalMask( traversalMask );
|
||||
|
||||
@@ -23,117 +23,12 @@
|
||||
#include <osg/StencilTwoSided>
|
||||
#include <osg/CullFace>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/ComputeBoundsVisitor>
|
||||
#include <osg/io_utils>
|
||||
|
||||
using namespace osgShadow;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// ComputeBoundingBoxVisitor
|
||||
//
|
||||
class ComputeBoundingBoxVisitor : public osg::NodeVisitor
|
||||
{
|
||||
public:
|
||||
ComputeBoundingBoxVisitor():
|
||||
osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN)
|
||||
{
|
||||
}
|
||||
|
||||
virtual void reset()
|
||||
{
|
||||
_matrixStack.clear();
|
||||
_bb.init();
|
||||
}
|
||||
|
||||
osg::BoundingBox& getBoundingBox() { return _bb; }
|
||||
|
||||
void getPolytope(osg::Polytope& polytope, float margin=0.1) const
|
||||
{
|
||||
float delta = _bb.radius()*margin;
|
||||
polytope.add( osg::Plane(0.0, 0.0, 1.0, -(_bb.zMin()-delta)) );
|
||||
polytope.add( osg::Plane(0.0, 0.0, -1.0, (_bb.zMax()+delta)) );
|
||||
|
||||
polytope.add( osg::Plane(1.0, 0.0, 0.0, -(_bb.xMin()-delta)) );
|
||||
polytope.add( osg::Plane(-1.0, 0.0, 0.0, (_bb.xMax()+delta)) );
|
||||
|
||||
polytope.add( osg::Plane(0.0, 1.0, 0.0, -(_bb.yMin()-delta)) );
|
||||
polytope.add( osg::Plane(0.0, -1.0, 0.0, (_bb.yMax()+delta)) );
|
||||
}
|
||||
|
||||
void getBase(osg::Polytope& polytope, float margin=0.1) const
|
||||
{
|
||||
float delta = _bb.radius()*margin;
|
||||
polytope.add( osg::Plane(0.0, 0.0, 1.0, -(_bb.zMin()-delta)) );
|
||||
}
|
||||
|
||||
void apply(osg::Node& node)
|
||||
{
|
||||
traverse(node);
|
||||
}
|
||||
|
||||
void apply(osg::Transform& transform)
|
||||
{
|
||||
osg::Matrix matrix;
|
||||
if (!_matrixStack.empty()) matrix = _matrixStack.back();
|
||||
|
||||
transform.computeLocalToWorldMatrix(matrix,this);
|
||||
|
||||
pushMatrix(matrix);
|
||||
|
||||
traverse(transform);
|
||||
|
||||
popMatrix();
|
||||
}
|
||||
|
||||
void apply(osg::Geode& geode)
|
||||
{
|
||||
for(unsigned int i=0; i<geode.getNumDrawables(); ++i)
|
||||
{
|
||||
apply(geode.getDrawable(i));
|
||||
}
|
||||
}
|
||||
|
||||
void pushMatrix(osg::Matrix& matrix)
|
||||
{
|
||||
_matrixStack.push_back(matrix);
|
||||
}
|
||||
|
||||
void popMatrix()
|
||||
{
|
||||
_matrixStack.pop_back();
|
||||
}
|
||||
|
||||
void apply(osg::Drawable* drawable)
|
||||
{
|
||||
if (_matrixStack.empty()) _bb.expandBy(drawable->getBound());
|
||||
else
|
||||
{
|
||||
osg::Matrix& matrix = _matrixStack.back();
|
||||
const osg::BoundingBox& dbb = drawable->getBound();
|
||||
if (dbb.valid())
|
||||
{
|
||||
_bb.expandBy(dbb.corner(0) * matrix);
|
||||
_bb.expandBy(dbb.corner(1) * matrix);
|
||||
_bb.expandBy(dbb.corner(2) * matrix);
|
||||
_bb.expandBy(dbb.corner(3) * matrix);
|
||||
_bb.expandBy(dbb.corner(4) * matrix);
|
||||
_bb.expandBy(dbb.corner(5) * matrix);
|
||||
_bb.expandBy(dbb.corner(6) * matrix);
|
||||
_bb.expandBy(dbb.corner(7) * matrix);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
typedef std::vector<osg::Matrix> MatrixStack;
|
||||
|
||||
MatrixStack _matrixStack;
|
||||
osg::BoundingBox _bb;
|
||||
};
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// ShadowVolume
|
||||
@@ -176,7 +71,7 @@ void ShadowVolume::init()
|
||||
if (!_shadowedScene) return;
|
||||
|
||||
// get the bounds of the model.
|
||||
ComputeBoundingBoxVisitor cbbv;
|
||||
osg::ComputeBoundsVisitor cbbv;
|
||||
_shadowedScene->osg::Group::traverse(cbbv);
|
||||
|
||||
|
||||
|
||||
@@ -13,17 +13,7 @@
|
||||
#include <osg/.svn/text-base/Array.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2b.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2s.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3b.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3s.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4ub.svn-base>
|
||||
#include <osg/Array>
|
||||
#include <osg/Vec4b>
|
||||
#include <osg/Vec4s>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -595,364 +585,6 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::IndexArray)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ValueVisitor)
|
||||
I_Constructor0(____ValueVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLbyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLbyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLshort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLshort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLushort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLushort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLubyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLubyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLuint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLfloat &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLfloat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4ub &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4ub_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ValueVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLbyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLbyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLshort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLshort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLushort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLushort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLubyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLubyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLuint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLfloat &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLfloat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4ub &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4ub_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4s_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ValueVisitor)
|
||||
I_Constructor0(____ValueVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLbyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLbyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLshort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLshort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLushort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLushort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLubyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLubyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLuint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLfloat &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLfloat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4ub &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4ub_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ValueVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLbyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLbyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLshort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLshort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLushort &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLushort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLubyte &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLubyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLuint &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, GLfloat &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__GLfloat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4 &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4ub &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4ub_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4b &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4b_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec2s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec3s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec3s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Vec4s &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Vec4s_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector<osg::Vec2>);
|
||||
STD_VECTOR_REFLECTOR(std::vector<osg::Vec3>);
|
||||
|
||||
@@ -21,14 +21,14 @@
|
||||
#include <osg/.svn/text-base/Matrixf.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Texture.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/.svn/text-base/View.svn-base>
|
||||
#include <osg/.svn/text-base/Viewport.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/State>
|
||||
#include <osg/Stats>
|
||||
#include <osg/Texture>
|
||||
#include <osg/View>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
91
src/osgWrappers/osg/ComputeBoundsVisitor.cpp
Normal file
91
src/osgWrappers/osg/ComputeBoundsVisitor.cpp
Normal file
@@ -0,0 +1,91 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/ComputeBoundsVisitor>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Polytope>
|
||||
#include <osg/Transform>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ComputeBoundsVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_ConstructorWithDefaults1(IN, TraversalMode, traversalMode, TRAVERSE_ALL_CHILDREN,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ComputeBoundsVisitor__TraversalMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox &, getBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_BoundingBox_R1__getBoundingBox,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getPolytope, IN, osg::Polytope &, polytope, , IN, float, margin, 0.1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getPolytope__osg_Polytope_R1__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getBase, IN, osg::Polytope &, polytope, , IN, float, margin, 0.1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getBase__osg_Polytope_R1__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, transform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, pushMatrix, IN, osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushMatrix__osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, applyDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__applyDrawable__osg_Drawable_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::BoundingBox &, BoundingBox,
|
||||
__osg_BoundingBox_R1__getBoundingBox,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
#include <osg/.svn/text-base/FrameBufferObject.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Texture1D.svn-base>
|
||||
#include <osg/.svn/text-base/Texture2D.svn-base>
|
||||
#include <osg/.svn/text-base/TextureCubeMap.svn-base>
|
||||
#include <osg/.svn/text-base/TextureRectangle.svn-base>
|
||||
#include <osg/FrameBufferObject>
|
||||
#include <osg/State>
|
||||
#include <osg/Texture1D>
|
||||
#include <osg/Texture2D>
|
||||
#include <osg/Texture3D>
|
||||
#include <osg/TextureRectangle>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -737,3 +737,387 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_SimpleProperty(int, Height,
|
||||
__int__getHeight,
|
||||
__void__setHeight__int);
|
||||
I_SimpleProperty(GLenum, InternalFormat,
|
||||
__GLenum__getInternalFormat,
|
||||
__void__setInternalFormat__GLenum);
|
||||
I_SimpleProperty(int, Width,
|
||||
__int__getWidth,
|
||||
__void__setWidth__int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_SimpleProperty(int, Height,
|
||||
__int__getHeight,
|
||||
__void__setHeight__int);
|
||||
I_SimpleProperty(GLenum, InternalFormat,
|
||||
__GLenum__getInternalFormat,
|
||||
__void__setInternalFormat__GLenum);
|
||||
I_SimpleProperty(int, Width,
|
||||
__int__getWidth,
|
||||
__void__setWidth__int);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ CXXFILES =\
|
||||
Array.cpp\
|
||||
BufferObject.cpp\
|
||||
Camera.cpp\
|
||||
ComputeBoundsVisitor.cpp\
|
||||
DrawPixels.cpp\
|
||||
Drawable.cpp\
|
||||
Endian.cpp\
|
||||
@@ -19,7 +20,7 @@ CXXFILES =\
|
||||
FrontFace.cpp\
|
||||
Geode.cpp\
|
||||
Notify.cpp\
|
||||
PagedLOD.cpp\
|
||||
Plane.cpp\
|
||||
Point.cpp\
|
||||
PointSprite.cpp\
|
||||
PolygonMode.cpp\
|
||||
@@ -33,33 +34,31 @@ CXXFILES =\
|
||||
ProxyNode.cpp\
|
||||
Quat.cpp\
|
||||
Referenced.cpp\
|
||||
Sequence.cpp\
|
||||
Scissor.cpp\
|
||||
ShadeModel.cpp\
|
||||
Shader.cpp\
|
||||
ShadowVolumeOccluder.cpp\
|
||||
Shape.cpp\
|
||||
ShapeDrawable.cpp\
|
||||
State.cpp\
|
||||
StateSet.cpp\
|
||||
Stats.cpp\
|
||||
StencilTwoSided.cpp\
|
||||
Switch.cpp\
|
||||
TexEnvCombine.cpp\
|
||||
TexEnvFilter.cpp\
|
||||
TexEnv.cpp\
|
||||
TexGen.cpp\
|
||||
TexGenNode.cpp\
|
||||
TexMat.cpp\
|
||||
Texture.cpp\
|
||||
Texture1D.cpp\
|
||||
Texture2D.cpp\
|
||||
Texture3D.cpp\
|
||||
TextureCubeMap.cpp\
|
||||
TextureRectangle.cpp\
|
||||
Transform.cpp\
|
||||
Uniform.cpp\
|
||||
Vec2d.cpp\
|
||||
Vec2f.cpp\
|
||||
Vec2s.cpp\
|
||||
Vec3d.cpp\
|
||||
Vec4b.cpp\
|
||||
Vec4d.cpp\
|
||||
Vec4s.cpp\
|
||||
VertexProgram.cpp\
|
||||
View.cpp\
|
||||
|
||||
LIBS += -losg -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -10,15 +10,16 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Plane.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3f.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4f.svn-base>
|
||||
#include <osg/Plane>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec3f>
|
||||
#include <osg/Vec4d>
|
||||
#include <osg/Vec4f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -198,6 +199,497 @@ BEGIN_VALUE_REFLECTOR(osg::Plane)
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_Constructor0(____Plane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
____Plane__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d,
|
||||
____Plane__C5_Vec3_type_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of the plane. ",
|
||||
"");
|
||||
I_Method0(void, makeUnitLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeUnitLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, calculateUpperLowerBBCorners,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__calculateUpperLowerBBCorners,
|
||||
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec4_type, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_type__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec3_type, getNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3_type__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, distance, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__distance__C5_osg_Vec3f_R1,
|
||||
"calculate the distance between a point and the plane. ",
|
||||
"");
|
||||
I_Method1(double, distance, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__distance__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__dotProductNormal__C5_osg_Vec3f_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__dotProductNormal__C5_osg_Vec3d_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingBox_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the plane by matrix. ",
|
||||
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Plane::Vec3_type, Normal,
|
||||
__Vec3_type__getNormal,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(double, osg::Plane::value_type);
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec3d, osg::Plane::Vec3_type);
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec4d, osg::Plane::Vec4_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Plane)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Plane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
____Plane__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d,
|
||||
____Plane__C5_Vec3_type_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of the plane. ",
|
||||
"");
|
||||
I_Method0(void, makeUnitLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeUnitLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, calculateUpperLowerBBCorners,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__calculateUpperLowerBBCorners,
|
||||
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec4_type, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_type__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec3_type, getNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3_type__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, distance, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__distance__C5_osg_Vec3f_R1,
|
||||
"calculate the distance between a point and the plane. ",
|
||||
"");
|
||||
I_Method1(double, distance, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__distance__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__dotProductNormal__C5_osg_Vec3f_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__dotProductNormal__C5_osg_Vec3d_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingBox_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the plane by matrix. ",
|
||||
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_Constructor0(____Plane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
____Plane__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d,
|
||||
____Plane__C5_Vec3_type_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of the plane. ",
|
||||
"");
|
||||
I_Method0(void, makeUnitLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeUnitLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, calculateUpperLowerBBCorners,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__calculateUpperLowerBBCorners,
|
||||
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec4_type, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_type__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec3_type, getNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3_type__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, distance, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__distance__C5_osg_Vec3f_R1,
|
||||
"calculate the distance between a point and the plane. ",
|
||||
"");
|
||||
I_Method1(double, distance, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__distance__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__dotProductNormal__C5_osg_Vec3f_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__dotProductNormal__C5_osg_Vec3d_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingBox_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the plane by matrix. ",
|
||||
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Plane::Vec3_type, Normal,
|
||||
__Vec3_type__getNormal,
|
||||
0);
|
||||
|
||||
@@ -10,7 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Point>
|
||||
#include <osg/State>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -20,6 +25,492 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(const osg::Vec3 &, DistanceAttenuation,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1);
|
||||
I_SimpleProperty(float, FadeThresholdSize,
|
||||
__float__getFadeThresholdSize,
|
||||
__void__setFadeThresholdSize__float);
|
||||
I_SimpleProperty(float, MaxSize,
|
||||
__float__getMaxSize,
|
||||
__void__setMaxSize__float);
|
||||
I_SimpleProperty(float, MinSize,
|
||||
__float__getMinSize,
|
||||
__void__setMinSize__float);
|
||||
I_SimpleProperty(float, Size,
|
||||
__float__getSize,
|
||||
__void__setSize__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(const osg::Vec3 &, DistanceAttenuation,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1);
|
||||
I_SimpleProperty(float, FadeThresholdSize,
|
||||
__float__getFadeThresholdSize,
|
||||
__void__setFadeThresholdSize__float);
|
||||
I_SimpleProperty(float, MaxSize,
|
||||
__float__getMaxSize,
|
||||
__void__setMaxSize__float);
|
||||
I_SimpleProperty(float, MinSize,
|
||||
__float__getMinSize,
|
||||
__void__setMinSize__float);
|
||||
I_SimpleProperty(float, Size,
|
||||
__float__getSize,
|
||||
__void__setSize__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Plane.svn-base>
|
||||
#include <osg/.svn/text-base/Polytope.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Plane>
|
||||
#include <osg/Polytope>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Program.svn-base>
|
||||
#include <osg/.svn/text-base/Shader.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Uniform.svn-base>
|
||||
#include <osg/Program>
|
||||
#include <osg/Shader>
|
||||
#include <osg/State>
|
||||
#include <osg/Uniform>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
#include <osg/.svn/text-base/Matrixf.svn-base>
|
||||
#include <osg/.svn/text-base/Quat.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3f.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4f.svn-base>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec4d>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/Scissor>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -25,6 +25,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
@@ -40,32 +41,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -130,9 +131,335 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
____Scissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Scissor__C5_Scissor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScissor__int_R1__int_R1__int_R1__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
____Scissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Scissor__C5_Scissor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScissor__int_R1__int_R1__int_R1__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
____Scissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Scissor__C5_Scissor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScissor__int_R1__int_R1__int_R1__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,12 +10,14 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Array.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Shape.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Array>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Shape>
|
||||
|
||||
@@ -4077,3 +4079,313 @@ BEGIN_OBJECT_REFLECTOR(osg::Sphere)
|
||||
__void__setRadius__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TriangleMesh)
|
||||
I_BaseType(osg::Shape);
|
||||
I_BaseType(osg::Shape);
|
||||
I_Constructor0(____TriangleMesh,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TriangleMesh &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TriangleMesh__C5_TriangleMesh_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertices__Vec3Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIndices, IN, osg::IndexArray *, indices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TriangleMesh,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TriangleMesh &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TriangleMesh__C5_TriangleMesh_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertices__Vec3Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIndices, IN, osg::IndexArray *, indices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::IndexArray *, Indices,
|
||||
__IndexArray_P1__getIndices,
|
||||
__void__setIndices__IndexArray_P1);
|
||||
I_SimpleProperty(osg::Vec3Array *, Vertices,
|
||||
__Vec3Array_P1__getVertices,
|
||||
__void__setVertices__Vec3Array_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TriangleMesh)
|
||||
I_BaseType(osg::Shape);
|
||||
I_BaseType(osg::Shape);
|
||||
I_Constructor0(____TriangleMesh,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TriangleMesh &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TriangleMesh__C5_TriangleMesh_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertices__Vec3Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIndices, IN, osg::IndexArray *, indices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TriangleMesh,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TriangleMesh &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TriangleMesh__C5_TriangleMesh_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertices__Vec3Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIndices, IN, osg::IndexArray *, indices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_IndexArray_P1__getIndices,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::IndexArray *, Indices,
|
||||
__IndexArray_P1__getIndices,
|
||||
__void__setIndices__IndexArray_P1);
|
||||
I_SimpleProperty(osg::Vec3Array *, Vertices,
|
||||
__Vec3Array_P1__getVertices,
|
||||
__void__setVertices__Vec3Array_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,16 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/ShapeDrawable.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/Shape>
|
||||
#include <osg/ShapeDrawable>
|
||||
#include <osg/State>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -29,412 +23,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ShapeDrawable,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0,
|
||||
____ShapeDrawable__Shape_P1__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShapeDrawable__C5_ShapeDrawable_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"Set the color of the shape. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"Get the color of the shape. ",
|
||||
"");
|
||||
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationHints__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) . ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShapeDrawable,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0,
|
||||
____ShapeDrawable__Shape_P1__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShapeDrawable__C5_ShapeDrawable_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"Set the color of the shape. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"Get the color of the shape. ",
|
||||
"");
|
||||
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationHints__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) . ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TessellationHints *, TessellationHints,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
__void__setTessellationHints__TessellationHints_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ShapeDrawable,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0,
|
||||
____ShapeDrawable__Shape_P1__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShapeDrawable__C5_ShapeDrawable_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"Set the color of the shape. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"Get the color of the shape. ",
|
||||
"");
|
||||
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationHints__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) . ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShapeDrawable,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0,
|
||||
____ShapeDrawable__Shape_P1__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShapeDrawable__C5_ShapeDrawable_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"Set the color of the shape. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"Get the color of the shape. ",
|
||||
"");
|
||||
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationHints__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) . ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TessellationHints *, TessellationHints,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
__void__setTessellationHints__TessellationHints_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
|
||||
I_EnumLabel(osg::TessellationHints::USE_SHAPE_DEFAULTS);
|
||||
I_EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES);
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/State.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/.svn/text-base/Viewport.svn-base>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osg/Polytope>
|
||||
#include <osg/Program>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -2398,39 +2398,3 @@ BEGIN_OBJECT_REFLECTOR(osg::State)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::State::DynamicObjectRenderingCompletedCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____DynamicObjectRenderingCompletedCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::State::DynamicObjectRenderingCompletedCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____DynamicObjectRenderingCompletedCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,12 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/TexEnv.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexEnv>
|
||||
#include <osg/Vec4>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -34,6 +35,7 @@ BEGIN_ENUM_REFLECTOR(osg::TexEnv::Mode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -47,37 +49,37 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -112,15 +114,274 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnv__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexEnv::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TexEnv::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexEnv::Mode)
|
||||
I_EnumLabel(osg::TexEnv::DECAL);
|
||||
I_EnumLabel(osg::TexEnv::MODULATE);
|
||||
I_EnumLabel(osg::TexEnv::BLEND);
|
||||
I_EnumLabel(osg::TexEnv::REPLACE);
|
||||
I_EnumLabel(osg::TexEnv::ADD);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnv__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexEnv::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnv__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexEnv::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TexEnv::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,12 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/TexGen.svn-base>
|
||||
#include <osg/Plane>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexGen>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -42,6 +43,7 @@ BEGIN_ENUM_REFLECTOR(osg::TexGen::Coord)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
@@ -53,37 +55,37 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -98,8 +100,95 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexGen::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1,
|
||||
"Set the tex gen planes from specified matrix. ",
|
||||
"Typical usage would be to pass in a projection matrix to set up projective texturing.");
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGen__C5_TexGen_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
@@ -140,7 +229,214 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_SimpleProperty(const osg::Matrixd &, PlanesFromMatrix,
|
||||
0,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexGen::Mode)
|
||||
I_EnumLabel(osg::TexGen::OBJECT_LINEAR);
|
||||
I_EnumLabel(osg::TexGen::EYE_LINEAR);
|
||||
I_EnumLabel(osg::TexGen::SPHERE_MAP);
|
||||
I_EnumLabel(osg::TexGen::NORMAL_MAP);
|
||||
I_EnumLabel(osg::TexGen::REFLECTION_MAP);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexGen::Coord)
|
||||
I_EnumLabel(osg::TexGen::S);
|
||||
I_EnumLabel(osg::TexGen::T);
|
||||
I_EnumLabel(osg::TexGen::R);
|
||||
I_EnumLabel(osg::TexGen::Q);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGen__C5_TexGen_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexGen::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1,
|
||||
"Set the tex gen planes from specified matrix. ",
|
||||
"Typical usage would be to pass in a projection matrix to set up projective texturing.");
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGen__C5_TexGen_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexGen::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1,
|
||||
"Set the tex gen planes from specified matrix. ",
|
||||
"Typical usage would be to pass in a projection matrix to set up projective texturing.");
|
||||
I_SimpleProperty(osg::TexGen::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_IndexedProperty(const osg::Plane &, Plane,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrixd &, PlanesFromMatrix,
|
||||
0,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,9 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/TexGenNode.svn-base>
|
||||
#include <osg/TexGen>
|
||||
#include <osg/TexGenNode>
|
||||
|
||||
@@ -30,6 +31,7 @@ BEGIN_ENUM_REFLECTOR(osg::TexGenNode::ReferenceFrame)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
@@ -46,32 +48,300 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
|
||||
"");
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Ge thte TexGenNode's ReferenceFrame. ",
|
||||
"");
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureUnit__unsigned_int,
|
||||
"Set the texture unit that this TexGenNode is associated with. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTextureUnit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexGen__TexGen_P1,
|
||||
"Set the TexGen. ",
|
||||
"");
|
||||
I_Method0(osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexGen_P1__getTexGen,
|
||||
"Get the TexGen. ",
|
||||
"");
|
||||
I_Method0(const osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexGen_P1__getTexGen,
|
||||
"Get the const TexGen. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TexGen *, texgen,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexGenNode__TexGen_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
|
||||
"");
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Ge thte TexGenNode's ReferenceFrame. ",
|
||||
"");
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureUnit__unsigned_int,
|
||||
"Set the texture unit that this TexGenNode is associated with. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTextureUnit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexGen__TexGen_P1,
|
||||
"Set the TexGen. ",
|
||||
"");
|
||||
I_Method0(osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexGen_P1__getTexGen,
|
||||
"Get the TexGen. ",
|
||||
"");
|
||||
I_Method0(const osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexGen_P1__getTexGen,
|
||||
"Get the const TexGen. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::TexGenNode::ReferenceFrame, ReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
__void__setReferenceFrame__ReferenceFrame);
|
||||
I_SimpleProperty(osg::TexGen *, TexGen,
|
||||
__TexGen_P1__getTexGen,
|
||||
__void__setTexGen__TexGen_P1);
|
||||
I_SimpleProperty(unsigned int, TextureUnit,
|
||||
__unsigned_int__getTextureUnit,
|
||||
__void__setTextureUnit__unsigned_int);
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
0,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexGenNode::ReferenceFrame)
|
||||
I_EnumLabel(osg::TexGenNode::RELATIVE_RF);
|
||||
I_EnumLabel(osg::TexGenNode::ABSOLUTE_RF);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TexGen *, texgen,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexGenNode__TexGen_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
|
||||
"");
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Ge thte TexGenNode's ReferenceFrame. ",
|
||||
"");
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureUnit__unsigned_int,
|
||||
"Set the texture unit that this TexGenNode is associated with. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTextureUnit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexGen__TexGen_P1,
|
||||
"Set the TexGen. ",
|
||||
"");
|
||||
I_Method0(osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexGen_P1__getTexGen,
|
||||
"Get the TexGen. ",
|
||||
"");
|
||||
I_Method0(const osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexGen_P1__getTexGen,
|
||||
"Get the const TexGen. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TexGen *, texgen,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexGenNode__TexGen_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexMat>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
@@ -42,37 +43,119 @@ BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the texture matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Matrix_R1__getMatrix,
|
||||
"Get the texture matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the const texture matrix. ",
|
||||
"");
|
||||
I_Method1(void, setScaleByTextureRectangleSize, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleByTextureRectangleSize__bool,
|
||||
"Switch on/off the post scaling of the TexMat matrix by the size of the last applied texture rectangle. ",
|
||||
"Use a TexMat alongside a TextureRectangle with this scaling applied allows one to treat a TextureRectnagles texture coordinate range as if it were the usual non dimensional 0.0 to 1.0 range. Note, the TexMat matrix itself is not modified by the post scaling, its purely an operation passed to OpenGL to do the post scaling once the the TexMat matrix has been loaded. ");
|
||||
I_Method0(bool, getScaleByTextureRectangleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
"Get whether the post scaling of the TexMat matrix, by the size of the last applied texture rectangle, is switched on/off. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Apply texture matrix to OpenGL state. ",
|
||||
"");
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexMat__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexMat &, texmat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexMat__C5_TexMat_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -115,7 +198,185 @@ BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_SimpleProperty(bool, ScaleByTextureRectangleSize,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
__void__setScaleByTextureRectangleSize__bool);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexMat__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexMat &, texmat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexMat__C5_TexMat_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the texture matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Matrix_R1__getMatrix,
|
||||
"Get the texture matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the const texture matrix. ",
|
||||
"");
|
||||
I_Method1(void, setScaleByTextureRectangleSize, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleByTextureRectangleSize__bool,
|
||||
"Switch on/off the post scaling of the TexMat matrix by the size of the last applied texture rectangle. ",
|
||||
"Use a TexMat alongside a TextureRectangle with this scaling applied allows one to treat a TextureRectnagles texture coordinate range as if it were the usual non dimensional 0.0 to 1.0 range. Note, the TexMat matrix itself is not modified by the post scaling, its purely an operation passed to OpenGL to do the post scaling once the the TexMat matrix has been loaded. ");
|
||||
I_Method0(bool, getScaleByTextureRectangleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
"Get whether the post scaling of the TexMat matrix, by the size of the last applied texture rectangle, is switched on/off. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Apply texture matrix to OpenGL state. ",
|
||||
"");
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexMat__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexMat &, texmat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexMat__C5_TexMat_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the texture matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Matrix_R1__getMatrix,
|
||||
"Get the texture matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the const texture matrix. ",
|
||||
"");
|
||||
I_Method1(void, setScaleByTextureRectangleSize, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleByTextureRectangleSize__bool,
|
||||
"Switch on/off the post scaling of the TexMat matrix by the size of the last applied texture rectangle. ",
|
||||
"Use a TexMat alongside a TextureRectangle with this scaling applied allows one to treat a TextureRectnagles texture coordinate range as if it were the usual non dimensional 0.0 to 1.0 range. Note, the TexMat matrix itself is not modified by the post scaling, its purely an operation passed to OpenGL to do the post scaling once the the TexMat matrix has been loaded. ");
|
||||
I_Method0(bool, getScaleByTextureRectangleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
"Get whether the post scaling of the TexMat matrix, by the size of the last applied texture rectangle, is switched on/off. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Apply texture matrix to OpenGL state. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrix &, Matrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
__void__setMatrix__C5_Matrix_R1);
|
||||
I_SimpleProperty(bool, ScaleByTextureRectangleSize,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
__void__setScaleByTextureRectangleSize__bool);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,10 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Image.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Texture2D.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osg/Texture2D>
|
||||
|
||||
@@ -25,712 +22,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture2D)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture2D,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Texture2D__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture2D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture2D__C5_Texture2D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int,
|
||||
"Sets the texture width and height. ",
|
||||
"If width or height are zero, calculate the respective value from the source image size. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture2D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_Constructor0(____Texture2D,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Texture2D__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture2D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture2D__C5_Texture2D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int,
|
||||
"Sets the texture width and height. ",
|
||||
"If width or height are zero, calculate the respective value from the source image size. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture2D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__Image_P1);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::Texture2D::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture2D)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture2D,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Texture2D__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture2D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture2D__C5_Texture2D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int,
|
||||
"Sets the texture width and height. ",
|
||||
"If width or height are zero, calculate the respective value from the source image size. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture2D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_Constructor0(____Texture2D,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Texture2D__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture2D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture2D__C5_Texture2D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int,
|
||||
"Sets the texture width and height. ",
|
||||
"If width or height are zero, calculate the respective value from the source image size. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture2D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__Image_P1);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::Texture2D::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
|
||||
@@ -764,547 +764,59 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DSupported__bool,
|
||||
I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DSupported,
|
||||
I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DFast, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DFast__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DFast,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DFast,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxTexture3DSize, IN, GLint, maxsize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTexture3DSize__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, maxTexture3DSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__maxTexture3DSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCopyTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCopyTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexSubImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexSubImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBuild3DMipmapsProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBuild3DMipmapsProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method8(void, gluBuild3DMipmaps, IN, GLenum, target, IN, GLint, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__gluBuild3DMipmaps__GLenum__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DFast, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DFast__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DFast,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DFast,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxTexture3DSize, IN, GLint, maxsize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTexture3DSize__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, maxTexture3DSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__maxTexture3DSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCopyTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCopyTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexSubImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexSubImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBuild3DMipmapsProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBuild3DMipmapsProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method8(void, gluBuild3DMipmaps, IN, GLenum, target, IN, GLint, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__gluBuild3DMipmaps__GLenum__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, Build3DMipmapsProc,
|
||||
0,
|
||||
__void__setBuild3DMipmapsProc__void_P1);
|
||||
I_SimpleProperty(void *, CompressedTexImage3DProc,
|
||||
0,
|
||||
__void__setCompressedTexImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, CompressedTexSubImage3DProc,
|
||||
0,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, CopyTexSubImage3DProc,
|
||||
0,
|
||||
__void__setCopyTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(GLint, MaxTexture3DSize,
|
||||
0,
|
||||
__void__setMaxTexture3DSize__GLint);
|
||||
I_SimpleProperty(void *, TexImage3DProc,
|
||||
0,
|
||||
__void__setTexImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, TexSubImage3DProc,
|
||||
0,
|
||||
__void__setTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(bool, Texture3DFast,
|
||||
0,
|
||||
__void__setTexture3DFast__bool);
|
||||
I_SimpleProperty(bool, Texture3DSupported,
|
||||
0,
|
||||
__void__setTexture3DSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DSupported__bool,
|
||||
I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DSupported,
|
||||
I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DFast, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DFast__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DFast,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DFast,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxTexture3DSize, IN, GLint, maxsize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTexture3DSize__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, maxTexture3DSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__maxTexture3DSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCopyTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCopyTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexSubImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexSubImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBuild3DMipmapsProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBuild3DMipmapsProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method8(void, gluBuild3DMipmaps, IN, GLenum, target, IN, GLint, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__gluBuild3DMipmaps__GLenum__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DFast, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DFast__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DFast,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DFast,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxTexture3DSize, IN, GLint, maxsize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTexture3DSize__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, maxTexture3DSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__maxTexture3DSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCopyTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCopyTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexSubImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexSubImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBuild3DMipmapsProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBuild3DMipmapsProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method8(void, gluBuild3DMipmaps, IN, GLenum, target, IN, GLint, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__gluBuild3DMipmaps__GLenum__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, Build3DMipmapsProc,
|
||||
0,
|
||||
__void__setBuild3DMipmapsProc__void_P1);
|
||||
I_SimpleProperty(void *, CompressedTexImage3DProc,
|
||||
0,
|
||||
__void__setCompressedTexImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, CompressedTexSubImage3DProc,
|
||||
0,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, CopyTexSubImage3DProc,
|
||||
0,
|
||||
__void__setCopyTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(GLint, MaxTexture3DSize,
|
||||
0,
|
||||
__void__setMaxTexture3DSize__GLint);
|
||||
I_SimpleProperty(void *, TexImage3DProc,
|
||||
0,
|
||||
__void__setTexImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, TexSubImage3DProc,
|
||||
0,
|
||||
__void__setTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(bool, Texture3DFast,
|
||||
0,
|
||||
__void__setTexture3DFast__bool);
|
||||
I_SimpleProperty(bool, Texture3DSupported,
|
||||
0,
|
||||
__void__setTexture3DSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec2f.svn-base>
|
||||
#include <osg/Vec2f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -94,5 +95,213 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2f)
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec2f,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
____Vec2f__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2f::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2f::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(float, osg::Vec2f::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec2f)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Vec2f,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
____Vec2f__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2f::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2f::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec2f,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
____Vec2f__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2f::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2f::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec2s.svn-base>
|
||||
#include <osg/Vec2s>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -90,5 +91,211 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2s)
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec2s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
____Vec2s__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec2s &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(short, osg::Vec2s::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec2s)
|
||||
I_Constructor0(____Vec2s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
____Vec2s__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec2s &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec2s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
____Vec2s__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec2s &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec2d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3f.svn-base>
|
||||
#include <osg/Vec2d>
|
||||
#include <osg/Vec3d>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
|
||||
@@ -10,9 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec4d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4f.svn-base>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec4d>
|
||||
#include <osg/Vec4f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -175,5 +176,450 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4d)
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec4d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3d &, v3, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__C5_Vec3d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec4d__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asABGR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asABGR,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asRGBA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asRGBA,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec4d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec4d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(double, osg::Vec4d::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec4d)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Vec4d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3d &, v3, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__C5_Vec3d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec4d__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asABGR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asABGR,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asRGBA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asRGBA,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec4d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec4d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec4d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3d &, v3, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__C5_Vec3d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec4d__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asABGR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asABGR,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asRGBA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asRGBA,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec4d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec4d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,13 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/.svn/text-base/VertexProgram.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osg/VertexProgram>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -27,640 +20,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::VertexProgram::LocalParamList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::VertexProgram::MatrixList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____VertexProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::VertexProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VertexProgram__C5_VertexProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getVertexProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getVertexProgramID__unsigned_int,
|
||||
"Get the handle to the vertex program ID for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_char_P1,
|
||||
"Set the vertex program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_std_string_R1,
|
||||
"Set the vertex program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getVertexProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
"Get the vertex program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::VertexProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::VertexProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyVertexProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyVertexProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"Release any OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics contexts if State object pointer is NULL. ",
|
||||
"");
|
||||
I_Constructor0(____VertexProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::VertexProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VertexProgram__C5_VertexProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getVertexProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getVertexProgramID__unsigned_int,
|
||||
"Get the handle to the vertex program ID for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_char_P1,
|
||||
"Set the vertex program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_std_string_R1,
|
||||
"Set the vertex program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getVertexProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
"Get the vertex program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::VertexProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::VertexProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyVertexProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyVertexProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"Release any OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics contexts if State object pointer is NULL. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteVertexProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteVertexProgramObject__unsigned_int__GLuint_S,
|
||||
"Use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedVertexProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedVertexProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"Flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::VertexProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::VertexProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
I_StaticMethod2(void, deleteVertexProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteVertexProgramObject__unsigned_int__GLuint_S,
|
||||
"Use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedVertexProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedVertexProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"Flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::VertexProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::VertexProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
I_SimpleProperty(const osg::VertexProgram::LocalParamList &, LocalParameters,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1);
|
||||
I_SimpleProperty(const osg::VertexProgram::MatrixList &, Matrices,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
__void__setMatrices__C5_MatrixList_R1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, VertexProgram,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
__void__setVertexProgram__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::VertexProgram::LocalParamList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::VertexProgram::MatrixList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____VertexProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::VertexProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VertexProgram__C5_VertexProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getVertexProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getVertexProgramID__unsigned_int,
|
||||
"Get the handle to the vertex program ID for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_char_P1,
|
||||
"Set the vertex program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_std_string_R1,
|
||||
"Set the vertex program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getVertexProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
"Get the vertex program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::VertexProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::VertexProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyVertexProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyVertexProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"Release any OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics contexts if State object pointer is NULL. ",
|
||||
"");
|
||||
I_Constructor0(____VertexProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::VertexProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VertexProgram__C5_VertexProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getVertexProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getVertexProgramID__unsigned_int,
|
||||
"Get the handle to the vertex program ID for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_char_P1,
|
||||
"Set the vertex program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_std_string_R1,
|
||||
"Set the vertex program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getVertexProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
"Get the vertex program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::VertexProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::VertexProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyVertexProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyVertexProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"Release any OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics contexts if State object pointer is NULL. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteVertexProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteVertexProgramObject__unsigned_int__GLuint_S,
|
||||
"Use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedVertexProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedVertexProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"Flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::VertexProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::VertexProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
I_StaticMethod2(void, deleteVertexProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteVertexProgramObject__unsigned_int__GLuint_S,
|
||||
"Use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedVertexProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedVertexProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"Flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::VertexProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::VertexProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
I_SimpleProperty(const osg::VertexProgram::LocalParamList &, LocalParameters,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1);
|
||||
I_SimpleProperty(const osg::VertexProgram::MatrixList &, Matrices,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
__void__setMatrices__C5_MatrixList_R1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, VertexProgram,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
__void__setVertexProgram__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
|
||||
@@ -20,81 +20,127 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::ReentrantMutex)
|
||||
I_Constructor0(____ReentrantMutex,
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::ReadWriteMutex)
|
||||
I_Constructor0(____ReadWriteMutex,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, lock,
|
||||
I_Method0(int, readLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
__int__readLock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, unlock,
|
||||
I_Method0(int, readUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__unlock,
|
||||
__int__readUnlock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, trylock,
|
||||
I_Method0(int, writeLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__trylock,
|
||||
__int__writeLock,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ReentrantMutex,
|
||||
I_Method0(int, writeUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__writeUnlock,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ReadWriteMutex,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, lock,
|
||||
I_Method0(int, readLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
__int__readLock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, unlock,
|
||||
I_Method0(int, readUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__unlock,
|
||||
__int__readUnlock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, trylock,
|
||||
I_Method0(int, writeLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__trylock,
|
||||
__int__writeLock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, writeUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__writeUnlock,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::ReentrantMutex)
|
||||
I_Constructor0(____ReentrantMutex,
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::ReadWriteMutex)
|
||||
I_Constructor0(____ReadWriteMutex,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, lock,
|
||||
I_Method0(int, readLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
__int__readLock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, unlock,
|
||||
I_Method0(int, readUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__unlock,
|
||||
__int__readUnlock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, trylock,
|
||||
I_Method0(int, writeLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__trylock,
|
||||
__int__writeLock,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ReentrantMutex,
|
||||
I_Method0(int, writeUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__writeUnlock,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ReadWriteMutex,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, lock,
|
||||
I_Method0(int, readLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
__int__readLock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, unlock,
|
||||
I_Method0(int, readUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__unlock,
|
||||
__int__readUnlock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, trylock,
|
||||
I_Method0(int, writeLock,
|
||||
Properties::VIRTUAL,
|
||||
__int__trylock,
|
||||
__int__writeLock,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, writeUnlock,
|
||||
Properties::VIRTUAL,
|
||||
__int__writeUnlock,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgDB::ScopedReadLock)
|
||||
I_Constructor1(IN, osgDB::ReadWriteMutex &, mutex,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ScopedReadLock__ReadWriteMutex_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgDB::ReadWriteMutex &, mutex,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ScopedReadLock__ReadWriteMutex_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgDB::ScopedReadLock)
|
||||
I_Constructor1(IN, osgDB::ReadWriteMutex &, mutex,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ScopedReadLock__ReadWriteMutex_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgDB::ReadWriteMutex &, mutex,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ScopedReadLock__ReadWriteMutex_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,7 @@
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/Texture2D>
|
||||
#include <osg/.svn/text-base/Texture2D.svn-base>
|
||||
#include <osgFX/BumpMapping>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgFX/.svn/text-base/Technique.svn-base>
|
||||
#include <osgFX/Effect>
|
||||
#include <osgFX/Technique>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -8,8 +8,8 @@ CXXFILES =\
|
||||
Effect.cpp\
|
||||
MultiTextureControl.cpp\
|
||||
Registry.cpp\
|
||||
Scribe.cpp\
|
||||
SpecularHighlights.cpp\
|
||||
Technique.cpp\
|
||||
|
||||
LIBS += -losgFX -losg -losgIntrospection -losgUtil -losgDB $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
#include <osgFX/Effect>
|
||||
@@ -26,6 +26,141 @@
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Technique)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____Technique,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, techniqueName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__techniqueName,
|
||||
"get the name of this Technique ",
|
||||
"");
|
||||
I_Method0(const char *, techniqueDescription,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__techniqueDescription,
|
||||
"get a brief description of this Technique ",
|
||||
"");
|
||||
I_Method1(void, getRequiredExtensions, IN, std::vector< std::string > &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__getRequiredExtensions__std_vectorT1_std_string__R1,
|
||||
"collect the GL extension strings which are required for this technique to work properly. ",
|
||||
"This method is called from the default implementation of validate().");
|
||||
I_Method1(bool, validate, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__validate__osg_State_R1,
|
||||
"tests whether this technique is valid for the current rendering context. ",
|
||||
"The default behavior is to call getRequiredExtensions() and check for extension availability.");
|
||||
I_Method0(int, getNumPasses,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumPasses,
|
||||
"get the number of rendering passes defined in this Technique ",
|
||||
"");
|
||||
I_Method1(osg::StateSet *, getPassStateSet, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getPassStateSet__int,
|
||||
"get the StateSet object associated to the i-th pass ",
|
||||
"");
|
||||
I_Method1(const osg::StateSet *, getPassStateSet, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getPassStateSet__int,
|
||||
"get the const StateSet object associated to the i-th pass ",
|
||||
"");
|
||||
I_Method2(void, traverse, IN, osg::NodeVisitor &, nv, IN, osgFX::Effect *, fx,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1__Effect_P1,
|
||||
"traverse children with multipass if necessary. ",
|
||||
"By default this method simply calls the protected method traverse_implementation(); you can override it to change the default behavior. Don't call this method directly as it is called by osgFX::Effect");
|
||||
I_Constructor0(____Technique,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, techniqueName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__techniqueName,
|
||||
"get the name of this Technique ",
|
||||
"");
|
||||
I_Method0(const char *, techniqueDescription,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__techniqueDescription,
|
||||
"get a brief description of this Technique ",
|
||||
"");
|
||||
I_Method1(void, getRequiredExtensions, IN, std::vector< std::string > &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__getRequiredExtensions__std_vectorT1_std_string__R1,
|
||||
"collect the GL extension strings which are required for this technique to work properly. ",
|
||||
"This method is called from the default implementation of validate().");
|
||||
I_Method1(bool, validate, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__validate__osg_State_R1,
|
||||
"tests whether this technique is valid for the current rendering context. ",
|
||||
"The default behavior is to call getRequiredExtensions() and check for extension availability.");
|
||||
I_Method0(int, getNumPasses,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumPasses,
|
||||
"get the number of rendering passes defined in this Technique ",
|
||||
"");
|
||||
I_Method1(osg::StateSet *, getPassStateSet, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getPassStateSet__int,
|
||||
"get the StateSet object associated to the i-th pass ",
|
||||
"");
|
||||
I_Method1(const osg::StateSet *, getPassStateSet, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getPassStateSet__int,
|
||||
"get the const StateSet object associated to the i-th pass ",
|
||||
"");
|
||||
I_Method2(void, traverse, IN, osg::NodeVisitor &, nv, IN, osgFX::Effect *, fx,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1__Effect_P1,
|
||||
"traverse children with multipass if necessary. ",
|
||||
"By default this method simply calls the protected method traverse_implementation(); you can override it to change the default behavior. Don't call this method directly as it is called by osgFX::Effect");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Technique)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____Technique,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, techniqueName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__techniqueName,
|
||||
"get the name of this Technique ",
|
||||
"");
|
||||
I_Method0(const char *, techniqueDescription,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__techniqueDescription,
|
||||
"get a brief description of this Technique ",
|
||||
"");
|
||||
I_Method1(void, getRequiredExtensions, IN, std::vector< std::string > &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__getRequiredExtensions__std_vectorT1_std_string__R1,
|
||||
"collect the GL extension strings which are required for this technique to work properly. ",
|
||||
"This method is called from the default implementation of validate().");
|
||||
I_Method1(bool, validate, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__validate__osg_State_R1,
|
||||
"tests whether this technique is valid for the current rendering context. ",
|
||||
"The default behavior is to call getRequiredExtensions() and check for extension availability.");
|
||||
I_Method0(int, getNumPasses,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumPasses,
|
||||
"get the number of rendering passes defined in this Technique ",
|
||||
"");
|
||||
I_Method1(osg::StateSet *, getPassStateSet, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getPassStateSet__int,
|
||||
"get the StateSet object associated to the i-th pass ",
|
||||
"");
|
||||
I_Method1(const osg::StateSet *, getPassStateSet, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getPassStateSet__int,
|
||||
"get the const StateSet object associated to the i-th pass ",
|
||||
"");
|
||||
I_Method2(void, traverse, IN, osg::NodeVisitor &, nv, IN, osgFX::Effect *, fx,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1__Effect_P1,
|
||||
"traverse children with multipass if necessary. ",
|
||||
"By default this method simply calls the protected method traverse_implementation(); you can override it to change the default behavior. Don't call this method directly as it is called by osgFX::Effect");
|
||||
I_Constructor0(____Technique,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
#include <osg/.svn/text-base/LightSource.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/OccluderNode.svn-base>
|
||||
#include <osg/.svn/text-base/Switch.svn-base>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Projection>
|
||||
#include <osg/Switch>
|
||||
#include <osg/Transform>
|
||||
#include <osgGA/.svn/text-base/EventQueue.svn-base>
|
||||
#include <osgGA/EventVisitor>
|
||||
|
||||
@@ -14,7 +14,7 @@ CXXFILES =\
|
||||
MatrixManipulator.cpp\
|
||||
NodeTrackerManipulator.cpp\
|
||||
StateSetManipulator.cpp\
|
||||
UFOManipulator.cpp\
|
||||
TerrainManipulator.cpp\
|
||||
|
||||
LIBS += -losgGA -losg -losgIntrospection -losgUtil $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/PolygonMode.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/StateSet>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/StateSetManipulator>
|
||||
|
||||
@@ -10,13 +10,14 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osgGA/.svn/text-base/TerrainManipulator.svn-base>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgGA/TerrainManipulator>
|
||||
#include <osgUtil/SceneView>
|
||||
#include <osgUtil/.svn/text-base/SceneView.svn-base>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -32,6 +33,7 @@ BEGIN_ENUM_REFLECTOR(osgGA::TerrainManipulator::RotationMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
@@ -39,8 +41,291 @@ BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
|
||||
0,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
|
||||
0,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
0);
|
||||
I_SimpleProperty(float, FusionDistanceValue,
|
||||
__float__getFusionDistanceValue,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, InverseMatrix,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrixd, Matrix,
|
||||
__osg_Matrixd__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node *, Node,
|
||||
__osg_Node_P1__getNode,
|
||||
__void__setNode__osg_Node_P1);
|
||||
I_SimpleProperty(osgGA::TerrainManipulator::RotationMode, RotationMode,
|
||||
__RotationMode__getRotationMode,
|
||||
__void__setRotationMode__RotationMode);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgGA::TerrainManipulator::RotationMode)
|
||||
I_EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM_ROLL);
|
||||
I_EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_BaseType(osgGA::MatrixManipulator);
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__RotationMode__getRotationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"set the position of the matrix manipulator using a 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
"get the position of the manipulator as 4x4 Matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getInverseMatrix,
|
||||
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
|
||||
"");
|
||||
I_Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode,
|
||||
Properties::VIRTUAL,
|
||||
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
|
||||
"Get the FusionDistanceMode. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method0(float, getFusionDistanceValue,
|
||||
Properties::VIRTUAL,
|
||||
__float__getFusionDistanceValue,
|
||||
"Get the FusionDistanceValue. ",
|
||||
"Used by SceneView for setting up setereo convergence. ");
|
||||
I_Method1(void, setNode, IN, osg::Node *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator. ",
|
||||
"Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__getNode,
|
||||
"Return node if attached. ",
|
||||
"");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Constructor0(____TerrainManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotationMode__RotationMode,
|
||||
|
||||
@@ -11,11 +11,12 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Plane>
|
||||
#include <osgManipulator/.svn/text-base/Command.svn-base>
|
||||
#include <osgManipulator/.svn/text-base/Selection.svn-base>
|
||||
#include <osgManipulator/Command>
|
||||
#include <osgManipulator/Constraint>
|
||||
#include <osgManipulator/Selection>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -305,10 +306,14 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgManipulator::MotionCommand)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInLineCommand)
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_Constructor0(____Scale2DCommand,
|
||||
I_Constructor0(____TranslateInLineCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
____TranslateInLineCommand__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
@@ -326,44 +331,29 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec2 &, s,
|
||||
I_Method2(void, setLine, IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_osg_Vec2_R1,
|
||||
__void__setLine__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScale,
|
||||
I_Method0(const osg::Vec3 &, getLineStart,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScale,
|
||||
__C5_osg_Vec3_R1__getLineStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScaleCenter, IN, const osg::Vec2 &, center,
|
||||
I_Method0(const osg::Vec3 &, getLineEnd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleCenter__C5_osg_Vec2_R1,
|
||||
__C5_osg_Vec3_R1__getLineEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScaleCenter,
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScaleCenter,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec2 &, rp,
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec2_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinScale, IN, const osg::Vec2 &, min,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinScale__C5_osg_Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getMinScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getMinScale,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
@@ -371,7 +361,11 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scale2DCommand,
|
||||
I_Constructor0(____TranslateInLineCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
____TranslateInLineCommand__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
@@ -389,44 +383,29 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec2 &, s,
|
||||
I_Method2(void, setLine, IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_osg_Vec2_R1,
|
||||
__void__setLine__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScale,
|
||||
I_Method0(const osg::Vec3 &, getLineStart,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScale,
|
||||
__C5_osg_Vec3_R1__getLineStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScaleCenter, IN, const osg::Vec2 &, center,
|
||||
I_Method0(const osg::Vec3 &, getLineEnd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleCenter__C5_osg_Vec2_R1,
|
||||
__C5_osg_Vec3_R1__getLineEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScaleCenter,
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScaleCenter,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec2 &, rp,
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec2_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinScale, IN, const osg::Vec2 &, min,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinScale__C5_osg_Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getMinScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getMinScale,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
@@ -434,27 +413,28 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec2 &, MinScale,
|
||||
__C5_osg_Vec2_R1__getMinScale,
|
||||
__void__setMinScale__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, LineEnd,
|
||||
__C5_osg_Vec3_R1__getLineEnd,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, LineStart,
|
||||
__C5_osg_Vec3_R1__getLineStart,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrix, MotionMatrix,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec2 &, ReferencePoint,
|
||||
__C5_osg_Vec2_R1__getReferencePoint,
|
||||
__void__setReferencePoint__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec2 &, Scale,
|
||||
__C5_osg_Vec2_R1__getScale,
|
||||
__void__setScale__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec2 &, ScaleCenter,
|
||||
__C5_osg_Vec2_R1__getScaleCenter,
|
||||
__void__setScaleCenter__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Translation,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
__void__setTranslation__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInLineCommand)
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_Constructor0(____Scale2DCommand,
|
||||
I_Constructor0(____TranslateInLineCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
____TranslateInLineCommand__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
@@ -472,44 +452,29 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec2 &, s,
|
||||
I_Method2(void, setLine, IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_osg_Vec2_R1,
|
||||
__void__setLine__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScale,
|
||||
I_Method0(const osg::Vec3 &, getLineStart,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScale,
|
||||
__C5_osg_Vec3_R1__getLineStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScaleCenter, IN, const osg::Vec2 &, center,
|
||||
I_Method0(const osg::Vec3 &, getLineEnd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleCenter__C5_osg_Vec2_R1,
|
||||
__C5_osg_Vec3_R1__getLineEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScaleCenter,
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScaleCenter,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec2 &, rp,
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec2_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinScale, IN, const osg::Vec2 &, min,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinScale__C5_osg_Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getMinScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getMinScale,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
@@ -517,7 +482,11 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scale2DCommand,
|
||||
I_Constructor0(____TranslateInLineCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
____TranslateInLineCommand__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
@@ -535,44 +504,29 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec2 &, s,
|
||||
I_Method2(void, setLine, IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_osg_Vec2_R1,
|
||||
__void__setLine__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScale,
|
||||
I_Method0(const osg::Vec3 &, getLineStart,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScale,
|
||||
__C5_osg_Vec3_R1__getLineStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScaleCenter, IN, const osg::Vec2 &, center,
|
||||
I_Method0(const osg::Vec3 &, getLineEnd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleCenter__C5_osg_Vec2_R1,
|
||||
__C5_osg_Vec3_R1__getLineEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getScaleCenter,
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getScaleCenter,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec2 &, rp,
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec2_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinScale, IN, const osg::Vec2 &, min,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinScale__C5_osg_Vec2_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getMinScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_R1__getMinScale,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
@@ -580,20 +534,283 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec2 &, MinScale,
|
||||
__C5_osg_Vec2_R1__getMinScale,
|
||||
__void__setMinScale__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, LineEnd,
|
||||
__C5_osg_Vec3_R1__getLineEnd,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, LineStart,
|
||||
__C5_osg_Vec3_R1__getLineStart,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrix, MotionMatrix,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec2 &, ReferencePoint,
|
||||
__C5_osg_Vec2_R1__getReferencePoint,
|
||||
__void__setReferencePoint__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec2 &, Scale,
|
||||
__C5_osg_Vec2_R1__getScale,
|
||||
__void__setScale__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec2 &, ScaleCenter,
|
||||
__C5_osg_Vec2_R1__getScaleCenter,
|
||||
__void__setScaleCenter__C5_osg_Vec2_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Translation,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
__void__setTranslation__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInPlaneCommand)
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_Constructor0(____TranslateInPlaneCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, plane,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TranslateInPlaneCommand__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__execute,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, unexecute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__unexecute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, applyConstraint, IN, const osgManipulator::Constraint *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlane, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane &, getPlane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec3 &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec3_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TranslateInPlaneCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, plane,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TranslateInPlaneCommand__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__execute,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, unexecute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__unexecute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, applyConstraint, IN, const osgManipulator::Constraint *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlane, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane &, getPlane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec3 &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec3_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Matrix, MotionMatrix,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Plane &, Plane,
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
__void__setPlane__C5_osg_Plane_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, ReferencePoint,
|
||||
__C5_osg_Vec3_R1__getReferencePoint,
|
||||
__void__setReferencePoint__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Translation,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
__void__setTranslation__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInPlaneCommand)
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_BaseType(osgManipulator::MotionCommand);
|
||||
I_Constructor0(____TranslateInPlaneCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, plane,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TranslateInPlaneCommand__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__execute,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, unexecute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__unexecute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, applyConstraint, IN, const osgManipulator::Constraint *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlane, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane &, getPlane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec3 &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec3_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TranslateInPlaneCommand,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, plane,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TranslateInPlaneCommand__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, execute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__execute,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, unexecute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__unexecute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, applyConstraint, IN, const osgManipulator::Constraint *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__applyConstraint__C5_Constraint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlane, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane &, getPlane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferencePoint, IN, const osg::Vec3 &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferencePoint__C5_osg_Vec3_R1,
|
||||
"ReferencePoint is used only for snapping. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getReferencePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getReferencePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMotionMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Matrix, MotionMatrix,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Plane &, Plane,
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
__void__setPlane__C5_osg_Plane_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, ReferencePoint,
|
||||
__C5_osg_Vec3_R1__getReferencePoint,
|
||||
__void__setReferencePoint__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Translation,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
__void__setTranslation__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgManipulator/.svn/text-base/Selection.svn-base>
|
||||
#include <osgManipulator/Command>
|
||||
#include <osgManipulator/CommandManager>
|
||||
#include <osgManipulator/Constraint>
|
||||
#include <osgManipulator/Dragger>
|
||||
#include <osgManipulator/Selection>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -8,13 +8,10 @@ CXXFILES =\
|
||||
Constraint.cpp\
|
||||
Dragger.cpp\
|
||||
Projector.cpp\
|
||||
RotateSphereDragger.cpp\
|
||||
ScaleAxisDragger.cpp\
|
||||
Selection.cpp\
|
||||
TabBoxDragger.cpp\
|
||||
TabPlaneDragger.cpp\
|
||||
TrackballDragger.cpp\
|
||||
Translate1DDragger.cpp\
|
||||
Translate2DDragger.cpp\
|
||||
TranslateAxisDragger.cpp\
|
||||
TranslatePlaneDragger.cpp\
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Plane.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Plane>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Shape>
|
||||
#include <osgManipulator/Dragger>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Vec4>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgManipulator/Dragger>
|
||||
@@ -26,6 +26,117 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateSphereDragger)
|
||||
I_BaseType(osgManipulator::Dragger);
|
||||
I_BaseType(osgManipulator::Dragger);
|
||||
I_Constructor0(____RotateSphereDragger,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
"");
|
||||
I_Method0(void, setupDefaultGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupDefaultGeometry,
|
||||
"Setup default geometry for dragger. ",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_osg_Vec4_R1,
|
||||
"Set/Get color for dragger. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPickColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPickColor__C5_osg_Vec4_R1,
|
||||
"Set/Get pick color for dragger. ",
|
||||
"Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked.");
|
||||
I_Method0(const osg::Vec4, getPickColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getPickColor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____RotateSphereDragger,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
"");
|
||||
I_Method0(void, setupDefaultGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupDefaultGeometry,
|
||||
"Setup default geometry for dragger. ",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_osg_Vec4_R1,
|
||||
"Set/Get color for dragger. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPickColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPickColor__C5_osg_Vec4_R1,
|
||||
"Set/Get pick color for dragger. ",
|
||||
"Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked.");
|
||||
I_Method0(const osg::Vec4, getPickColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getPickColor,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
0,
|
||||
__void__setColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(const osg::Vec4 &, PickColor,
|
||||
0,
|
||||
__void__setPickColor__C5_osg_Vec4_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateSphereDragger)
|
||||
I_BaseType(osgManipulator::Dragger);
|
||||
I_BaseType(osgManipulator::Dragger);
|
||||
I_Constructor0(____RotateSphereDragger,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::Dragger::PointerInfo &, x, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"Handle pick events on dragger and generate TranslateInLine commands. ",
|
||||
"");
|
||||
I_Method0(void, setupDefaultGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupDefaultGeometry,
|
||||
"Setup default geometry for dragger. ",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_osg_Vec4_R1,
|
||||
"Set/Get color for dragger. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPickColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPickColor__C5_osg_Vec4_R1,
|
||||
"Set/Get pick color for dragger. ",
|
||||
"Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked.");
|
||||
I_Method0(const osg::Vec4, getPickColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getPickColor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____RotateSphereDragger,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgManipulator/.svn/text-base/Translate2DDragger.svn-base>
|
||||
#include <osgManipulator/Dragger>
|
||||
#include <osgManipulator/Translate1DDragger>
|
||||
#include <osgManipulator/Translate2DDragger>
|
||||
#include <osgManipulator/TranslatePlaneDragger>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____CenteredPlacer,
|
||||
@@ -105,7 +105,7 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
__void__setCenter__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____CenteredPlacer,
|
||||
|
||||
@@ -23,15 +23,16 @@ CXXFILES =\
|
||||
MultiSegmentPlacer.cpp\
|
||||
Operator.cpp\
|
||||
Particle.cpp\
|
||||
ParticleProcessor.cpp\
|
||||
ParticleEffect.cpp\
|
||||
ParticleSystem.cpp\
|
||||
ParticleSystemUpdater.cpp\
|
||||
PointPlacer.cpp\
|
||||
Placer.cpp\
|
||||
PrecipitationEffect.cpp\
|
||||
Program.cpp\
|
||||
RadialShooter.cpp\
|
||||
RandomRateCounter.cpp\
|
||||
SectorPlacer.cpp\
|
||||
SegmentPlacer.cpp\
|
||||
Shooter.cpp\
|
||||
SmokeEffect.cpp\
|
||||
|
||||
LIBS += -losgParticle -losg -losgIntrospection -losgUtil -losgDB $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgParticle/.svn/text-base/Placer.svn-base>
|
||||
#include <osgParticle/.svn/text-base/Shooter.svn-base>
|
||||
#include <osgParticle/Counter>
|
||||
#include <osgParticle/ModularEmitter>
|
||||
#include <osgParticle/Placer>
|
||||
#include <osgParticle/Shooter>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/ParticleEffect>
|
||||
@@ -29,6 +29,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
@@ -42,22 +43,651 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAutomaticSetup__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutomaticSetup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutomaticSetup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseLocalParticleSystem, IN, bool, local,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseLocalParticleSystem__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseLocalParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getTextureFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, startTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEmitterDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEmitterDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getEmitterDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getEmitterDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getParticleDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getParticleDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildEffect,
|
||||
Properties::VIRTUAL,
|
||||
__void__buildEffect,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ParticleEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleEffect__C5_ParticleEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAutomaticSetup__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutomaticSetup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutomaticSetup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseLocalParticleSystem, IN, bool, local,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseLocalParticleSystem__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseLocalParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getTextureFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, startTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEmitterDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEmitterDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getEmitterDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getEmitterDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getParticleDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getParticleDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildEffect,
|
||||
Properties::VIRTUAL,
|
||||
__void__buildEffect,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, AutomaticSetup,
|
||||
__bool__getAutomaticSetup,
|
||||
__void__setAutomaticSetup__bool);
|
||||
I_SimpleProperty(const osgParticle::Particle &, DefaultParticleTemplate,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1);
|
||||
I_SimpleProperty(osgParticle::Emitter *, Emitter,
|
||||
__Emitter_P1__getEmitter,
|
||||
0);
|
||||
I_SimpleProperty(double, EmitterDuration,
|
||||
__double__getEmitterDuration,
|
||||
__void__setEmitterDuration__double);
|
||||
I_SimpleProperty(float, Intensity,
|
||||
__float__getIntensity,
|
||||
__void__setIntensity__float);
|
||||
I_SimpleProperty(double, ParticleDuration,
|
||||
__double__getParticleDuration,
|
||||
__void__setParticleDuration__double);
|
||||
I_SimpleProperty(osgParticle::ParticleSystem *, ParticleSystem,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
__void__setParticleSystem__ParticleSystem_P1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgParticle::Program *, Program,
|
||||
__Program_P1__getProgram,
|
||||
0);
|
||||
I_SimpleProperty(float, Scale,
|
||||
__float__getScale,
|
||||
__void__setScale__float);
|
||||
I_SimpleProperty(double, StartTime,
|
||||
__double__getStartTime,
|
||||
__void__setStartTime__double);
|
||||
I_SimpleProperty(const std::string &, TextureFileName,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
__void__setTextureFileName__C5_std_string_R1);
|
||||
I_SimpleProperty(bool, UseLocalParticleSystem,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
__void__setUseLocalParticleSystem__bool);
|
||||
I_SimpleProperty(const osg::Vec3 &, Wind,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
__void__setWind__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ParticleEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleEffect__C5_ParticleEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAutomaticSetup__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutomaticSetup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutomaticSetup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseLocalParticleSystem, IN, bool, local,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseLocalParticleSystem__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseLocalParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getTextureFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, startTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEmitterDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEmitterDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getEmitterDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getEmitterDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getParticleDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getParticleDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildEffect,
|
||||
Properties::VIRTUAL,
|
||||
__void__buildEffect,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ParticleEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleEffect__C5_ParticleEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osgDB/.svn/text-base/ReentrantMutex.svn-base>
|
||||
#include <osgDB/ReentrantMutex>
|
||||
#include <osgParticle/.svn/text-base/ParticleSystem.svn-base>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/ParticleSystem>
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Placer>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
@@ -36,13 +37,117 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"Return the control position of particles that placer will generate. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Placer__C5_Placer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"Return the control position of particles that placer will generate. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Placer__C5_Placer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"Return the control position of particles that placer will generate. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Placer__C5_Placer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -20,22 +20,32 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime)
|
||||
I_Constructor0(____DepthMatrixStartTime,
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell)
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(float, depth);
|
||||
I_PublicMemberProperty(float, startTime);
|
||||
I_PublicMemberProperty(osg::Matrix, modelview);
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(int, i);
|
||||
I_PublicMemberProperty(int, j);
|
||||
I_PublicMemberProperty(int, k);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime)
|
||||
I_Constructor0(____DepthMatrixStartTime,
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell)
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(float, depth);
|
||||
I_PublicMemberProperty(float, startTime);
|
||||
I_PublicMemberProperty(osg::Matrix, modelview);
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(int, i);
|
||||
I_PublicMemberProperty(int, j);
|
||||
I_PublicMemberProperty(int, k);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::LessFunctor)
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/.svn/text-base/range.svn-base>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/SectorPlacer>
|
||||
#include <osgParticle/range>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
@@ -67,13 +68,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -82,20 +83,250 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::VIRTUAL,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SectorPlacer__C5_SectorPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getRadiusRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setRadiusRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
I_SimpleProperty(const osgParticle::rangef &, PhiRange,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
__void__setPhiRange__C5_rangef_R1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, RadiusRange,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
__void__setRadiusRange__C5_rangef_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SectorPlacer__C5_SectorPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getRadiusRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setRadiusRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SectorPlacer__C5_SectorPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getRadiusRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setRadiusRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Shooter>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
@@ -35,13 +36,99 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. ",
|
||||
"Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged.");
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shooter__C5_Shooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. ",
|
||||
"Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged.");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shooter__C5_Shooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. ",
|
||||
"Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged.");
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shooter__C5_Shooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/Program>
|
||||
#include <osgParticle/SmokeEffect>
|
||||
@@ -27,6 +27,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
@@ -44,32 +45,262 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeEffect)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____SmokeEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____SmokeEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SmokeEffect__C5_SmokeEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgParticle::Emitter *, Emitter,
|
||||
__Emitter_P1__getEmitter,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::Program *, Program,
|
||||
__Program_P1__getProgram,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____SmokeEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____SmokeEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SmokeEffect__C5_SmokeEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____SmokeEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____SmokeEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SmokeEffect__C5_SmokeEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -6,7 +6,7 @@ CXXFILES =\
|
||||
KeyboardMouseCallback.cpp\
|
||||
OsgCameraGroup.cpp\
|
||||
OsgSceneHandler.cpp\
|
||||
Viewer.cpp\
|
||||
ViewerEventHandler.cpp\
|
||||
|
||||
LIBS += -losgProducer -losg -losgIntrospection -losgUtil -losgDB -lProducer -losgGA -losgText $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
#include <osg/.svn/text-base/Group.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/ArgumentParser>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osg/StateSet>
|
||||
#include <osgProducer/.svn/text-base/OsgCameraGroup.svn-base>
|
||||
#include <osgProducer/OsgCameraGroup>
|
||||
#include <osgProducer/OsgSceneHandler>
|
||||
|
||||
@@ -11,9 +11,10 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/DisplaySettings.svn-base>
|
||||
#include <osgProducer/.svn/text-base/OsgSceneHandler.svn-base>
|
||||
#include <osgProducer/OsgSceneHandler>
|
||||
#include <osgUtil/.svn/text-base/Statistics.svn-base>
|
||||
#include <osgUtil/SceneView>
|
||||
#include <osgUtil/Statistics>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -637,19 +638,3 @@ BEGIN_OBJECT_REFLECTOR(osgProducer::OsgSceneHandler)
|
||||
__void__setSceneView__osgUtil_SceneView_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgProducer::OsgSceneHandler::Callback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgProducer::OsgSceneHandler::Callback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <osg/State>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgProducer/.svn/text-base/ViewerEventHandler.svn-base>
|
||||
#include <osgProducer/OsgCameraGroup>
|
||||
#include <osgProducer/ViewerEventHandler>
|
||||
|
||||
@@ -33,6 +34,7 @@ BEGIN_ENUM_REFLECTOR(osgProducer::ViewerEventHandler::FrameStatsMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgProducer::ViewerEventHandler)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Constructor1(IN, osgProducer::OsgCameraGroup *, cg,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -42,7 +44,262 @@ BEGIN_OBJECT_REFLECTOR(osgProducer::ViewerEventHandler)
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"deprecated, Handle events, return true if handled, false otherwise. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteNodeFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteNodeFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteNodeFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteNodeFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDisplayHelp, IN, bool, displayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDisplayHelp__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDisplayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDisplayHelp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStatsMode, IN, osgProducer::ViewerEventHandler::FrameStatsMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStatsMode__FrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::ViewerEventHandler::FrameStatsMode, getFrameStatsMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__FrameStatsMode__getFrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageOnNextFrame, IN, bool, writeImageOnNextFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageOnNextFrame__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteImageFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Constructor1(IN, osgProducer::OsgCameraGroup *, cg,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ViewerEventHandler__OsgCameraGroup_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteNodeFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteNodeFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteNodeFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteNodeFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDisplayHelp, IN, bool, displayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDisplayHelp__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDisplayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDisplayHelp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStatsMode, IN, osgProducer::ViewerEventHandler::FrameStatsMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStatsMode__FrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::ViewerEventHandler::FrameStatsMode, getFrameStatsMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__FrameStatsMode__getFrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageOnNextFrame, IN, bool, writeImageOnNextFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageOnNextFrame__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteImageFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, DisplayHelp,
|
||||
__bool__getDisplayHelp,
|
||||
__void__setDisplayHelp__bool);
|
||||
I_SimpleProperty(osgProducer::ViewerEventHandler::FrameStatsMode, FrameStatsMode,
|
||||
__FrameStatsMode__getFrameStatsMode,
|
||||
__void__setFrameStatsMode__FrameStatsMode);
|
||||
I_SimpleProperty(osgProducer::OsgCameraGroup *, OsgCameraGroup,
|
||||
__OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, WriteImageFileName,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
__void__setWriteImageFileName__C5_std_string_R1);
|
||||
I_SimpleProperty(bool, WriteImageOnNextFrame,
|
||||
0,
|
||||
__void__setWriteImageOnNextFrame__bool);
|
||||
I_SimpleProperty(const std::string &, WriteNodeFileName,
|
||||
__C5_std_string_R1__getWriteNodeFileName,
|
||||
__void__setWriteNodeFileName__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgProducer::ViewerEventHandler::FrameStatsMode)
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::NO_STATS);
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::FRAME_RATE);
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::CAMERA_STATS);
|
||||
I_EnumLabel(osgProducer::ViewerEventHandler::SCENE_STATS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgProducer::ViewerEventHandler)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Constructor1(IN, osgProducer::OsgCameraGroup *, cg,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ViewerEventHandler__OsgCameraGroup_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_Method0(osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgProducer::OsgCameraGroup *, getOsgCameraGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_OsgCameraGroup_P1__getOsgCameraGroup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteNodeFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteNodeFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteNodeFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteNodeFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDisplayHelp, IN, bool, displayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDisplayHelp__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDisplayHelp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDisplayHelp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStatsMode, IN, osgProducer::ViewerEventHandler::FrameStatsMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStatsMode__FrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgProducer::ViewerEventHandler::FrameStatsMode, getFrameStatsMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__FrameStatsMode__getFrameStatsMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageOnNextFrame, IN, bool, writeImageOnNextFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageOnNextFrame__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteImageFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteImageFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getWriteImageFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getWriteImageFileName,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Constructor1(IN, osgProducer::OsgCameraGroup *, cg,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ViewerEventHandler__OsgCameraGroup_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgShadow/.svn/text-base/ShadowedScene.svn-base>
|
||||
#include <osgShadow/ShadowTechnique>
|
||||
#include <osgShadow/ShadowedScene>
|
||||
#include <osgUtil/CullVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowTechnique)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____ShadowTechnique,
|
||||
"",
|
||||
@@ -37,13 +38,13 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowTechnique)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -52,13 +53,222 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowTechnique)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgShadow::ShadowedScene *, getShadowedScene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ShadowedScene_P1__getShadowedScene,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::VIRTUAL,
|
||||
__void__init,
|
||||
"initialize the ShadowedScene and local cached data structures. ",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__osg_NodeVisitor_R1,
|
||||
"run the update traversal of the ShadowedScene and update any loca chached data structures. ",
|
||||
"");
|
||||
I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv,
|
||||
Properties::VIRTUAL,
|
||||
__void__cull__osgUtil_CullVisitor_R1,
|
||||
"run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ",
|
||||
"");
|
||||
I_Method0(void, cleanSceneGraph,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanSceneGraph,
|
||||
"Clean scene graph from any shadow technique specific nodes, state and drawables. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, dirty,
|
||||
Properties::VIRTUAL,
|
||||
__void__dirty,
|
||||
"Dirty so that cached data structurese are updated. ",
|
||||
"");
|
||||
I_Constructor0(____ShadowTechnique,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgShadow::ShadowTechnique &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShadowTechnique__C5_ShadowTechnique_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgShadow::ShadowedScene *, getShadowedScene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ShadowedScene_P1__getShadowedScene,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::VIRTUAL,
|
||||
__void__init,
|
||||
"initialize the ShadowedScene and local cached data structures. ",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__osg_NodeVisitor_R1,
|
||||
"run the update traversal of the ShadowedScene and update any loca chached data structures. ",
|
||||
"");
|
||||
I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv,
|
||||
Properties::VIRTUAL,
|
||||
__void__cull__osgUtil_CullVisitor_R1,
|
||||
"run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ",
|
||||
"");
|
||||
I_Method0(void, cleanSceneGraph,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanSceneGraph,
|
||||
"Clean scene graph from any shadow technique specific nodes, state and drawables. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, dirty,
|
||||
Properties::VIRTUAL,
|
||||
__void__dirty,
|
||||
"Dirty so that cached data structurese are updated. ",
|
||||
"");
|
||||
I_SimpleProperty(osgShadow::ShadowedScene *, ShadowedScene,
|
||||
__ShadowedScene_P1__getShadowedScene,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowTechnique)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____ShadowTechnique,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgShadow::ShadowTechnique &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShadowTechnique__C5_ShadowTechnique_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgShadow::ShadowedScene *, getShadowedScene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ShadowedScene_P1__getShadowedScene,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::VIRTUAL,
|
||||
__void__init,
|
||||
"initialize the ShadowedScene and local cached data structures. ",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__osg_NodeVisitor_R1,
|
||||
"run the update traversal of the ShadowedScene and update any loca chached data structures. ",
|
||||
"");
|
||||
I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv,
|
||||
Properties::VIRTUAL,
|
||||
__void__cull__osgUtil_CullVisitor_R1,
|
||||
"run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ",
|
||||
"");
|
||||
I_Method0(void, cleanSceneGraph,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanSceneGraph,
|
||||
"Clean scene graph from any shadow technique specific nodes, state and drawables. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, dirty,
|
||||
Properties::VIRTUAL,
|
||||
__void__dirty,
|
||||
"Dirty so that cached data structurese are updated. ",
|
||||
"");
|
||||
I_Constructor0(____ShadowTechnique,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgShadow::ShadowTechnique &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShadowTechnique__C5_ShadowTechnique_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgShadow::ShadowedScene *, getShadowedScene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ShadowedScene_P1__getShadowedScene,
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osgSim/.svn/text-base/BlinkSequence.svn-base>
|
||||
#include <osgSim/BlinkSequence>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -420,3 +419,163 @@ BEGIN_OBJECT_REFLECTOR(osgSim::BlinkSequence)
|
||||
__void__setSequenceGroup__SequenceGroup_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::SequenceGroup)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double, baseTime,
|
||||
Properties::NON_EXPLICIT,
|
||||
____SequenceGroup__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double, baseTime,
|
||||
Properties::NON_EXPLICIT,
|
||||
____SequenceGroup__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(double, _baseTime);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::SequenceGroup)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double, baseTime,
|
||||
Properties::NON_EXPLICIT,
|
||||
____SequenceGroup__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double, baseTime,
|
||||
Properties::NON_EXPLICIT,
|
||||
____SequenceGroup__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(double, _baseTime);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ CXXFILES =\
|
||||
ScalarBar.cpp\
|
||||
ScalarsToColors.cpp\
|
||||
Sector.cpp\
|
||||
SphereSegment.cpp\
|
||||
VisibilityGroup.cpp\
|
||||
|
||||
LIBS += -losgSim -losg -losgIntrospection -losgUtil -losgText -losgDB $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/.svn/text-base/Texture2D.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/State>
|
||||
#include <osg/Texture2D>
|
||||
#include <osg/StateSet>
|
||||
#include <osgSim/Impostor>
|
||||
#include <osgSim/ImpostorSprite>
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osgSim/.svn/text-base/LightPoint.svn-base>
|
||||
#include <osgSim/.svn/text-base/Sector.svn-base>
|
||||
#include <osgSim/BlinkSequence>
|
||||
#include <osgSim/LightPoint>
|
||||
#include <osgSim/Sector>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Group.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/Geode>
|
||||
#include <osgSim/OpenFlightOptimizer>
|
||||
@@ -138,44 +139,64 @@ BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MakeLitVisitor)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::TessellateVisitor)
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MergeGeodesVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____TessellateVisitor,
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
I_Method1(void, apply, IN, osg::Group &, group,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TessellateVisitor,
|
||||
I_Method1(void, mergeGeodes, IN, osg::Group &, group,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mergeGeodes__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
I_Method1(void, apply, IN, osg::Group &, group,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, mergeGeodes, IN, osg::Group &, group,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mergeGeodes__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::TessellateVisitor)
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MergeGeodesVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____TessellateVisitor,
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
I_Method1(void, apply, IN, osg::Group &, group,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TessellateVisitor,
|
||||
I_Method1(void, mergeGeodes, IN, osg::Group &, group,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mergeGeodes__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
I_Method1(void, apply, IN, osg::Group &, group,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, mergeGeodes, IN, osg::Group &, group,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mergeGeodes__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,7 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgSim/.svn/text-base/ScalarBar.svn-base>
|
||||
#include <osgSim/ScalarBar>
|
||||
#include <osgSim/ScalarsToColors>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -20,6 +26,670 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::ScalarBar::Orientation)
|
||||
I_EnumLabel(osgSim::ScalarBar::HORIZONTAL);
|
||||
I_EnumLabel(osgSim::ScalarBar::VERTICAL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
|
||||
I_BaseType(osg::Geode);
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter,
|
||||
____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1,
|
||||
"Construct a ScalarBar with the supplied parameters. ",
|
||||
" param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter");
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co,
|
||||
____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumColors__int,
|
||||
"Set the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(int, getNumColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumColors,
|
||||
"Get the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumLabels__int,
|
||||
"Set the number of labels to display along the ScalarBar. ",
|
||||
"There will be one label at each end point, and evenly distributed labels in between. ");
|
||||
I_Method0(int, getNumLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumLabels,
|
||||
"Get the number of labels displayed along the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1,
|
||||
"Set the ScalarsToColors mapping object for the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarsToColors_P1__getScalarsToColors,
|
||||
"Get the ScalarsToColors mapping object from the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setTitle, IN, const std::string &, title,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTitle__C5_std_string_R1,
|
||||
"Set the title for the ScalarBar, set \"\" for no title. ",
|
||||
"");
|
||||
I_Method0(std::string, getTitle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getTitle,
|
||||
"Get the title for the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of scalar bar's lower left corner. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__float,
|
||||
"Set the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWidth,
|
||||
"Get the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAspectRatio__float,
|
||||
"Set the aspect ration (y/x) for the displayed bar. ",
|
||||
"Bear in mind you may want to change this if you change the orientation. ");
|
||||
I_Method0(float, getAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getAspectRatio,
|
||||
"Get the aspect ration (y/x) for the displayed bar. ",
|
||||
"");
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrientation__ScalarBar_Orientation,
|
||||
"Set the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
"Get the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1,
|
||||
"Set a ScalarPrinter object for the ScalarBar. ",
|
||||
"For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.ScalarPrinter ");
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarPrinter_P1__getScalarPrinter,
|
||||
"Get the ScalarPrinter object. ",
|
||||
"");
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextProperties__C5_TextProperties_R1,
|
||||
"Set the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
"Get the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"force update the drawables used to render the scalar bar. ",
|
||||
"");
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter,
|
||||
____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1,
|
||||
"Construct a ScalarBar with the supplied parameters. ",
|
||||
" param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter");
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co,
|
||||
____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumColors__int,
|
||||
"Set the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(int, getNumColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumColors,
|
||||
"Get the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumLabels__int,
|
||||
"Set the number of labels to display along the ScalarBar. ",
|
||||
"There will be one label at each end point, and evenly distributed labels in between. ");
|
||||
I_Method0(int, getNumLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumLabels,
|
||||
"Get the number of labels displayed along the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1,
|
||||
"Set the ScalarsToColors mapping object for the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarsToColors_P1__getScalarsToColors,
|
||||
"Get the ScalarsToColors mapping object from the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setTitle, IN, const std::string &, title,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTitle__C5_std_string_R1,
|
||||
"Set the title for the ScalarBar, set \"\" for no title. ",
|
||||
"");
|
||||
I_Method0(std::string, getTitle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getTitle,
|
||||
"Get the title for the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of scalar bar's lower left corner. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__float,
|
||||
"Set the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWidth,
|
||||
"Get the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAspectRatio__float,
|
||||
"Set the aspect ration (y/x) for the displayed bar. ",
|
||||
"Bear in mind you may want to change this if you change the orientation. ");
|
||||
I_Method0(float, getAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getAspectRatio,
|
||||
"Get the aspect ration (y/x) for the displayed bar. ",
|
||||
"");
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrientation__ScalarBar_Orientation,
|
||||
"Set the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
"Get the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1,
|
||||
"Set a ScalarPrinter object for the ScalarBar. ",
|
||||
"For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.ScalarPrinter ");
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarPrinter_P1__getScalarPrinter,
|
||||
"Get the ScalarPrinter object. ",
|
||||
"");
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextProperties__C5_TextProperties_R1,
|
||||
"Set the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
"Get the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"force update the drawables used to render the scalar bar. ",
|
||||
"");
|
||||
I_SimpleProperty(float, AspectRatio,
|
||||
__float__getAspectRatio,
|
||||
__void__setAspectRatio__float);
|
||||
I_SimpleProperty(int, NumColors,
|
||||
0,
|
||||
__void__setNumColors__int);
|
||||
I_SimpleProperty(int, NumLabels,
|
||||
0,
|
||||
__void__setNumLabels__int);
|
||||
I_SimpleProperty(osgSim::ScalarBar::Orientation, Orientation,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
__void__setOrientation__ScalarBar_Orientation);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgSim::ScalarBar::ScalarPrinter *, ScalarPrinter,
|
||||
0,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1);
|
||||
I_SimpleProperty(osgSim::ScalarsToColors *, ScalarsToColors,
|
||||
0,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1);
|
||||
I_SimpleProperty(const osgSim::ScalarBar::TextProperties &, TextProperties,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
__void__setTextProperties__C5_TextProperties_R1);
|
||||
I_SimpleProperty(std::string, Title,
|
||||
__std_string__getTitle,
|
||||
__void__setTitle__C5_std_string_R1);
|
||||
I_SimpleProperty(float, Width,
|
||||
__float__getWidth,
|
||||
__void__setWidth__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::ScalarBar::Orientation)
|
||||
I_EnumLabel(osgSim::ScalarBar::HORIZONTAL);
|
||||
I_EnumLabel(osgSim::ScalarBar::VERTICAL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
|
||||
I_BaseType(osg::Geode);
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter,
|
||||
____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1,
|
||||
"Construct a ScalarBar with the supplied parameters. ",
|
||||
" param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter");
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co,
|
||||
____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumColors__int,
|
||||
"Set the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(int, getNumColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumColors,
|
||||
"Get the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumLabels__int,
|
||||
"Set the number of labels to display along the ScalarBar. ",
|
||||
"There will be one label at each end point, and evenly distributed labels in between. ");
|
||||
I_Method0(int, getNumLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumLabels,
|
||||
"Get the number of labels displayed along the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1,
|
||||
"Set the ScalarsToColors mapping object for the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarsToColors_P1__getScalarsToColors,
|
||||
"Get the ScalarsToColors mapping object from the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setTitle, IN, const std::string &, title,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTitle__C5_std_string_R1,
|
||||
"Set the title for the ScalarBar, set \"\" for no title. ",
|
||||
"");
|
||||
I_Method0(std::string, getTitle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getTitle,
|
||||
"Get the title for the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of scalar bar's lower left corner. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__float,
|
||||
"Set the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWidth,
|
||||
"Get the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAspectRatio__float,
|
||||
"Set the aspect ration (y/x) for the displayed bar. ",
|
||||
"Bear in mind you may want to change this if you change the orientation. ");
|
||||
I_Method0(float, getAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getAspectRatio,
|
||||
"Get the aspect ration (y/x) for the displayed bar. ",
|
||||
"");
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrientation__ScalarBar_Orientation,
|
||||
"Set the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
"Get the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1,
|
||||
"Set a ScalarPrinter object for the ScalarBar. ",
|
||||
"For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.ScalarPrinter ");
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarPrinter_P1__getScalarPrinter,
|
||||
"Get the ScalarPrinter object. ",
|
||||
"");
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextProperties__C5_TextProperties_R1,
|
||||
"Set the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
"Get the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"force update the drawables used to render the scalar bar. ",
|
||||
"");
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter,
|
||||
____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1,
|
||||
"Construct a ScalarBar with the supplied parameters. ",
|
||||
" param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter");
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co,
|
||||
____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumColors__int,
|
||||
"Set the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(int, getNumColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumColors,
|
||||
"Get the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumLabels__int,
|
||||
"Set the number of labels to display along the ScalarBar. ",
|
||||
"There will be one label at each end point, and evenly distributed labels in between. ");
|
||||
I_Method0(int, getNumLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumLabels,
|
||||
"Get the number of labels displayed along the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1,
|
||||
"Set the ScalarsToColors mapping object for the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarsToColors_P1__getScalarsToColors,
|
||||
"Get the ScalarsToColors mapping object from the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setTitle, IN, const std::string &, title,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTitle__C5_std_string_R1,
|
||||
"Set the title for the ScalarBar, set \"\" for no title. ",
|
||||
"");
|
||||
I_Method0(std::string, getTitle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getTitle,
|
||||
"Get the title for the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of scalar bar's lower left corner. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__float,
|
||||
"Set the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWidth,
|
||||
"Get the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAspectRatio__float,
|
||||
"Set the aspect ration (y/x) for the displayed bar. ",
|
||||
"Bear in mind you may want to change this if you change the orientation. ");
|
||||
I_Method0(float, getAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getAspectRatio,
|
||||
"Get the aspect ration (y/x) for the displayed bar. ",
|
||||
"");
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrientation__ScalarBar_Orientation,
|
||||
"Set the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
"Get the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1,
|
||||
"Set a ScalarPrinter object for the ScalarBar. ",
|
||||
"For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.ScalarPrinter ");
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarPrinter_P1__getScalarPrinter,
|
||||
"Get the ScalarPrinter object. ",
|
||||
"");
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextProperties__C5_TextProperties_R1,
|
||||
"Set the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
"Get the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"force update the drawables used to render the scalar bar. ",
|
||||
"");
|
||||
I_SimpleProperty(float, AspectRatio,
|
||||
__float__getAspectRatio,
|
||||
__void__setAspectRatio__float);
|
||||
I_SimpleProperty(int, NumColors,
|
||||
0,
|
||||
__void__setNumColors__int);
|
||||
I_SimpleProperty(int, NumLabels,
|
||||
0,
|
||||
__void__setNumLabels__int);
|
||||
I_SimpleProperty(osgSim::ScalarBar::Orientation, Orientation,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
__void__setOrientation__ScalarBar_Orientation);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgSim::ScalarBar::ScalarPrinter *, ScalarPrinter,
|
||||
0,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1);
|
||||
I_SimpleProperty(osgSim::ScalarsToColors *, ScalarsToColors,
|
||||
0,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1);
|
||||
I_SimpleProperty(const osgSim::ScalarBar::TextProperties &, TextProperties,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
__void__setTextProperties__C5_TextProperties_R1);
|
||||
I_SimpleProperty(std::string, Title,
|
||||
__std_string__getTitle,
|
||||
__void__setTitle__C5_std_string_R1);
|
||||
I_SimpleProperty(float, Width,
|
||||
__float__getWidth,
|
||||
__void__setWidth__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar::ScalarPrinter)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
|
||||
@@ -1391,101 +1391,3 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ElevationSector)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgSim::Sector)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Sector,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::Sector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sector__C5_Sector_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Sector,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::Sector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sector__C5_Sector_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgSim::Sector)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Sector,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::Sector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sector__C5_Sector_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Sector,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::Sector &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sector__C5_Sector_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgSim/VisibilityGroup>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -25,6 +25,7 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::VisibilityGroup)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
@@ -36,37 +37,282 @@ BEGIN_OBJECT_REFLECTOR(osgSim::VisibilityGroup)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityVolume__osg_Node_P1,
|
||||
"Set the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
"Get the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getVisibilityVolume,
|
||||
"Get the const subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method1(void, setVolumeIntersectionMask, IN, osg::Node::NodeMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask,
|
||||
"Set the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getVolumeIntersectionMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
"Get the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method1(void, setSegmentLength, IN, float, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegmentLength__float,
|
||||
"Set the length of the intersection segment. ",
|
||||
"The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used. ");
|
||||
I_Method0(float, getSegmentLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSegmentLength,
|
||||
"Get the length of the intersection segment. ",
|
||||
"");
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::VisibilityGroup &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VisibilityGroup__C5_VisibilityGroup_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityVolume__osg_Node_P1,
|
||||
"Set the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
"Get the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getVisibilityVolume,
|
||||
"Get the const subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method1(void, setVolumeIntersectionMask, IN, osg::Node::NodeMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask,
|
||||
"Set the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getVolumeIntersectionMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
"Get the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method1(void, setSegmentLength, IN, float, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegmentLength__float,
|
||||
"Set the length of the intersection segment. ",
|
||||
"The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used. ");
|
||||
I_Method0(float, getSegmentLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSegmentLength,
|
||||
"Get the length of the intersection segment. ",
|
||||
"");
|
||||
I_SimpleProperty(float, SegmentLength,
|
||||
__float__getSegmentLength,
|
||||
__void__setSegmentLength__float);
|
||||
I_SimpleProperty(osg::Node *, VisibilityVolume,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
__void__setVisibilityVolume__osg_Node_P1);
|
||||
I_SimpleProperty(osg::Node::NodeMask, VolumeIntersectionMask,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::VisibilityGroup)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::VisibilityGroup &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VisibilityGroup__C5_VisibilityGroup_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityVolume__osg_Node_P1,
|
||||
"Set the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
"Get the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getVisibilityVolume,
|
||||
"Get the const subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method1(void, setVolumeIntersectionMask, IN, osg::Node::NodeMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask,
|
||||
"Set the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getVolumeIntersectionMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
"Get the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method1(void, setSegmentLength, IN, float, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegmentLength__float,
|
||||
"Set the length of the intersection segment. ",
|
||||
"The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used. ");
|
||||
I_Method0(float, getSegmentLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSegmentLength,
|
||||
"Get the length of the intersection segment. ",
|
||||
"");
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::VisibilityGroup &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VisibilityGroup__C5_VisibilityGroup_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
#include <osg/.svn/text-base/Image.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
#include <osgDB/.svn/text-base/Archive.svn-base>
|
||||
#include <osgTerrain/.svn/text-base/DataSet.svn-base>
|
||||
#include <osgTerrain/DataSet>
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osgTerrain/HeightFieldNode>
|
||||
#include <osgTerrain/HeightFieldRenderer>
|
||||
#include <osgUtil/.svn/text-base/UpdateVisitor.svn-base>
|
||||
#include <osgUtil/CullVisitor>
|
||||
#include <osgUtil/UpdateVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -13,11 +13,10 @@
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/.svn/text-base/TexEnv.svn-base>
|
||||
#include <osg/.svn/text-base/Texture.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2.svn-base>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/TexEnv>
|
||||
#include <osgText/.svn/text-base/Font.svn-base>
|
||||
#include <osgText/Font>
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ CXXFILES =\
|
||||
FadeText.cpp\
|
||||
Font.cpp\
|
||||
String.cpp\
|
||||
Text.cpp\
|
||||
|
||||
LIBS += -losgText -losg -losgIntrospection -losgDB $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -229,79 +229,3 @@ BEGIN_OBJECT_REFLECTOR(osgText::String)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgText::VectorUInt)
|
||||
I_BaseType(std::vector<unsigned int>);
|
||||
I_Constructor0(____VectorUInt,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgText::VectorUInt &, copy,
|
||||
Properties::NON_EXPLICIT,
|
||||
____VectorUInt__C5_VectorUInt_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, unsigned int *, beg, IN, unsigned int *, end,
|
||||
____VectorUInt__unsigned_int_P1__unsigned_int_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
Properties::EXPLICIT,
|
||||
____VectorUInt__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____VectorUInt,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgText::VectorUInt &, copy,
|
||||
Properties::NON_EXPLICIT,
|
||||
____VectorUInt__C5_VectorUInt_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, unsigned int *, beg, IN, unsigned int *, end,
|
||||
____VectorUInt__unsigned_int_P1__unsigned_int_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
Properties::EXPLICIT,
|
||||
____VectorUInt__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgText::VectorUInt)
|
||||
I_BaseType(std::vector<unsigned int>);
|
||||
I_Constructor0(____VectorUInt,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgText::VectorUInt &, copy,
|
||||
Properties::NON_EXPLICIT,
|
||||
____VectorUInt__C5_VectorUInt_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, unsigned int *, beg, IN, unsigned int *, end,
|
||||
____VectorUInt__unsigned_int_P1__unsigned_int_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
Properties::EXPLICIT,
|
||||
____VectorUInt__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____VectorUInt,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgText::VectorUInt &, copy,
|
||||
Properties::NON_EXPLICIT,
|
||||
____VectorUInt__C5_VectorUInt_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, unsigned int *, beg, IN, unsigned int *, end,
|
||||
____VectorUInt__unsigned_int_P1__unsigned_int_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
Properties::EXPLICIT,
|
||||
____VectorUInt__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,18 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Object>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/Quat>
|
||||
#include <osg/RenderInfo>
|
||||
#include <osg/State>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgText/Font>
|
||||
#include <osgText/String>
|
||||
#include <osgText/.svn/text-base/Text.svn-base>
|
||||
#include <osgText/Text>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -32,571 +21,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< osg::ref_ptr< osgText::Font::GlyphTexture > COMMA osgText::Text::GlyphQuads >, osgText::Text::TextureGlyphQuadMap);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::CharacterSizeMode)
|
||||
I_EnumLabel(osgText::Text::OBJECT_COORDS);
|
||||
I_EnumLabel(osgText::Text::SCREEN_COORDS);
|
||||
I_EnumLabel(osgText::Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::AlignmentType)
|
||||
I_EnumLabel(osgText::Text::LEFT_TOP);
|
||||
I_EnumLabel(osgText::Text::LEFT_CENTER);
|
||||
I_EnumLabel(osgText::Text::LEFT_BOTTOM);
|
||||
I_EnumLabel(osgText::Text::CENTER_TOP);
|
||||
I_EnumLabel(osgText::Text::CENTER_CENTER);
|
||||
I_EnumLabel(osgText::Text::CENTER_BOTTOM);
|
||||
I_EnumLabel(osgText::Text::RIGHT_TOP);
|
||||
I_EnumLabel(osgText::Text::RIGHT_CENTER);
|
||||
I_EnumLabel(osgText::Text::RIGHT_BOTTOM);
|
||||
I_EnumLabel(osgText::Text::LEFT_BASE_LINE);
|
||||
I_EnumLabel(osgText::Text::CENTER_BASE_LINE);
|
||||
I_EnumLabel(osgText::Text::RIGHT_BASE_LINE);
|
||||
I_EnumLabel(osgText::Text::LEFT_BOTTOM_BASE_LINE);
|
||||
I_EnumLabel(osgText::Text::CENTER_BOTTOM_BASE_LINE);
|
||||
I_EnumLabel(osgText::Text::RIGHT_BOTTOM_BASE_LINE);
|
||||
I_EnumLabel(osgText::Text::BASE_LINE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::AxisAlignment)
|
||||
I_EnumLabel(osgText::Text::XY_PLANE);
|
||||
I_EnumLabel(osgText::Text::REVERSED_XY_PLANE);
|
||||
I_EnumLabel(osgText::Text::XZ_PLANE);
|
||||
I_EnumLabel(osgText::Text::REVERSED_XZ_PLANE);
|
||||
I_EnumLabel(osgText::Text::YZ_PLANE);
|
||||
I_EnumLabel(osgText::Text::REVERSED_YZ_PLANE);
|
||||
I_EnumLabel(osgText::Text::SCREEN);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::Layout)
|
||||
I_EnumLabel(osgText::Text::LEFT_TO_RIGHT);
|
||||
I_EnumLabel(osgText::Text::RIGHT_TO_LEFT);
|
||||
I_EnumLabel(osgText::Text::VERTICAL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::DrawModeMask)
|
||||
I_EnumLabel(osgText::Text::TEXT);
|
||||
I_EnumLabel(osgText::Text::BOUNDINGBOX);
|
||||
I_EnumLabel(osgText::Text::ALIGNMENT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::BackdropType)
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_RIGHT);
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_CENTER_RIGHT);
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_RIGHT);
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_CENTER);
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_CENTER);
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_LEFT);
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_CENTER_LEFT);
|
||||
I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_LEFT);
|
||||
I_EnumLabel(osgText::Text::OUTLINE);
|
||||
I_EnumLabel(osgText::Text::NONE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::BackdropImplementation)
|
||||
I_EnumLabel(osgText::Text::POLYGON_OFFSET);
|
||||
I_EnumLabel(osgText::Text::NO_DEPTH_BUFFER);
|
||||
I_EnumLabel(osgText::Text::DEPTH_RANGE);
|
||||
I_EnumLabel(osgText::Text::STENCIL_BUFFER);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgText::Text::ColorGradientMode)
|
||||
I_EnumLabel(osgText::Text::SOLID);
|
||||
I_EnumLabel(osgText::Text::PER_CHARACTER);
|
||||
I_EnumLabel(osgText::Text::OVERALL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgText::Text)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____Text,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgText::Text &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Text__C5_Text_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_MethodWithDefaults1(void, setFont, IN, osgText::Font *, font, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFont__Font_P1,
|
||||
"Set the Font to use to render the text. ",
|
||||
"setFont(0) sets the use of the default font. ");
|
||||
I_Method1(void, setFont, IN, const std::string &, fontfile,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFont__C5_std_string_R1,
|
||||
"Set the font, loaded from the specified front file, to use to render the text, setFont(\"\") sets the use of the default font. ",
|
||||
"See the osgText::readFontFile function for how the font file will be located. ");
|
||||
I_Method0(const osgText::Font *, getFont,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Font_P1__getFont,
|
||||
"Get the font. ",
|
||||
"Return 0 if default is being used. ");
|
||||
I_Method2(void, setFontResolution, IN, unsigned int, width, IN, unsigned int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFontResolution__unsigned_int__unsigned_int,
|
||||
"Set the Font reference width and height resolution in texels. ",
|
||||
"Note, the size may not be supported by current font, the closest supported font size will be selected. ");
|
||||
I_Method0(unsigned int, getFontWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getFontWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getFontHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getFontHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setText, IN, const osgText::String &, text,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setText__C5_String_R1,
|
||||
"Set the text using a osgText::String. ",
|
||||
"");
|
||||
I_Method1(void, setText, IN, const std::string &, text,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setText__C5_std_string_R1,
|
||||
"Set the text using a std::string, which is converted to an internal TextString. ",
|
||||
"");
|
||||
I_Method2(void, setText, IN, const std::string &, text, IN, osgText::String::Encoding, encoding,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setText__C5_std_string_R1__String_Encoding,
|
||||
"Set the text using a Unicode encoded std::string, which is converted to an internal TextString. ",
|
||||
"The encoding parameter specificies which Unicode encodeding is used in the std::string. ");
|
||||
I_Method1(void, setText, IN, const wchar_t *, text,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setText__C5_wchar_t_P1,
|
||||
"Set the text using a wchar_t string, which is converted to an internal TextString. ",
|
||||
"");
|
||||
I_Method0(osgText::String &, getText,
|
||||
Properties::NON_VIRTUAL,
|
||||
__String_R1__getText,
|
||||
"Get the text string. ",
|
||||
"Note, if you modify the string you must call Text::update() for the internal glyph reprentation to be updated. ");
|
||||
I_Method0(const osgText::String &, getText,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_String_R1__getText,
|
||||
"Get the const text string. ",
|
||||
"");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"update internal glyph respresnetation used for rendering, and bounding volume. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setCharacterSize, IN, float, height, , IN, float, aspectRatio, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCharacterSize__float__float,
|
||||
"Set the rendered character size in object coordinates. ",
|
||||
"");
|
||||
I_Method0(float, getCharacterHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCharacterHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getCharacterAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCharacterAspectRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCharacterSizeMode, IN, osgText::Text::CharacterSizeMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCharacterSizeMode__CharacterSizeMode,
|
||||
"Set how the CharacterSize value relates to the final rendered character. ",
|
||||
"");
|
||||
I_Method0(osgText::Text::CharacterSizeMode, getCharacterSizeMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CharacterSizeMode__getCharacterSizeMode,
|
||||
"Get the CharacterSizeMode. ",
|
||||
"");
|
||||
I_Method1(void, setMaximumWidth, IN, float, maximumWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumWidth__float,
|
||||
"Set the maximum width of the text box. ",
|
||||
"With horizontal layouts any characters which do not fit are wrapped around. 0 or negative values indicate that no maximum width is set, lines can be as long as they need be to fit thre required text ");
|
||||
I_Method0(float, getMaximumWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaximumWidth,
|
||||
"Get the maximim width of the text box. ",
|
||||
"");
|
||||
I_Method1(void, setMaximumHeight, IN, float, maximumHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumHeight__float,
|
||||
"Set the maximum height of the text box. ",
|
||||
"With horizontal layouts any characters which do not fit are wrapped around. 0 or negative values indicate that no maximum height is set, lines can be as long as they need be to fit the required text ");
|
||||
I_Method0(float, getMaximumHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaximumHeight,
|
||||
"Get the maximum height of the text box. ",
|
||||
"");
|
||||
I_Method1(void, setLineSpacing, IN, float, lineSpacing,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLineSpacing__float,
|
||||
"Set the line spacing of the text box, given as a percentage of the character height. ",
|
||||
"The default value is 0 for backward compatibility. For longer paragraphs of text, a value of at least 25% (i.e. set line spacing to 0.25) is recommended. ");
|
||||
I_Method0(float, getLineSpacing,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getLineSpacing,
|
||||
"Get the line spacing of the text box. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of text. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of text. ",
|
||||
"");
|
||||
I_Method1(void, setAlignment, IN, osgText::Text::AlignmentType, alignment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignment__AlignmentType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::AlignmentType, getAlignment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__AlignmentType__getAlignment,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAxisAlignment, IN, osgText::Text::AxisAlignment, axis,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAxisAlignment__AxisAlignment,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotation, IN, const osg::Quat &, quat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotation__C5_osg_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getRotation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Quat_R1__getRotation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutoRotateToScreen, IN, bool, autoRotateToScreen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAutoRotateToScreen__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutoRotateToScreen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutoRotateToScreen,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLayout, IN, osgText::Text::Layout, layout,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLayout__Layout,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::Layout, getLayout,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Layout__getLayout,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDrawMode, IN, unsigned int, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDrawMode__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getDrawMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getDrawMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBackdropType, IN, osgText::Text::BackdropType, type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackdropType__BackdropType,
|
||||
"BackdropType gives you a background shadow text behind your regular text. ",
|
||||
"This helps give text extra contrast which can be useful when placing text against noisy backgrounds. The color of the background shadow text is specified by setBackdropColor(). DROP_SHADOW_BOTTOM_RIGHT will draw backdrop text to the right and down of the normal text. Other DROW_SHADOW_* modes do the same for their repective directions. OUTLINE will draw backdrop text so that it appears the text has an outline or border around the normal text. This mode is particularly useful against really noisy backgrounds that may put text on top of things that have all types of colors which you don't have control over. Some real world examples of this general technique in use that I know of are Google Earth, Sid Meier's Pirates (2004 Remake), and Star Control 2 (PC 1993). The default is NONE.");
|
||||
I_Method0(osgText::Text::BackdropType, getBackdropType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BackdropType__getBackdropType,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setBackdropOffset, IN, float, offset, 0.07f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackdropOffset__float,
|
||||
"Sets the amount text is offset to create the backdrop/shadow effect. ",
|
||||
"Set the value too high and for example, in OUTLINE mode you will get a \"Brady Bunch\" effect where you see duplicates of the text in a 3x3 grid. Set the value too small and you won't see anything. The values represent percentages. 1.0 means 100% so a value of 1.0 in DROW_SHADOW_LEFT_CENTER mode would cause each glyph to be echoed next to it self. So the letter 'e' might look like 'ee'. Good values tend to be in the 0.03 to 0.10 range (but will be subject to your specific font and display characteristics). Note that the text bounding boxes are updated to include backdrop offsets. However, other metric information such as getCharacterHeight() are unaffected by this. This means that individual glyph spacing (kerning?) are unchanged even when this mode is used. The default is 0.07 (7% offset).");
|
||||
I_Method2(void, setBackdropOffset, IN, float, horizontal, IN, float, vertical,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackdropOffset__float__float,
|
||||
"This overloaded version lets you specify the offset for the horizontal and vertical components separately. ",
|
||||
"");
|
||||
I_Method0(float, getBackdropHorizontalOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getBackdropHorizontalOffset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getBackdropVerticalOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getBackdropVerticalOffset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBackdropColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackdropColor__C5_osg_Vec4_R1,
|
||||
"This specifies the color of the backdrop text. ",
|
||||
"The default is black.");
|
||||
I_Method0(const osg::Vec4 &, getBackdropColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getBackdropColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBackdropImplementation, IN, osgText::Text::BackdropImplementation, implementation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackdropImplementation__BackdropImplementation,
|
||||
"This specifies the underlying backdrop rendering implementation. ",
|
||||
"Unfortunately, at this time, there is no \"perfect\" rendering solution so this function is provided to let you 'pick your poison'. Each implementation has trade-offs. See BackdropImplementation enum docs for details. ");
|
||||
I_Method0(osgText::Text::BackdropImplementation, getBackdropImplementation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BackdropImplementation__getBackdropImplementation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColorGradientMode, IN, osgText::Text::ColorGradientMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorGradientMode__ColorGradientMode,
|
||||
"This sets different types of text coloring modes. ",
|
||||
"When the coloring mode is not set to SOLID, the colors specified in setColorGradientCorners() determine the colors for the text. When the gradient mode is OVERALL, the coloring scheme attempts to approximate the effect as if the entire text box/region were a single polygon and you had applied colors to each of the four corners with GL_SMOOTH enabled. In this mode, OpenGL interpolates the colors across the polygon, and this is what OVERALL tries to emulate. This can be used to give nice embellishments on things like logos and names. PER_CHARACTER is similar to OVERALL except that it applies the color interpolation to the four corners of each character instead of across the overall text box. The default is SOLID (a.k.a. off).");
|
||||
I_Method0(osgText::Text::ColorGradientMode, getColorGradientMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ColorGradientMode__getColorGradientMode,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setColorGradientCorners, IN, const osg::Vec4 &, topLeft, IN, const osg::Vec4 &, bottomLeft, IN, const osg::Vec4 &, bottomRight, IN, const osg::Vec4 &, topRight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorGradientCorners__C5_osg_Vec4_R1__C5_osg_Vec4_R1__C5_osg_Vec4_R1__C5_osg_Vec4_R1,
|
||||
"Used only for gradient mode, let's you specify the colors of the 4 corners. ",
|
||||
"If ColorGradients are off, these values are ignored (and the value from setColor() is the only one that is relevant.");
|
||||
I_Method0(const osg::Vec4 &, getColorGradientTopLeft,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getColorGradientTopLeft,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColorGradientBottomLeft,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getColorGradientBottomLeft,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColorGradientBottomRight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getColorGradientBottomRight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColorGradientTopRight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getColorGradientTopRight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKerningType, IN, osgText::KerningType, kerningType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKerningType__KerningType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::KerningType, getKerningType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KerningType__getKerningType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getLineCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getLineCount,
|
||||
"Get the number of wrapped lines - only valid after computeGlyphRepresentation() has been called, returns 0 otherwise. ",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_RenderInfo_R1,
|
||||
"Draw the text. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_Drawable_AttributeFunctor_R1,
|
||||
"return false, osgText::Text does not support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_Drawable_ConstAttributeFunctor_R1,
|
||||
"return true, osgText::Text does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_Drawable_ConstAttributeFunctor_R1,
|
||||
"accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_PrimitiveFunctor_R1,
|
||||
"return true, osgText::Text does support accept(PrimitiveFunctor&) . ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_PrimitiveFunctor_R1,
|
||||
"accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_Method1(const osgText::Text::GlyphQuads *, getGlyphQuads, IN, osgText::Font::GlyphTexture *, texture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GlyphQuads_P1__getGlyphQuads__Font_GlyphTexture_P1,
|
||||
"Direct Access to GlyphQuads. ",
|
||||
"");
|
||||
I_Method0(const osgText::Text::TextureGlyphQuadMap &, getTextureGlyphQuadMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextureGlyphQuadMap_R1__getTextureGlyphQuadMap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"Compute the bounding box around Drawables's geometry. ",
|
||||
"");
|
||||
I_SimpleProperty(osgText::Text::AlignmentType, Alignment,
|
||||
__AlignmentType__getAlignment,
|
||||
__void__setAlignment__AlignmentType);
|
||||
I_SimpleProperty(bool, AutoRotateToScreen,
|
||||
__bool__getAutoRotateToScreen,
|
||||
__void__setAutoRotateToScreen__bool);
|
||||
I_SimpleProperty(osgText::Text::AxisAlignment, AxisAlignment,
|
||||
0,
|
||||
__void__setAxisAlignment__AxisAlignment);
|
||||
I_SimpleProperty(const osg::Vec4 &, BackdropColor,
|
||||
__C5_osg_Vec4_R1__getBackdropColor,
|
||||
__void__setBackdropColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(float, BackdropHorizontalOffset,
|
||||
__float__getBackdropHorizontalOffset,
|
||||
0);
|
||||
I_SimpleProperty(osgText::Text::BackdropImplementation, BackdropImplementation,
|
||||
__BackdropImplementation__getBackdropImplementation,
|
||||
__void__setBackdropImplementation__BackdropImplementation);
|
||||
I_SimpleProperty(float, BackdropOffset,
|
||||
0,
|
||||
__void__setBackdropOffset__float);
|
||||
I_SimpleProperty(osgText::Text::BackdropType, BackdropType,
|
||||
__BackdropType__getBackdropType,
|
||||
__void__setBackdropType__BackdropType);
|
||||
I_SimpleProperty(float, BackdropVerticalOffset,
|
||||
__float__getBackdropVerticalOffset,
|
||||
0);
|
||||
I_SimpleProperty(float, CharacterAspectRatio,
|
||||
__float__getCharacterAspectRatio,
|
||||
0);
|
||||
I_SimpleProperty(float, CharacterHeight,
|
||||
__float__getCharacterHeight,
|
||||
0);
|
||||
I_SimpleProperty(osgText::Text::CharacterSizeMode, CharacterSizeMode,
|
||||
__CharacterSizeMode__getCharacterSizeMode,
|
||||
__void__setCharacterSizeMode__CharacterSizeMode);
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_osg_Vec4_R1__getColor,
|
||||
__void__setColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(const osg::Vec4 &, ColorGradientBottomLeft,
|
||||
__C5_osg_Vec4_R1__getColorGradientBottomLeft,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, ColorGradientBottomRight,
|
||||
__C5_osg_Vec4_R1__getColorGradientBottomRight,
|
||||
0);
|
||||
I_SimpleProperty(osgText::Text::ColorGradientMode, ColorGradientMode,
|
||||
__ColorGradientMode__getColorGradientMode,
|
||||
__void__setColorGradientMode__ColorGradientMode);
|
||||
I_SimpleProperty(const osg::Vec4 &, ColorGradientTopLeft,
|
||||
__C5_osg_Vec4_R1__getColorGradientTopLeft,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, ColorGradientTopRight,
|
||||
__C5_osg_Vec4_R1__getColorGradientTopRight,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, DrawMode,
|
||||
__unsigned_int__getDrawMode,
|
||||
__void__setDrawMode__unsigned_int);
|
||||
I_SimpleProperty(osgText::Font *, Font,
|
||||
0,
|
||||
__void__setFont__Font_P1);
|
||||
I_SimpleProperty(unsigned int, FontHeight,
|
||||
__unsigned_int__getFontHeight,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, FontWidth,
|
||||
__unsigned_int__getFontWidth,
|
||||
0);
|
||||
I_SimpleProperty(osgText::KerningType, KerningType,
|
||||
__KerningType__getKerningType,
|
||||
__void__setKerningType__KerningType);
|
||||
I_SimpleProperty(osgText::Text::Layout, Layout,
|
||||
__Layout__getLayout,
|
||||
__void__setLayout__Layout);
|
||||
I_SimpleProperty(unsigned int, LineCount,
|
||||
__unsigned_int__getLineCount,
|
||||
0);
|
||||
I_SimpleProperty(float, LineSpacing,
|
||||
__float__getLineSpacing,
|
||||
__void__setLineSpacing__float);
|
||||
I_SimpleProperty(float, MaximumHeight,
|
||||
__float__getMaximumHeight,
|
||||
__void__setMaximumHeight__float);
|
||||
I_SimpleProperty(float, MaximumWidth,
|
||||
__float__getMaximumWidth,
|
||||
__void__setMaximumWidth__float);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Quat &, Rotation,
|
||||
__C5_osg_Quat_R1__getRotation,
|
||||
__void__setRotation__C5_osg_Quat_R1);
|
||||
I_SimpleProperty(const osgText::String &, Text,
|
||||
__C5_String_R1__getText,
|
||||
__void__setText__C5_String_R1);
|
||||
I_SimpleProperty(const osgText::Text::TextureGlyphQuadMap &, TextureGlyphQuadMap,
|
||||
__C5_TextureGlyphQuadMap_R1__getTextureGlyphQuadMap,
|
||||
0);
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
0,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgText::Font::Glyph * >, osgText::Text::GlyphQuads::Glyphs);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osgText::Text::GlyphQuads::LineNumbers);
|
||||
@@ -663,6 +87,56 @@ BEGIN_VALUE_REFLECTOR(osgText::Text::GlyphQuads)
|
||||
__C5_LineNumbers_R1__getLineNumbers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::Glyphs, getGlyphs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Glyphs__getGlyphs,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::Glyphs, getGlyphs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Glyphs__getGlyphs,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::Coords2 &, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Coords2_R1__getCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::Coords2 &, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Coords2_R1__getCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Coords3_R1__getTransformedCoords__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Coords3_R1__getTransformedCoords__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::TexCoords &, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexCoords_R1__getTexCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::TexCoords &, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexCoords_R1__getTexCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineNumbers_R1__getLineNumbers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LineNumbers_R1__getLineNumbers,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgText::Text::GlyphQuads::Coords2 &, Coords,
|
||||
__Coords2_R1__getCoords,
|
||||
0);
|
||||
@@ -681,48 +155,143 @@ BEGIN_VALUE_REFLECTOR(osgText::Text::GlyphQuads)
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::TexCoords, _texcoords);
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::LineNumbers, _lineNumbers);
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::ColorCoords, _colorCoords);
|
||||
I_PublicMemberProperty(osg::buffered_object< osgText::Text::GlyphQuads::Coords3 >, _transformedCoords);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgText::Font::GlyphTexture >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
TYPE_NAME_ALIAS(std::vector< osgText::Font::Glyph * >, osgText::Text::GlyphQuads::Glyphs);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osgText::Text::GlyphQuads::LineNumbers);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec2 >, osgText::Text::GlyphQuads::Coords2);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgText::Text::GlyphQuads::Coords3);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec2 >, osgText::Text::GlyphQuads::TexCoords);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec4 >, osgText::Text::GlyphQuads::ColorCoords);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgText::Text::GlyphQuads)
|
||||
I_Constructor0(____GlyphQuads,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgText::Font::GlyphTexture *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgText::Font::GlyphTexture > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Font::GlyphTexture *, get,
|
||||
I_Method0(osgText::Text::GlyphQuads::Glyphs, getGlyphs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
__Glyphs__getGlyphs,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
I_Method0(const osgText::Text::GlyphQuads::Glyphs, getGlyphs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
__C5_Glyphs__getGlyphs,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Font::GlyphTexture *, release,
|
||||
I_Method0(osgText::Text::GlyphQuads::Coords2 &, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
__Coords2_R1__getCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgText::Font::GlyphTexture > &, rp,
|
||||
I_Method0(const osgText::Text::GlyphQuads::Coords2 &, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
__C5_Coords2_R1__getCoords,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgText::Font::GlyphTexture *, ,
|
||||
__T_P1__get,
|
||||
I_Method1(osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Coords3_R1__getTransformedCoords__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Coords3_R1__getTransformedCoords__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::TexCoords &, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexCoords_R1__getTexCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::TexCoords &, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexCoords_R1__getTexCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineNumbers_R1__getLineNumbers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LineNumbers_R1__getLineNumbers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::Glyphs, getGlyphs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Glyphs__getGlyphs,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::Glyphs, getGlyphs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Glyphs__getGlyphs,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::Coords2 &, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Coords2_R1__getCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::Coords2 &, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Coords2_R1__getCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Coords3_R1__getTransformedCoords__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgText::Text::GlyphQuads::Coords3 &, getTransformedCoords, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Coords3_R1__getTransformedCoords__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::TexCoords &, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexCoords_R1__getTexCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::TexCoords &, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexCoords_R1__getTexCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineNumbers_R1__getLineNumbers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text::GlyphQuads::LineNumbers &, getLineNumbers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LineNumbers_R1__getLineNumbers,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgText::Text::GlyphQuads::Coords2 &, Coords,
|
||||
__Coords2_R1__getCoords,
|
||||
0);
|
||||
I_SimpleProperty(osgText::Text::GlyphQuads::Glyphs, Glyphs,
|
||||
__Glyphs__getGlyphs,
|
||||
0);
|
||||
I_SimpleProperty(osgText::Text::GlyphQuads::LineNumbers &, LineNumbers,
|
||||
__LineNumbers_R1__getLineNumbers,
|
||||
0);
|
||||
I_SimpleProperty(osgText::Text::GlyphQuads::TexCoords &, TexCoords,
|
||||
__TexCoords_R1__getTexCoords,
|
||||
0);
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::Glyphs, _glyphs);
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::Coords2, _coords);
|
||||
I_PublicMemberProperty(osg::buffered_object< osgText::Text::GlyphQuads::Coords3 >, _transformedCoords);
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::TexCoords, _texcoords);
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::LineNumbers, _lineNumbers);
|
||||
I_PublicMemberProperty(osgText::Text::GlyphQuads::ColorCoords, _colorCoords);
|
||||
I_PublicMemberProperty(osg::buffered_object< osgText::Text::GlyphQuads::Coords3 >, _transformedCoords);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< osg::ref_ptr< osgText::Font::GlyphTexture > COMMA osgText::Text::GlyphQuads >);
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgText::Font::Glyph * >);
|
||||
|
||||
|
||||
@@ -26,20 +26,20 @@
|
||||
#include <osg/.svn/text-base/Polytope.svn-base>
|
||||
#include <osg/.svn/text-base/RenderInfo.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/.svn/text-base/TexGenNode.svn-base>
|
||||
#include <osg/.svn/text-base/Switch.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Projection>
|
||||
#include <osg/State>
|
||||
#include <osg/Switch>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/TexGenNode>
|
||||
#include <osg/Transform>
|
||||
#include <osgUtil/.svn/text-base/CullVisitor.svn-base>
|
||||
#include <osgUtil/.svn/text-base/RenderStage.svn-base>
|
||||
#include <osgUtil/.svn/text-base/RenderBin.svn-base>
|
||||
#include <osgUtil/.svn/text-base/StateGraph.svn-base>
|
||||
#include <osgUtil/CullVisitor>
|
||||
#include <osgUtil/RenderBin>
|
||||
#include <osgUtil/RenderStage>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
#include <osg/.svn/text-base/DisplaySettings.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/Geode>
|
||||
#include <osg/StateSet>
|
||||
#include <osgUtil/DisplayRequirementsVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/RenderInfo.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/Geode>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
#include <osgUtil/.svn/text-base/GLObjectsVisitor.svn-base>
|
||||
#include <osgUtil/GLObjectsVisitor>
|
||||
|
||||
|
||||
@@ -13,11 +13,17 @@ CXXFILES =\
|
||||
IntersectionVisitor.cpp\
|
||||
LineSegmentIntersector.cpp\
|
||||
Optimizer.cpp\
|
||||
ReflectionMapGenerator.cpp\
|
||||
RenderBin.cpp\
|
||||
RenderLeaf.cpp\
|
||||
RenderStage.cpp\
|
||||
SceneView.cpp\
|
||||
Simplifier.cpp\
|
||||
SmoothingVisitor.cpp\
|
||||
Statistics.cpp\
|
||||
Tessellator.cpp\
|
||||
TransformAttributeFunctor.cpp\
|
||||
TriStripVisitor.cpp\
|
||||
UpdateVisitor.cpp\
|
||||
|
||||
LIBS += -losgUtil -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -10,10 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Billboard.svn-base>
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Group.svn-base>
|
||||
#include <osg/.svn/text-base/LOD.svn-base>
|
||||
#include <osg/.svn/text-base/LineSegment.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
@@ -23,8 +20,6 @@
|
||||
#include <osg/Camera>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Projection>
|
||||
#include <osg/Switch>
|
||||
#include <osg/Transform>
|
||||
#include <osgUtil/.svn/text-base/IntersectVisitor.svn-base>
|
||||
#include <osgUtil/IntersectVisitor>
|
||||
|
||||
@@ -538,424 +533,6 @@ BEGIN_VALUE_REFLECTOR(osgUtil::Hit)
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _inverse);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgUtil::Hit >, osgUtil::IntersectVisitor::HitList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< const osg::LineSegment * COMMA osgUtil::IntersectVisitor::HitList >, osgUtil::IntersectVisitor::LineSegmentHitListMap);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgUtil::IntersectVisitor::LODSelectionMode)
|
||||
I_EnumLabel(osgUtil::IntersectVisitor::USE_HIGHEST_LEVEL_OF_DETAIL);
|
||||
I_EnumLabel(osgUtil::IntersectVisitor::USE_SEGMENT_START_POINT_AS_EYE_POINT_FOR_LOD_LEVEL_SELECTION);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____IntersectVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addLineSegment, IN, osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addLineSegment__osg_LineSegment_P1,
|
||||
"Add a line segment to use for intersection testing during scene traversal. ",
|
||||
"Note, a maximum of 32 line segments can be added to a IntersectVistor, adding more than this will result in warning being emitted to the console and the excess segments being ignored. ");
|
||||
I_Method1(osgUtil::IntersectVisitor::HitList &, getHitList, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HitList_R1__getHitList__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getNumHits, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumHits__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LineSegmentHitListMap &, getSegHitList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineSegmentHitListMap_R1__getSegHitList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, hits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLODSelectionMode, IN, osgUtil::IntersectVisitor::LODSelectionMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLODSelectionMode__LODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LODSelectionMode, getLODSelectionMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LODSelectionMode__getLODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEyePoint, IN, const osg::Vec3 &, eye,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEyePoint__C5_osg_Vec3_R1,
|
||||
"Set the eye point in local coordinates. ",
|
||||
"This is a pseudo-EyePoint for billboarding and LOD purposes. It is copied from the Start point of the most-recently-added segment of the intersection ray set (IntersectState::_segList). ");
|
||||
I_Method0(osg::Vec3, getEyePoint,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec3__getEyePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
Properties::VIRTUAL,
|
||||
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
|
||||
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
||||
"This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations. ");
|
||||
I_Method1(void, apply, IN, osg::Node &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____IntersectVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addLineSegment, IN, osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addLineSegment__osg_LineSegment_P1,
|
||||
"Add a line segment to use for intersection testing during scene traversal. ",
|
||||
"Note, a maximum of 32 line segments can be added to a IntersectVistor, adding more than this will result in warning being emitted to the console and the excess segments being ignored. ");
|
||||
I_Method1(osgUtil::IntersectVisitor::HitList &, getHitList, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HitList_R1__getHitList__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getNumHits, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumHits__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LineSegmentHitListMap &, getSegHitList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineSegmentHitListMap_R1__getSegHitList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, hits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLODSelectionMode, IN, osgUtil::IntersectVisitor::LODSelectionMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLODSelectionMode__LODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LODSelectionMode, getLODSelectionMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LODSelectionMode__getLODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEyePoint, IN, const osg::Vec3 &, eye,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEyePoint__C5_osg_Vec3_R1,
|
||||
"Set the eye point in local coordinates. ",
|
||||
"This is a pseudo-EyePoint for billboarding and LOD purposes. It is copied from the Start point of the most-recently-added segment of the intersection ray set (IntersectState::_segList). ");
|
||||
I_Method0(osg::Vec3, getEyePoint,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec3__getEyePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
Properties::VIRTUAL,
|
||||
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
|
||||
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
||||
"This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations. ");
|
||||
I_Method1(void, apply, IN, osg::Node &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, EyePoint,
|
||||
__osg_Vec3__getEyePoint,
|
||||
__void__setEyePoint__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgUtil::IntersectVisitor::LODSelectionMode, LODSelectionMode,
|
||||
__LODSelectionMode__getLODSelectionMode,
|
||||
__void__setLODSelectionMode__LODSelectionMode);
|
||||
I_SimpleProperty(osgUtil::IntersectVisitor::LineSegmentHitListMap &, SegHitList,
|
||||
__LineSegmentHitListMap_R1__getSegHitList,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgUtil::Hit >, osgUtil::IntersectVisitor::HitList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< const osg::LineSegment * COMMA osgUtil::IntersectVisitor::HitList >, osgUtil::IntersectVisitor::LineSegmentHitListMap);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgUtil::IntersectVisitor::LODSelectionMode)
|
||||
I_EnumLabel(osgUtil::IntersectVisitor::USE_HIGHEST_LEVEL_OF_DETAIL);
|
||||
I_EnumLabel(osgUtil::IntersectVisitor::USE_SEGMENT_START_POINT_AS_EYE_POINT_FOR_LOD_LEVEL_SELECTION);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____IntersectVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addLineSegment, IN, osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addLineSegment__osg_LineSegment_P1,
|
||||
"Add a line segment to use for intersection testing during scene traversal. ",
|
||||
"Note, a maximum of 32 line segments can be added to a IntersectVistor, adding more than this will result in warning being emitted to the console and the excess segments being ignored. ");
|
||||
I_Method1(osgUtil::IntersectVisitor::HitList &, getHitList, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HitList_R1__getHitList__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getNumHits, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumHits__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LineSegmentHitListMap &, getSegHitList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineSegmentHitListMap_R1__getSegHitList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, hits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLODSelectionMode, IN, osgUtil::IntersectVisitor::LODSelectionMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLODSelectionMode__LODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LODSelectionMode, getLODSelectionMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LODSelectionMode__getLODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEyePoint, IN, const osg::Vec3 &, eye,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEyePoint__C5_osg_Vec3_R1,
|
||||
"Set the eye point in local coordinates. ",
|
||||
"This is a pseudo-EyePoint for billboarding and LOD purposes. It is copied from the Start point of the most-recently-added segment of the intersection ray set (IntersectState::_segList). ");
|
||||
I_Method0(osg::Vec3, getEyePoint,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec3__getEyePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
Properties::VIRTUAL,
|
||||
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
|
||||
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
||||
"This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations. ");
|
||||
I_Method1(void, apply, IN, osg::Node &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____IntersectVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addLineSegment, IN, osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addLineSegment__osg_LineSegment_P1,
|
||||
"Add a line segment to use for intersection testing during scene traversal. ",
|
||||
"Note, a maximum of 32 line segments can be added to a IntersectVistor, adding more than this will result in warning being emitted to the console and the excess segments being ignored. ");
|
||||
I_Method1(osgUtil::IntersectVisitor::HitList &, getHitList, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HitList_R1__getHitList__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getNumHits, IN, const osg::LineSegment *, seg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumHits__C5_osg_LineSegment_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LineSegmentHitListMap &, getSegHitList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineSegmentHitListMap_R1__getSegHitList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, hits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLODSelectionMode, IN, osgUtil::IntersectVisitor::LODSelectionMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLODSelectionMode__LODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgUtil::IntersectVisitor::LODSelectionMode, getLODSelectionMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LODSelectionMode__getLODSelectionMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEyePoint, IN, const osg::Vec3 &, eye,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEyePoint__C5_osg_Vec3_R1,
|
||||
"Set the eye point in local coordinates. ",
|
||||
"This is a pseudo-EyePoint for billboarding and LOD purposes. It is copied from the Start point of the most-recently-added segment of the intersection ray set (IntersectState::_segList). ");
|
||||
I_Method0(osg::Vec3, getEyePoint,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec3__getEyePoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
Properties::VIRTUAL,
|
||||
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
|
||||
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
||||
"This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations. ");
|
||||
I_Method1(void, apply, IN, osg::Node &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, EyePoint,
|
||||
__osg_Vec3__getEyePoint,
|
||||
__void__setEyePoint__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgUtil::IntersectVisitor::LODSelectionMode, LODSelectionMode,
|
||||
__LODSelectionMode__getLODSelectionMode,
|
||||
__void__setLODSelectionMode__LODSelectionMode);
|
||||
I_SimpleProperty(osgUtil::IntersectVisitor::LineSegmentHitListMap &, SegHitList,
|
||||
__LineSegmentHitListMap_R1__getSegHitList,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::PickVisitor)
|
||||
I_BaseType(osgUtil::IntersectVisitor);
|
||||
I_BaseType(osgUtil::IntersectVisitor);
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
#include <osg/.svn/text-base/LOD.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/PagedLOD.svn-base>
|
||||
#include <osg/.svn/text-base/Viewport.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/Geode>
|
||||
#include <osg/PagedLOD>
|
||||
#include <osg/Projection>
|
||||
#include <osg/Transform>
|
||||
#include <osgUtil/.svn/text-base/IntersectionVisitor.svn-base>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/Vec3d>
|
||||
#include <osgUtil/.svn/text-base/IntersectionVisitor.svn-base>
|
||||
#include <osgUtil/.svn/text-base/LineSegmentIntersector.svn-base>
|
||||
@@ -281,155 +280,3 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::LineSegmentIntersector)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::LineSegmentIntersector::Intersection::IndexList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< double >, osgUtil::LineSegmentIntersector::Intersection::RatioList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgUtil::LineSegmentIntersector::Intersection)
|
||||
I_Constructor0(____Intersection,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getLocalIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getWorldIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getWorldIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getLocalIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getWorldIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getWorldIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Intersection,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getLocalIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getWorldIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getWorldIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getLocalIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getWorldIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getWorldIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, LocalIntersectNormal,
|
||||
__C5_osg_Vec3_R1__getLocalIntersectNormal,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3d &, LocalIntersectPoint,
|
||||
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3, WorldIntersectNormal,
|
||||
__osg_Vec3__getWorldIntersectNormal,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3d, WorldIntersectPoint,
|
||||
__osg_Vec3d__getWorldIntersectPoint,
|
||||
0);
|
||||
I_PublicMemberProperty(double, ratio);
|
||||
I_PublicMemberProperty(osg::NodePath, nodePath);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix);
|
||||
I_PublicMemberProperty(osg::Vec3d, localIntersectionPoint);
|
||||
I_PublicMemberProperty(osg::Vec3, localIntersectionNormal);
|
||||
I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::IndexList, indexList);
|
||||
I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::RatioList, ratioList);
|
||||
I_PublicMemberProperty(unsigned int, primitiveIndex);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::LineSegmentIntersector::Intersection::IndexList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< double >, osgUtil::LineSegmentIntersector::Intersection::RatioList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgUtil::LineSegmentIntersector::Intersection)
|
||||
I_Constructor0(____Intersection,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getLocalIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getWorldIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getWorldIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getLocalIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getWorldIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getWorldIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Intersection,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getLocalIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getWorldIntersectPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3d__getWorldIntersectPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getLocalIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getWorldIntersectNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getWorldIntersectNormal,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, LocalIntersectNormal,
|
||||
__C5_osg_Vec3_R1__getLocalIntersectNormal,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3d &, LocalIntersectPoint,
|
||||
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3, WorldIntersectNormal,
|
||||
__osg_Vec3__getWorldIntersectNormal,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3d, WorldIntersectPoint,
|
||||
__osg_Vec3d__getWorldIntersectPoint,
|
||||
0);
|
||||
I_PublicMemberProperty(double, ratio);
|
||||
I_PublicMemberProperty(osg::NodePath, nodePath);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix);
|
||||
I_PublicMemberProperty(osg::Vec3d, localIntersectionPoint);
|
||||
I_PublicMemberProperty(osg::Vec3, localIntersectionNormal);
|
||||
I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::IndexList, indexList);
|
||||
I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::RatioList, ratioList);
|
||||
I_PublicMemberProperty(unsigned int, primitiveIndex);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,12 +10,17 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Billboard.svn-base>
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/MatrixTransform.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/PagedLOD.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/Geode>
|
||||
#include <osg/ProxyNode>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Transform>
|
||||
#include <osgUtil/.svn/text-base/Optimizer.svn-base>
|
||||
#include <osgUtil/Optimizer>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -526,17 +531,42 @@ BEGIN_VALUE_REFLECTOR(osgUtil::Optimizer)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineStaticTransformsVisitor)
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::FlattenStaticTransformsVisitor)
|
||||
I_BaseType(osgUtil::BaseOptimizerVisitor);
|
||||
I_BaseType(osgUtil::BaseOptimizerVisitor);
|
||||
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____CombineStaticTransformsVisitor__Optimizer_P1,
|
||||
____FlattenStaticTransformsVisitor__Optimizer_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::MatrixTransform &, transform,
|
||||
I_Method1(void, apply, IN, osg::Node &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_MatrixTransform_R1,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::ProxyNode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_ProxyNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::PagedLOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_PagedLOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, transform,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeTransforms, IN, osg::Node *, nodeWeCannotRemove,
|
||||
@@ -546,12 +576,37 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineStaticTransformsVisitor)
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____CombineStaticTransformsVisitor__Optimizer_P1,
|
||||
____FlattenStaticTransformsVisitor__Optimizer_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::MatrixTransform &, transform,
|
||||
I_Method1(void, apply, IN, osg::Node &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_MatrixTransform_R1,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::ProxyNode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_ProxyNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::PagedLOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_PagedLOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, transform,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeTransforms, IN, osg::Node *, nodeWeCannotRemove,
|
||||
@@ -561,17 +616,42 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineStaticTransformsVisitor)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineStaticTransformsVisitor)
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::FlattenStaticTransformsVisitor)
|
||||
I_BaseType(osgUtil::BaseOptimizerVisitor);
|
||||
I_BaseType(osgUtil::BaseOptimizerVisitor);
|
||||
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____CombineStaticTransformsVisitor__Optimizer_P1,
|
||||
____FlattenStaticTransformsVisitor__Optimizer_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::MatrixTransform &, transform,
|
||||
I_Method1(void, apply, IN, osg::Node &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_MatrixTransform_R1,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::ProxyNode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_ProxyNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::PagedLOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_PagedLOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, transform,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeTransforms, IN, osg::Node *, nodeWeCannotRemove,
|
||||
@@ -581,12 +661,37 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineStaticTransformsVisitor)
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____CombineStaticTransformsVisitor__Optimizer_P1,
|
||||
____FlattenStaticTransformsVisitor__Optimizer_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::MatrixTransform &, transform,
|
||||
I_Method1(void, apply, IN, osg::Node &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_MatrixTransform_R1,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::ProxyNode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_ProxyNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::PagedLOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_PagedLOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, transform,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeTransforms, IN, osg::Node *, nodeWeCannotRemove,
|
||||
@@ -596,99 +701,3 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::CombineStaticTransformsVisitor)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::IsOperationPermissibleForObjectCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____IsOperationPermissibleForObjectCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateSet *, stateset, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateSet_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateAttribute *, attribute, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateAttribute_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Drawable *, drawable, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Drawable_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Node *, node, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Node_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateSet *, stateset, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateSet_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateAttribute *, attribute, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateAttribute_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Drawable *, drawable, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Drawable_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Node *, node, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Node_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Optimizer::IsOperationPermissibleForObjectCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____IsOperationPermissibleForObjectCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateSet *, stateset, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateSet_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateAttribute *, attribute, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateAttribute_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Drawable *, drawable, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Drawable_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Node *, node, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Node_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateSet *, stateset, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateSet_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::StateAttribute *, attribute, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_StateAttribute_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Drawable *, drawable, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Drawable_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, isOperationPermissibleForObjectImplementation, IN, const osgUtil::Optimizer *, optimizer, IN, const osg::Node *, node, IN, unsigned int, option,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isOperationPermissibleForObjectImplementation__C5_Optimizer_P1__C5_osg_Node_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osgUtil/ReflectionMapGenerator>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -23,6 +23,39 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::ReflectionMapGenerator)
|
||||
I_BaseType(osgUtil::CubeMapGenerator);
|
||||
I_BaseType(osgUtil::CubeMapGenerator);
|
||||
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ReflectionMapGenerator__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgUtil::ReflectionMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ReflectionMapGenerator__C5_ReflectionMapGenerator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ReflectionMapGenerator__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgUtil::ReflectionMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ReflectionMapGenerator__C5_ReflectionMapGenerator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::ReflectionMapGenerator)
|
||||
I_BaseType(osgUtil::CubeMapGenerator);
|
||||
I_BaseType(osgUtil::CubeMapGenerator);
|
||||
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ReflectionMapGenerator__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgUtil::ReflectionMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ReflectionMapGenerator__C5_ReflectionMapGenerator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ReflectionMapGenerator__int,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -20,20 +20,20 @@
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/RenderInfo.svn-base>
|
||||
#include <osg/.svn/text-base/StateSet.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/.svn/text-base/View.svn-base>
|
||||
#include <osg/.svn/text-base/Viewport.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osg/State>
|
||||
#include <osg/View>
|
||||
#include <osgUtil/.svn/text-base/RenderStage.svn-base>
|
||||
#include <osg/StateSet>
|
||||
#include <osgUtil/.svn/text-base/SceneView.svn-base>
|
||||
#include <osgUtil/.svn/text-base/StateGraph.svn-base>
|
||||
#include <osgUtil/.svn/text-base/Statistics.svn-base>
|
||||
#include <osgUtil/CullVisitor>
|
||||
#include <osgUtil/RenderStage>
|
||||
#include <osgUtil/SceneView>
|
||||
#include <osgUtil/Statistics>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
|
||||
@@ -449,39 +449,3 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier)
|
||||
__void__setSmoothing__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier::ContinueSimplificationCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ContinueSimplificationCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, continueSimplification, IN, const osgUtil::Simplifier &, simplifier, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
|
||||
Properties::VIRTUAL,
|
||||
__bool__continueSimplification__C5_Simplifier_R1__float__unsigned_int__unsigned_int,
|
||||
"return true if mesh should be continued to be simplified, return false to stop simplification. ",
|
||||
"");
|
||||
I_Method4(bool, continueSimplification, IN, const osgUtil::Simplifier &, simplifier, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
|
||||
Properties::VIRTUAL,
|
||||
__bool__continueSimplification__C5_Simplifier_R1__float__unsigned_int__unsigned_int,
|
||||
"return true if mesh should be continued to be simplified, return false to stop simplification. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier::ContinueSimplificationCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ContinueSimplificationCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, continueSimplification, IN, const osgUtil::Simplifier &, simplifier, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
|
||||
Properties::VIRTUAL,
|
||||
__bool__continueSimplification__C5_Simplifier_R1__float__unsigned_int__unsigned_int,
|
||||
"return true if mesh should be continued to be simplified, return false to stop simplification. ",
|
||||
"");
|
||||
I_Method4(bool, continueSimplification, IN, const osgUtil::Simplifier &, simplifier, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
|
||||
Properties::VIRTUAL,
|
||||
__bool__continueSimplification__C5_Simplifier_R1__float__unsigned_int__unsigned_int,
|
||||
"return true if mesh should be continued to be simplified, return false to stop simplification. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Geometry.svn-base>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Geometry>
|
||||
#include <osgUtil/SmoothingVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -24,6 +24,15 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::SmoothingVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____SmoothingVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"apply smoothing method to all geode geosets. ",
|
||||
"");
|
||||
I_Constructor0(____SmoothingVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
@@ -36,5 +45,38 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::SmoothingVisitor)
|
||||
__void__smooth__osg_Geometry_R1_S,
|
||||
"smooth geoset by creating per vertex normals. ",
|
||||
"");
|
||||
I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset,
|
||||
__void__smooth__osg_Geometry_R1_S,
|
||||
"smooth geoset by creating per vertex normals. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgUtil::SmoothingVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____SmoothingVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"apply smoothing method to all geode geosets. ",
|
||||
"");
|
||||
I_Constructor0(____SmoothingVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"apply smoothing method to all geode geosets. ",
|
||||
"");
|
||||
I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset,
|
||||
__void__smooth__osg_Geometry_R1_S,
|
||||
"smooth geoset by creating per vertex normals. ",
|
||||
"");
|
||||
I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset,
|
||||
__void__smooth__osg_Geometry_R1_S,
|
||||
"smooth geoset by creating per vertex normals. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user