Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature.
This commit is contained in:
@@ -43,8 +43,6 @@ CXXFILES =\
|
||||
Group.cpp\
|
||||
Image.cpp\
|
||||
ImageStream.cpp\
|
||||
Impostor.cpp\
|
||||
ImpostorSprite.cpp\
|
||||
Light.cpp\
|
||||
LightModel.cpp\
|
||||
LightSource.cpp\
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Impostor>
|
||||
#include <osg/ImpostorSprite>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::ImpostorSprite > >, osg::Impostor::ImpostorSpriteList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Impostor)
|
||||
BaseType(osg::LOD);
|
||||
Constructor0();
|
||||
ConstructorWithDefaults2(IN, const osg::Impostor &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
Method0(osg::Object *, cloneType);
|
||||
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
Method0(const char *, className);
|
||||
Method0(const char *, libraryName);
|
||||
Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
Method1(void, setImpostorThreshold, IN, float, distance);
|
||||
Method0(float, getImpostorThreshold);
|
||||
MethodWithDefaults1(void, setImpostorThresholdToBound, IN, float, ratio, 1.0f);
|
||||
Method2(osg::ImpostorSprite *, findBestImpostorSprite, IN, unsigned int, contextID, IN, const osg::Vec3 &, currLocalEyePoint);
|
||||
Method2(void, addImpostorSprite, IN, unsigned int, contextID, IN, osg::ImpostorSprite *, is);
|
||||
Method1(osg::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID);
|
||||
Method1(const osg::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID);
|
||||
Property(float, ImpostorThreshold);
|
||||
WriteOnlyProperty(float, ImpostorThresholdToBound);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::ImpostorSprite >)
|
||||
Constructor0();
|
||||
Constructor1(IN, osg::ImpostorSprite *, t);
|
||||
Constructor1(IN, const osg::ref_ptr< osg::ImpostorSprite > &, rp);
|
||||
Method0(bool, valid);
|
||||
Method0(osg::ImpostorSprite *, get);
|
||||
Method0(const osg::ImpostorSprite *, get);
|
||||
Method0(osg::ImpostorSprite *, take);
|
||||
Method0(osg::ImpostorSprite *, release);
|
||||
ReadOnlyProperty(osg::ImpostorSprite *, );
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::ImpostorSprite > >);
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Impostor>
|
||||
#include <osg/ImpostorSprite>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Object>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Texture2D>
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImpostorSprite)
|
||||
BaseType(osg::Drawable);
|
||||
Constructor0();
|
||||
Method0(osg::Object *, cloneType);
|
||||
Method1(osg::Object *, clone, IN, const osg::CopyOp &, x);
|
||||
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
Method0(const char *, libraryName);
|
||||
Method0(const char *, className);
|
||||
Method1(void, setParent, IN, osg::Impostor *, parent);
|
||||
Method0(osg::Impostor *, getParent);
|
||||
Method0(const osg::Impostor *, getParent);
|
||||
Method1(void, setStoredLocalEyePoint, IN, const osg::Vec3 &, v);
|
||||
Method0(const osg::Vec3 &, getStoredLocalEyePoint);
|
||||
Method1(void, setLastFrameUsed, IN, int, frameNumber);
|
||||
Method0(int, getLastFrameUsed);
|
||||
Method0(osg::Vec3 *, getCoords);
|
||||
Method0(const osg::Vec3 *, getCoords);
|
||||
Method0(osg::Vec2 *, getTexCoords);
|
||||
Method0(const osg::Vec2 *, getTexCoords);
|
||||
Method0(osg::Vec3 *, getControlCoords);
|
||||
Method0(const osg::Vec3 *, getControlCoords);
|
||||
Method1(float, calcPixelError, IN, const osg::Matrix &, MVPW);
|
||||
Method3(void, setTexture, IN, osg::Texture2D *, tex, IN, int, s, IN, int, t);
|
||||
Method0(osg::Texture2D *, getTexture);
|
||||
Method0(const osg::Texture2D *, getTexture);
|
||||
Method0(int, s);
|
||||
Method0(int, t);
|
||||
Method1(void, drawImplementation, IN, osg::State &, state);
|
||||
Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x);
|
||||
Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af);
|
||||
Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x);
|
||||
Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af);
|
||||
Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x);
|
||||
Method1(void, accept, IN, osg::PrimitiveFunctor &, pf);
|
||||
ReadOnlyProperty(osg::Vec3 *, ControlCoords);
|
||||
ReadOnlyProperty(osg::Vec3 *, Coords);
|
||||
Property(int, LastFrameUsed);
|
||||
Property(osg::Impostor *, Parent);
|
||||
Property(const osg::Vec3 &, StoredLocalEyePoint);
|
||||
ReadOnlyProperty(osg::Vec2 *, TexCoords);
|
||||
ReadOnlyProperty(osg::Texture2D *, Texture);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImpostorSpriteManager)
|
||||
BaseType(osg::Referenced);
|
||||
Constructor0();
|
||||
Method0(bool, empty);
|
||||
Method0(osg::ImpostorSprite *, first);
|
||||
Method0(osg::ImpostorSprite *, last);
|
||||
Method1(void, push_back, IN, osg::ImpostorSprite *, is);
|
||||
Method1(void, remove, IN, osg::ImpostorSprite *, is);
|
||||
Method3(osg::ImpostorSprite *, createOrReuseImpostorSprite, IN, int, s, IN, int, t, IN, int, frameNumber);
|
||||
Method0(osg::StateSet *, createOrReuseStateSet);
|
||||
Method0(void, reset);
|
||||
END_REFLECTOR
|
||||
|
||||
Reference in New Issue
Block a user