Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA

and osgProducer to osgWrappers directory.

Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors.  I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
This commit is contained in:
Robert Osfield
2005-05-09 10:17:56 +00:00
parent a6e8378a72
commit 5e23536683
140 changed files with 7836 additions and 0 deletions

View File

@@ -39,6 +39,16 @@ SRC_DIRS += \
WRAPPER_DIRS = \
osg\
osgParticle\
osgSim\
# osgUtil\
# osgDB\
# osgFX\
# osgText\
# osgTerrain\
# osgGA\
# osgProducer\

View File

@@ -0,0 +1,41 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Image>
#include <osg/Node>
#include <osg/Object>
#include <osg/Shape>
#include <osgDB/Archive>
#include <osgDB/ReaderWriter>
TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::Archive::FileNameList);
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Archive)
BaseType(osgDB::ReaderWriter);
Constructor0();
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, acceptsExtension, IN, const std::string &, x);
Method0(void, close);
Method1(bool, fileExists, IN, const std::string &, filename);
Method0(std::string, getMasterFileName);
Method1(bool, getFileNames, IN, osgDB::Archive::FileNameList &, fileNameList);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
ReadOnlyProperty(std::string, MasterFileName);
END_REFLECTOR

View File

@@ -0,0 +1,131 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/FrameStamp>
#include <osg/Group>
#include <osg/Node>
#include <osg/PagedLOD>
#include <osg/State>
#include <osg/StateSet>
#include <osgDB/DatabasePager>
BEGIN_OBJECT_REFLECTOR(osgDB::Block)
BaseType(osg::Referenced);
Constructor0();
Method0(void, block);
Method0(void, release);
Method0(void, reset);
Method1(void, set, IN, bool, doRelease);
WriteOnlyProperty(bool, );
END_REFLECTOR
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::PagedLOD > >, osgDB::DatabasePager::PagedLODList);
TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osg::StateSet > >, osgDB::DatabasePager::StateSetList);
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Drawable > >, osgDB::DatabasePager::DrawableList);
TYPE_NAME_ALIAS(std::pair< osgDB::DatabasePager::StateSetList COMMA osgDB::DatabasePager::DrawableList >, osgDB::DatabasePager::DataToCompile);
TYPE_NAME_ALIAS(std::map< unsigned int COMMA osgDB::DatabasePager::DataToCompile >, osgDB::DatabasePager::DataToCompileMap);
TYPE_NAME_ALIAS(std::set< unsigned int >, osgDB::DatabasePager::ActiveGraphicsContexts);
BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager)
BaseType(osg::NodeVisitor::DatabaseRequestHandler);
Constructor0();
Method4(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp);
Method0(void, run);
Method0(int, cancel);
Method0(void, clear);
Method1(void, setDatabasePagerThreadPause, IN, bool, pause);
Method0(bool, getDatabasePagerThreadPause);
Method1(void, setAcceptNewDatabaseRequests, IN, bool, acceptNewRequests);
Method0(bool, getAcceptNewDatabaseRequests);
Method1(void, setUseFrameBlock, IN, bool, useFrameBlock);
Method0(bool, getUseFrameBlock);
Method0(osgDB::Block *, getFrameBlock);
Method1(void, setThreadPriorityDuringFrame, IN, ThreadPriority, duringFrame);
Method0(ThreadPriority, getThreadPriorityDuringFrame);
Method1(void, setThreadPriorityOutwithFrame, IN, ThreadPriority, outwithFrame);
Method0(ThreadPriority, getThreadPriorityOutwithFrame);
Method0(int, getNumFramesActive);
Method1(void, signalBeginFrame, IN, const osg::FrameStamp *, framestamp);
Method0(void, signalEndFrame);
Method1(void, registerPagedLODs, IN, osg::Node *, subgraph);
Method1(void, setTargetFrameRate, IN, double, tfr);
Method0(double, getTargetFrameRate);
Method1(void, setMinimumTimeAvailableForGLCompileAndDeletePerFrame, IN, double, ta);
Method0(double, getMinimumTimeAvailableForGLCompileAndDeletePerFrame);
Method1(void, setMaximumNumOfObjectsToCompilePerFrame, IN, unsigned int, num);
Method0(unsigned int, getMaximumNumOfObjectsToCompilePerFrame);
Method1(void, setExpiryDelay, IN, double, expiryDelay);
Method0(double, getExpiryDelay);
Method1(void, setDeleteRemovedSubgraphsInDatabaseThread, IN, bool, flag);
Method0(bool, getDeleteRemovedSubgraphsInDatabaseThread);
Method2(void, setUnrefImageDataAfterApplyPolicy, IN, bool, changeAutoUnRef, IN, bool, valueAutoUnRef);
Method2(void, getUnrefImageDataAfterApplyPolicy, IN, bool &, changeAutoUnRef, IN, bool &, valueAutoUnRef);
Method2(void, setMaxAnisotropyPolicy, IN, bool, changeAnisotropy, IN, float, valueAnisotropy);
Method2(void, getMaxAnisotropyPolicy, IN, bool &, changeAnisotropy, IN, float &, valueAnisotropy);
Method0(bool, requiresUpdateSceneGraph);
Method1(void, updateSceneGraph, IN, double, currentFrameTime);
Method2(void, setCompileGLObjectsForContextID, IN, unsigned int, contextID, IN, bool, on);
Method1(bool, getCompileGLObjectsForContextID, IN, unsigned int, contextID);
Method0(bool, requiresCompileGLObjects);
Method2(void, compileGLObjects, IN, osg::State &, state, IN, double &, availableTime);
Property(bool, AcceptNewDatabaseRequests);
IndexedProperty1(bool, CompileGLObjectsForContextID, unsigned int, contextID);
Property(bool, DatabasePagerThreadPause);
Property(bool, DeleteRemovedSubgraphsInDatabaseThread);
Property(double, ExpiryDelay);
ReadOnlyProperty(osgDB::Block *, FrameBlock);
Property(unsigned int, MaximumNumOfObjectsToCompilePerFrame);
Property(double, MinimumTimeAvailableForGLCompileAndDeletePerFrame);
Property(double, TargetFrameRate);
Property(ThreadPriority, ThreadPriorityDuringFrame);
Property(ThreadPriority, ThreadPriorityOutwithFrame);
Property(bool, UseFrameBlock);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PagedLOD >)
Constructor0();
Constructor1(IN, osg::PagedLOD *, t);
Constructor1(IN, const osg::ref_ptr< osg::PagedLOD > &, rp);
Method0(bool, valid);
Method0(osg::PagedLOD *, get);
Method0(const osg::PagedLOD *, get);
Method0(osg::PagedLOD *, take);
Method0(osg::PagedLOD *, release);
ReadOnlyProperty(osg::PagedLOD *, );
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateSet >)
Constructor0();
Constructor1(IN, osg::StateSet *, t);
Constructor1(IN, const osg::ref_ptr< osg::StateSet > &, rp);
Method0(bool, valid);
Method0(osg::StateSet *, get);
Method0(const osg::StateSet *, get);
Method0(osg::StateSet *, take);
Method0(osg::StateSet *, release);
ReadOnlyProperty(osg::StateSet *, );
END_REFLECTOR
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::PagedLOD > >);
STD_MAP_REFLECTOR(std::map< unsigned int COMMA osgDB::DatabasePager::DataToCompile >);
STD_PAIR_REFLECTOR(std::pair< osgDB::DatabasePager::StateSetList COMMA osgDB::DatabasePager::DrawableList >);
STD_SET_REFLECTOR(std::set< osg::ref_ptr< osg::StateSet > >);
STD_SET_REFLECTOR(std::set< unsigned int >);

View File

@@ -0,0 +1,42 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Object>
#include <osgDB/DotOsgWrapper>
TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DotOsgWrapper::Associates);
TYPE_NAME_ALIAS(bool(*, osgDB::DotOsgWrapper::ReadFunc);
TYPE_NAME_ALIAS(bool(*, osgDB::DotOsgWrapper::WriteFunc);
BEGIN_ENUM_REFLECTOR(osgDB::DotOsgWrapper::ReadWriteMode)
EnumLabel(osgDB::DotOsgWrapper::READ_AND_WRITE);
EnumLabel(osgDB::DotOsgWrapper::READ_ONLY);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgDB::DotOsgWrapper)
BaseType(osg::Referenced);
ConstructorWithDefaults6(IN, osg::Object *, proto, , IN, const std::string &, name, , IN, const std::string &, associates, , IN, osgDB::DotOsgWrapper::ReadFunc, readFunc, , IN, osgDB::DotOsgWrapper::WriteFunc, writeFunc, , IN, osgDB::DotOsgWrapper::ReadWriteMode, readWriteMode, osgDB::DotOsgWrapper::READ_AND_WRITE);
Method0(const osg::Object *, getPrototype);
Method0(const std::string &, getName);
Method0(const osgDB::DotOsgWrapper::Associates &, getAssociates);
Method0(osgDB::DotOsgWrapper::ReadFunc, getReadFunc);
Method0(osgDB::DotOsgWrapper::WriteFunc, getWriteFunc);
Method0(osgDB::DotOsgWrapper::ReadWriteMode, getReadWriteMode);
ReadOnlyProperty(const osgDB::DotOsgWrapper::Associates &, Associates);
ReadOnlyProperty(const std::string &, Name);
ReadOnlyProperty(const osg::Object *, Prototype);
ReadOnlyProperty(osgDB::DotOsgWrapper::ReadFunc, ReadFunc);
ReadOnlyProperty(osgDB::DotOsgWrapper::ReadWriteMode, ReadWriteMode);
ReadOnlyProperty(osgDB::DotOsgWrapper::WriteFunc, WriteFunc);
END_REFLECTOR

View File

@@ -0,0 +1,28 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgDB/DynamicLibrary>
TYPE_NAME_ALIAS(void *, osgDB::DynamicLibrary::HANDLE);
TYPE_NAME_ALIAS(void *, osgDB::DynamicLibrary::PROC_ADDRESS);
BEGIN_OBJECT_REFLECTOR(osgDB::DynamicLibrary)
BaseType(osg::Referenced);
Method0(const std::string &, getName);
Method0(const std::string &, getFullName);
Method0(osgDB::DynamicLibrary::HANDLE, getHandle);
Method1(osgDB::DynamicLibrary::PROC_ADDRESS, getProcAddress, IN, const std::string &, procName);
ReadOnlyProperty(const std::string &, FullName);
ReadOnlyProperty(osgDB::DynamicLibrary::HANDLE, Handle);
ReadOnlyProperty(const std::string &, Name);
END_REFLECTOR

View File

@@ -0,0 +1,68 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgDB/Field>
BEGIN_ENUM_REFLECTOR(osgDB::Field::@2)
EnumLabel(osgDB::Field::MIN_CACHE_SIZE);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgDB::Field::FieldType)
EnumLabel(osgDB::Field::OPEN_BRACKET);
EnumLabel(osgDB::Field::CLOSE_BRACKET);
EnumLabel(osgDB::Field::STRING);
EnumLabel(osgDB::Field::WORD);
EnumLabel(osgDB::Field::REAL);
EnumLabel(osgDB::Field::INTEGER);
EnumLabel(osgDB::Field::BLANK);
EnumLabel(osgDB::Field::UNINITIALISED);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::Field)
Constructor0();
Constructor1(IN, const osgDB::Field &, field);
Method0(void, reset);
Method1(void, addChar, IN, char, c);
Method0(int, getNoCharacters);
MethodWithDefaults1(void, setWithinQuotes, IN, bool, withinQuotes, true);
Method0(bool, getWithinQuotes);
Method1(void, setNoNestedBrackets, IN, int, no);
Method0(int, getNoNestedBrackets);
Method0(osgDB::Field::FieldType, getFieldType);
Method0(bool, isValid);
Method0(bool, isOpenBracket);
Method0(bool, isCloseBracket);
Method0(bool, isWord);
Method1(bool, matchWord, IN, const char *, str);
Method2(bool, matchWord, IN, const char *, str, IN, int, noCharacters);
Method0(bool, isString);
Method1(bool, matchString, IN, const char *, str);
Method2(bool, matchString, IN, const char *, str, IN, int, noCharacters);
Method0(bool, isQuotedString);
Method0(const char *, getStr);
Method0(char *, takeStr);
Method0(bool, isInt);
Method1(bool, matchInt, IN, int, i);
Method1(bool, getInt, IN, int &, i);
Method0(bool, isUInt);
Method1(bool, matchUInt, IN, unsigned int, i);
Method1(bool, getUInt, IN, unsigned int &, i);
Method0(bool, isFloat);
Method1(bool, matchFloat, IN, float, f);
Method1(bool, getFloat, IN, float &, f);
Method1(bool, getFloat, IN, double &, f);
ReadOnlyProperty(osgDB::Field::FieldType, FieldType);
ReadOnlyProperty(int, NoCharacters);
Property(int, NoNestedBrackets);
ReadOnlyProperty(const char *, Str);
Property(bool, WithinQuotes);
END_REFLECTOR

View File

@@ -0,0 +1,26 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgDB/Field>
#include <osgDB/FieldReader>
BEGIN_VALUE_REFLECTOR(osgDB::FieldReader)
Constructor0();
Constructor1(IN, const osgDB::FieldReader &, ic);
Method1(void, attach, IN, std::istream *, input);
Method0(void, detach);
Method0(bool, eof);
Method1(bool, readField, IN, osgDB::Field &, fieldPtr);
Method0(void, ignoreField);
Method0(int, getNoNestedBrackets);
ReadOnlyProperty(int, NoNestedBrackets);
END_REFLECTOR

View File

@@ -0,0 +1,62 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Vec2d>
#include <osg/Vec2f>
#include <osg/Vec3d>
#include <osg/Vec3f>
#include <osg/Vec4d>
#include <osg/Vec4f>
#include <osgDB/Field>
#include <osgDB/FieldReader>
#include <osgDB/FieldReaderIterator>
BEGIN_ENUM_REFLECTOR(osgDB::FieldReaderIterator::@3)
EnumLabel(osgDB::FieldReaderIterator::MINIMUM_FIELD_READER_QUEUE_SIZE);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::FieldReaderIterator)
Constructor0();
Constructor1(IN, const osgDB::FieldReaderIterator &, ic);
Method1(void, attach, IN, std::istream *, input);
Method0(void, detach);
Method0(bool, eof);
Method0(osgDB::FieldReader &, getFieldReader);
Method2(void, insert, IN, int, pos, IN, osgDB::Field *, field);
Method2(void, insert, IN, int, pos, IN, const char *, str);
Method1(osgDB::Field &, field, IN, int, pos);
Method0(void, advanceOverCurrentFieldOrBlock);
Method0(void, advanceToEndOfCurrentBlock);
Method1(void, advanceToEndOfBlock, IN, int, noNestBrackets);
Method1(bool, matchSequence, IN, const char *, str);
Method2(bool, readSequence, IN, const char *, keyword, IN, std::string &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, unsigned int &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, int &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, float &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec2f &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec3f &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec4f &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec2d &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec3d &, value);
Method2(bool, readSequence, IN, const char *, keyword, IN, osg::Vec4d &, value);
Method1(bool, readSequence, IN, std::string &, value);
Method1(bool, readSequence, IN, unsigned int &, value);
Method1(bool, readSequence, IN, int &, value);
Method1(bool, readSequence, IN, float &, value);
Method1(bool, readSequence, IN, osg::Vec2f &, value);
Method1(bool, readSequence, IN, osg::Vec3f &, value);
Method1(bool, readSequence, IN, osg::Vec4f &, value);
Method1(bool, readSequence, IN, osg::Vec2d &, value);
Method1(bool, readSequence, IN, osg::Vec3d &, value);
Method1(bool, readSequence, IN, osg::Vec4d &, value);
ReadOnlyProperty(osgDB::FieldReader &, FieldReader);
END_REFLECTOR

View File

@@ -0,0 +1,15 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgDB/FileUtils>
TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DirectoryContents);

View File

@@ -0,0 +1,30 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
Archive.cpp\
DatabasePager.cpp\
DotOsgWrapper.cpp\
DynamicLibrary.cpp\
Field.cpp\
FieldReader.cpp\
FieldReaderIterator.cpp\
FileUtils.cpp\
ImageOptions.cpp\
Input.cpp\
Output.cpp\
ParameterOutput.cpp\
ReaderWriter.cpp\
ReentrantMutex.cpp\
Registry.cpp\
SharedStateManager.cpp\
LIBS += -losgDB -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
OPTF = -O
TARGET_BASENAME = osgDB
include $(TOPDIR)/Make/cygwin_wrapper_def
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,56 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgDB/ImageOptions>
BEGIN_ENUM_REFLECTOR(osgDB::ImageOptions::ImageWindowMode)
EnumLabel(osgDB::ImageOptions::ALL_IMAGE);
EnumLabel(osgDB::ImageOptions::RATIO_WINDOW);
EnumLabel(osgDB::ImageOptions::PIXEL_WINDOW);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgDB::ImageOptions::ImageSamplingMode)
EnumLabel(osgDB::ImageOptions::NEAREST);
EnumLabel(osgDB::ImageOptions::LINEAR);
EnumLabel(osgDB::ImageOptions::CUBIC);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions)
BaseType(osgDB::ReaderWriter::Options);
Constructor0();
Constructor1(IN, const std::string &, str);
ConstructorWithDefaults2(IN, const osgDB::ImageOptions &, options, , 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 *, libraryName);
Method0(const char *, className);
Method0(void, init);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions::PixelWindow)
Constructor0();
Method4(void, set, IN, unsigned int, x, IN, unsigned int, y, IN, unsigned int, w, IN, unsigned int, h);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions::RatioWindow)
Constructor0();
Method4(void, set, IN, double, x, IN, double, y, IN, double, w, IN, double, h);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::ImageOptions::TexCoordRange)
BaseType(osg::Referenced);
Constructor0();
Method4(void, set, IN, double, x, IN, double, y, IN, double, w, IN, double, h);
END_REFLECTOR

View File

@@ -0,0 +1,42 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Drawable>
#include <osg/Image>
#include <osg/Node>
#include <osg/Object>
#include <osg/StateAttribute>
#include <osg/Uniform>
#include <osgDB/Input>
#include <osgDB/ReaderWriter>
#include <osgDB/Registry>
BEGIN_VALUE_REFLECTOR(osgDB::Input)
BaseType(osgDB::FieldReaderIterator);
Constructor0();
Method1(void, setOptions, IN, const osgDB::ReaderWriter::Options *, options);
Method0(const osgDB::ReaderWriter::Options *, getOptions);
Method1(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj);
Method1(osg::Object *, readObjectOfType, IN, const osgDB::basic_type_wrapper &, btw);
Method0(osg::Object *, readObject);
Method0(osg::Image *, readImage);
Method0(osg::Drawable *, readDrawable);
Method0(osg::StateAttribute *, readStateAttribute);
Method0(osg::Uniform *, readUniform);
Method0(osg::Node *, readNode);
Method1(osg::Object *, readObject, IN, const std::string &, fileName);
Method1(osg::Image *, readImage, IN, const std::string &, fileName);
Method1(osg::Node *, readNode, IN, const std::string &, fileName);
Method1(osg::Object *, getObjectForUniqueID, IN, const std::string &, uniqueID);
Method2(void, regisiterUniqueIDForObject, IN, const std::string &, uniqueID, IN, osg::Object *, obj);
Property(const osgDB::ReaderWriter::Options *, Options);
END_REFLECTOR

View File

@@ -0,0 +1,50 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Object>
#include <osgDB/Output>
BEGIN_ENUM_REFLECTOR(osgDB::Output::PathNameHint)
EnumLabel(osgDB::Output::AS_IS);
EnumLabel(osgDB::Output::FULL_PATH);
EnumLabel(osgDB::Output::RELATIVE_PATH);
EnumLabel(osgDB::Output::FILENAME_ONLY);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::Output)
Constructor0();
Constructor1(IN, const char *, name);
Method1(void, open, IN, const char *, name);
Method0(osgDB::Output &, indent);
Method1(std::string, wrapString, IN, const std::string &, str);
Method1(void, setIndentStep, IN, int, step);
Method0(int, getIndentStep);
Method1(void, setIndent, IN, int, indent);
Method0(int, getIndent);
Method1(void, setNumIndicesPerLine, IN, int, num);
Method0(int, getNumIndicesPerLine);
Method0(void, moveIn);
Method0(void, moveOut);
Method1(bool, writeObject, IN, const osg::Object &, obj);
Method2(bool, getUniqueIDForObject, IN, const osg::Object *, obj, IN, std::string &, uniqueID);
Method2(bool, createUniqueIDForObject, IN, const osg::Object *, obj, IN, std::string &, uniqueID);
Method2(bool, registerUniqueIDForObject, IN, const osg::Object *, obj, IN, std::string &, uniqueID);
Method1(void, setPathNameHint, IN, const osgDB::Output::PathNameHint, pnh);
Method0(osgDB::Output::PathNameHint, getPathNameHint);
Method1(std::string, getFileNameForOutput, IN, const std::string &, filename);
Method0(const std::string &, getFileName);
ReadOnlyProperty(const std::string &, FileName);
Property(int, Indent);
Property(int, IndentStep);
WriteOnlyProperty(int, NumIndicesPerLine);
ReadOnlyProperty(osgDB::Output::PathNameHint, PathNameHint);
END_REFLECTOR

View File

@@ -0,0 +1,22 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgDB/Output>
#include <osgDB/ParameterOutput>
BEGIN_VALUE_REFLECTOR(osgDB::ParameterOutput)
Constructor1(IN, osgDB::Output &, fw);
Constructor2(IN, osgDB::Output &, fw, IN, int, numItemsPerLine);
Method0(void, begin);
Method0(void, newLine);
Method0(void, end);
END_REFLECTOR

View File

@@ -0,0 +1,151 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/Node>
#include <osg/Object>
#include <osg/Shape>
#include <osgDB/Archive>
#include <osgDB/ReaderWriter>
BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus)
EnumLabel(osgDB::ReaderWriter::READ);
EnumLabel(osgDB::ReaderWriter::WRITE);
EnumLabel(osgDB::ReaderWriter::CREATE);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgDB::ReaderWriter &, rw, , 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 *, libraryName);
Method0(const char *, className);
Method1(bool, acceptsExtension, IN, const std::string &, x);
MethodWithDefaults4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, x, , IN, osgDB::ReaderWriter::ArchiveStatus, x, , IN, unsigned, int, 4096, IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, openArchive, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, const std::string &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readObject, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readImage, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults2(osgDB::ReaderWriter::ReadResult, readNode, IN, std::istream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
MethodWithDefaults3(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, x, , IN, std::ostream &, x, , IN, const osgDB::ReaderWriter::Options *, x, NULL);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::Options::CacheHintOptions)
EnumLabel(osgDB::ReaderWriter::Options::CACHE_NONE);
EnumLabel(osgDB::ReaderWriter::Options::CACHE_NODES);
EnumLabel(osgDB::ReaderWriter::Options::CACHE_IMAGES);
EnumLabel(osgDB::ReaderWriter::Options::CACHE_HEIGHTFIELDS);
EnumLabel(osgDB::ReaderWriter::Options::CACHE_ARCHIVES);
EnumLabel(osgDB::ReaderWriter::Options::CACHE_OBJECTS);
EnumLabel(osgDB::ReaderWriter::Options::CACHE_ALL);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options)
BaseType(osg::Object);
Constructor0();
Constructor1(IN, const std::string &, str);
ConstructorWithDefaults2(IN, const osgDB::ReaderWriter::Options &, options, , 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 *, libraryName);
Method0(const char *, className);
Method1(void, setOptionString, IN, const std::string &, str);
Method0(const std::string &, getOptionString);
Method1(void, setDatabasePath, IN, const std::string &, str);
Method0(osgDB::FilePathList &, getDatabasePathList);
Method0(const osgDB::FilePathList &, getDatabasePathList);
Method1(void, setObjectCacheHint, IN, osgDB::ReaderWriter::Options::CacheHintOptions, useObjectCache);
Method0(osgDB::ReaderWriter::Options::CacheHintOptions, getObjectCacheHint);
WriteOnlyProperty(const std::string &, DatabasePath);
ReadOnlyProperty(osgDB::FilePathList &, DatabasePathList);
Property(osgDB::ReaderWriter::Options::CacheHintOptions, ObjectCacheHint);
Property(const std::string &, OptionString);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ReadResult::ReadStatus)
EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED);
EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_NOT_FOUND);
EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED);
EnumLabel(osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE);
EnumLabel(osgDB::ReaderWriter::ReadResult::ERROR_IN_READING_FILE);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::ReadResult)
ConstructorWithDefaults1(IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_NOT_HANDLED);
Constructor1(IN, const std::string &, m);
ConstructorWithDefaults2(IN, osg::Object *, obj, , IN, osgDB::ReaderWriter::ReadResult::ReadStatus, status, osgDB::ReaderWriter::ReadResult::FILE_LOADED);
Constructor1(IN, const osgDB::ReaderWriter::ReadResult &, rr);
Method0(osg::Object *, getObject);
Method0(osg::Image *, getImage);
Method0(osg::HeightField *, getHeightField);
Method0(osg::Node *, getNode);
Method0(osgDB::Archive *, getArchive);
Method0(bool, validObject);
Method0(bool, validImage);
Method0(bool, validHeightField);
Method0(bool, validNode);
Method0(bool, validArchive);
Method0(osg::Object *, takeObject);
Method0(osg::Image *, takeImage);
Method0(osg::HeightField *, takeHeightField);
Method0(osg::Node *, takeNode);
Method0(osgDB::Archive *, takeArchive);
Method0(const std::string &, message);
Method0(osgDB::ReaderWriter::ReadResult::ReadStatus, status);
Method0(bool, success);
Method0(bool, loadedFromCache);
Method0(bool, error);
Method0(bool, notHandled);
Method0(bool, notFound);
ReadOnlyProperty(osgDB::Archive *, Archive);
ReadOnlyProperty(osg::HeightField *, HeightField);
ReadOnlyProperty(osg::Image *, Image);
ReadOnlyProperty(osg::Node *, Node);
ReadOnlyProperty(osg::Object *, Object);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::WriteResult::WriteStatus)
EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED);
EnumLabel(osgDB::ReaderWriter::WriteResult::FILE_SAVED);
EnumLabel(osgDB::ReaderWriter::WriteResult::ERROR_IN_WRITING_FILE);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::WriteResult)
ConstructorWithDefaults1(IN, osgDB::ReaderWriter::WriteResult::WriteStatus, status, osgDB::ReaderWriter::WriteResult::FILE_NOT_HANDLED);
Constructor1(IN, const std::string &, m);
Constructor1(IN, const osgDB::ReaderWriter::WriteResult &, rr);
Method0(const std::string &, message);
Method0(osgDB::ReaderWriter::WriteResult::WriteStatus, status);
Method0(bool, success);
Method0(bool, error);
Method0(bool, notHandled);
END_REFLECTOR
TYPE_NAME_ALIAS(std::deque< std::string >, osgDB::FilePathList);
STD_VECTOR_REFLECTOR(std::deque< std::string >);

View File

@@ -0,0 +1,20 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgDB/ReentrantMutex>
BEGIN_VALUE_REFLECTOR(osgDB::ReentrantMutex)
Constructor0();
Method0(int, lock);
Method0(int, unlock);
Method0(int, trylock);
END_REFLECTOR

View File

@@ -0,0 +1,156 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ArgumentParser>
#include <osg/Drawable>
#include <osg/Image>
#include <osg/Node>
#include <osg/Object>
#include <osg/Shape>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Uniform>
#include <osgDB/Archive>
#include <osgDB/DatabasePager>
#include <osgDB/DotOsgWrapper>
#include <osgDB/DynamicLibrary>
#include <osgDB/Input>
#include <osgDB/Output>
#include <osgDB/ReaderWriter>
#include <osgDB/Registry>
#include <osgDB/SharedStateManager>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::basic_type_wrapper)
Constructor0();
Method1(bool, matches, IN, const osg::Object *, proto);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::RegisterDotOsgWrapperProxy)
ConstructorWithDefaults6(IN, osg::Object *, proto, , IN, const std::string &, name, , IN, const std::string &, associates, , IN, osgDB::DotOsgWrapper::ReadFunc, readFunc, , IN, osgDB::DotOsgWrapper::WriteFunc, writeFunc, , IN, osgDB::DotOsgWrapper::ReadWriteMode, readWriteMode, osgDB::DotOsgWrapper::READ_AND_WRITE);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
BaseType(osg::Referenced);
Method1(void, readCommandLine, IN, osg::ArgumentParser &, commandLine);
Method2(void, addFileExtensionAlias, IN, const std::string, mapExt, IN, const std::string, toExt);
Method1(void, addDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper);
Method1(void, removeDotOsgWrapper, IN, osgDB::DotOsgWrapper *, wrapper);
Method1(void, addReaderWriter, IN, osgDB::ReaderWriter *, rw);
Method1(void, removeReaderWriter, IN, osgDB::ReaderWriter *, rw);
Method1(std::string, createLibraryNameForFile, IN, const std::string &, fileName);
Method1(std::string, createLibraryNameForExtension, IN, const std::string &, ext);
Method1(std::string, createLibraryNameForNodeKit, IN, const std::string &, name);
Method1(bool, loadLibrary, IN, const std::string &, fileName);
Method1(bool, closeLibrary, IN, const std::string &, fileName);
Method0(void, closeAllLibraries);
Method1(osgDB::ReaderWriter *, getReaderWriterForExtension, IN, const std::string &, ext);
Method2(osg::Object *, readObjectOfType, IN, const osg::Object &, compObj, IN, osgDB::Input &, fr);
Method2(osg::Object *, readObjectOfType, IN, const osgDB::basic_type_wrapper &, btw, IN, osgDB::Input &, fr);
Method1(osg::Object *, readObject, IN, osgDB::Input &, fr);
Method1(osg::Image *, readImage, IN, osgDB::Input &, fr);
Method1(osg::Drawable *, readDrawable, IN, osgDB::Input &, fr);
Method1(osg::Uniform *, readUniform, IN, osgDB::Input &, fr);
Method1(osg::StateAttribute *, readStateAttribute, IN, osgDB::Input &, fr);
Method1(osg::Node *, readNode, IN, osgDB::Input &, fr);
Method2(bool, writeObject, IN, const osg::Object &, obj, IN, osgDB::Output &, fw);
Method1(void, setReadFileCallback, IN, osgDB::Registry::ReadFileCallback *, cb);
Method0(osgDB::Registry::ReadFileCallback *, getReadFileCallback);
Method0(const osgDB::Registry::ReadFileCallback *, getReadFileCallback);
Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, options);
Method4(osgDB::ReaderWriter::ReadResult, openArchiveImplementation, IN, const std::string &, fileName, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readObjectImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readImageImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readHeightFieldImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readNodeImplementation, IN, const std::string &, fileName, IN, const osgDB::ReaderWriter::Options *, options);
Method1(void, setWriteFileCallback, IN, osgDB::Registry::WriteFileCallback *, cb);
Method0(osgDB::Registry::WriteFileCallback *, getWriteFileCallback);
Method0(const osgDB::Registry::WriteFileCallback *, getWriteFileCallback);
Method2(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeObjectImplementation, IN, const osg::Object &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeImageImplementation, IN, const osg::Image &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeHeightFieldImplementation, IN, const osg::HeightField &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, node, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeNodeImplementation, IN, const osg::Node &, node, IN, const std::string &, fileName);
Method1(void, setCreateNodeFromImage, IN, bool, flag);
Method0(bool, getCreateNodeFromImage);
Method1(void, setOptions, IN, osgDB::ReaderWriter::Options *, opt);
Method0(osgDB::ReaderWriter::Options *, getOptions);
Method0(const osgDB::ReaderWriter::Options *, getOptions);
Method0(void, initFilePathLists);
Method0(void, initDataFilePathList);
Method1(void, setDataFilePathList, IN, const osgDB::FilePathList &, filepath);
Method1(void, setDataFilePathList, IN, const std::string &, paths);
Method0(osgDB::FilePathList &, getDataFilePathList);
Method0(const osgDB::FilePathList &, getDataFilePathList);
Method0(void, initLibraryFilePathList);
Method1(void, setLibraryFilePathList, IN, const osgDB::FilePathList &, filepath);
Method1(void, setLibraryFilePathList, IN, const std::string &, paths);
Method0(osgDB::FilePathList &, getLibraryFilePathList);
Method0(const osgDB::FilePathList &, getLibraryFilePathList);
Method1(void, updateTimeStampOfObjectsInCacheWithExtenalReferences, IN, double, currentTime);
Method1(void, removeExpiredObjectsInCache, IN, double, expiryTime);
Method0(void, clearObjectCache);
MethodWithDefaults3(void, addEntryToObjectCache, IN, const std::string &, filename, , IN, osg::Object *, object, , IN, double, timestamp, 0.0);
Method1(osg::Object *, getFromObjectCache, IN, const std::string &, fileName);
Method2(void, addToArchiveCache, IN, const std::string &, fileName, IN, osgDB::Archive *, archive);
Method1(void, removeFromArchiveCache, IN, const std::string &, fileName);
Method1(osgDB::Archive *, getFromArchiveCache, IN, const std::string &, fileName);
Method0(void, clearArchiveCache);
MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
Method1(osgDB::DynamicLibrary *, getLibrary, IN, const std::string &, fileName);
Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, databasePager);
Method0(osgDB::DatabasePager *, getOrCreateDatabasePager);
Method0(osgDB::DatabasePager *, getDatabasePager);
Method1(void, setSharedStateManager, IN, osgDB::SharedStateManager *, SharedStateManager);
Method0(osgDB::SharedStateManager *, getOrCreateSharedStateManager);
Method0(osgDB::SharedStateManager *, getSharedStateManager);
Property(bool, CreateNodeFromImage);
Property(const osgDB::FilePathList &, DataFilePathList);
Property(osgDB::DatabasePager *, DatabasePager);
Property(const osgDB::FilePathList &, LibraryFilePathList);
Property(osgDB::ReaderWriter::Options *, Options);
Property(osgDB::Registry::ReadFileCallback *, ReadFileCallback);
Property(osgDB::SharedStateManager *, SharedStateManager);
Property(osgDB::Registry::WriteFileCallback *, WriteFileCallback);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgDB::Registry::ReadFileCallback)
BaseType(osg::Referenced);
Constructor0();
Method4(osgDB::ReaderWriter::ReadResult, openArchive, IN, const std::string &, filename, IN, osgDB::ReaderWriter::ArchiveStatus, status, IN, unsigned int, indexBlockSizeHint, IN, const osgDB::ReaderWriter::Options *, useObjectCache);
Method2(osgDB::ReaderWriter::ReadResult, readObject, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readImage, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readHeightField, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options);
Method2(osgDB::ReaderWriter::ReadResult, readNode, IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::Registry::ReadFunctor)
Constructor2(IN, const std::string &, filename, IN, const osgDB::ReaderWriter::Options *, options);
Method1(osgDB::ReaderWriter::ReadResult, doRead, IN, osgDB::ReaderWriter &, rw);
Method1(bool, isValid, IN, osgDB::ReaderWriter::ReadResult &, readResult);
Method1(bool, isValid, IN, osg::Object *, object);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgDB::Registry::WriteFileCallback)
BaseType(osg::Referenced);
Constructor0();
Method2(osgDB::ReaderWriter::WriteResult, writeObject, IN, const osg::Object &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeImage, IN, const osg::Image &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeHeightField, IN, const osg::HeightField &, obj, IN, const std::string &, fileName);
Method2(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, obj, IN, const std::string &, fileName);
END_REFLECTOR

View File

@@ -0,0 +1,34 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Geode>
#include <osg/Node>
#include <osgDB/SharedStateManager>
BEGIN_ENUM_REFLECTOR(osgDB::SharedStateManager::ShareMode)
EnumLabel(osgDB::SharedStateManager::SHARE_NONE);
EnumLabel(osgDB::SharedStateManager::SHARE_TEXTURES);
EnumLabel(osgDB::SharedStateManager::SHARE_STATESETS);
EnumLabel(osgDB::SharedStateManager::SHARE_ALL);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgDB::SharedStateManager)
BaseType(osg::NodeVisitor);
Constructor0();
Method1(void, setShareMode, IN, unsigned int, mode);
Method0(unsigned int, getShareMode);
Method0(void, prune);
MethodWithDefaults2(void, share, IN, osg::Node *, node, , IN, OpenThreads::Mutex *, mt, 0);
Method1(void, apply, IN, osg::Node &, node);
Method1(void, apply, IN, osg::Geode &, geode);
Property(unsigned int, ShareMode);
END_REFLECTOR

View File

@@ -0,0 +1,39 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgFX/AnisotropicLighting>
BEGIN_OBJECT_REFLECTOR(osgFX::AnisotropicLighting)
BaseType(osgFX::Effect);
Constructor0();
ConstructorWithDefaults2(IN, const osgFX::AnisotropicLighting &, copy, , 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);
Method0(const char *, effectName);
Method0(const char *, effectDescription);
Method0(const char *, effectAuthor);
Method0(osg::Image *, getLightingMap);
Method0(const osg::Image *, getLightingMap);
Method1(void, setLightingMap, IN, osg::Image *, image);
Method0(int, getLightNumber);
Method1(void, setLightNumber, IN, int, n);
Property(int, LightNumber);
Property(osg::Image *, LightingMap);
END_REFLECTOR

View File

@@ -0,0 +1,55 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Geometry>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Texture2D>
#include <osgFX/BumpMapping>
BEGIN_OBJECT_REFLECTOR(osgFX::BumpMapping)
BaseType(osgFX::Effect);
Constructor0();
ConstructorWithDefaults2(IN, const osgFX::BumpMapping &, copy, , 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);
Method0(const char *, effectName);
Method0(const char *, effectDescription);
Method0(const char *, effectAuthor);
Method0(int, getLightNumber);
Method1(void, setLightNumber, IN, int, n);
Method0(int, getDiffuseTextureUnit);
Method1(void, setDiffuseTextureUnit, IN, int, n);
Method0(int, getNormalMapTextureUnit);
Method1(void, setNormalMapTextureUnit, IN, int, n);
Method0(osg::Texture2D *, getOverrideDiffuseTexture);
Method0(const osg::Texture2D *, getOverrideDiffuseTexture);
Method1(void, setOverrideDiffuseTexture, IN, osg::Texture2D *, texture);
Method0(osg::Texture2D *, getOverrideNormalMapTexture);
Method0(const osg::Texture2D *, getOverrideNormalMapTexture);
Method1(void, setOverrideNormalMapTexture, IN, osg::Texture2D *, texture);
Method1(void, prepareGeometry, IN, osg::Geometry *, geo);
Method1(void, prepareNode, IN, osg::Node *, node);
Method0(void, prepareChildren);
Method0(void, setUpDemo);
Property(int, DiffuseTextureUnit);
Property(int, LightNumber);
Property(int, NormalMapTextureUnit);
Property(osg::Texture2D *, OverrideDiffuseTexture);
Property(osg::Texture2D *, OverrideNormalMapTexture);
END_REFLECTOR

View File

@@ -0,0 +1,41 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec4>
#include <osgFX/Cartoon>
BEGIN_OBJECT_REFLECTOR(osgFX::Cartoon)
BaseType(osgFX::Effect);
Constructor0();
ConstructorWithDefaults2(IN, const osgFX::Cartoon &, copy, , 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);
Method0(const char *, effectName);
Method0(const char *, effectDescription);
Method0(const char *, effectAuthor);
Method0(const osg::Vec4 &, getOutlineColor);
Method1(void, setOutlineColor, IN, const osg::Vec4 &, color);
Method0(float, getOutlineLineWidth);
Method1(void, setOutlineLineWidth, IN, float, w);
Method0(int, getLightNumber);
Method1(void, setLightNumber, IN, int, n);
Property(int, LightNumber);
Property(const osg::Vec4 &, OutlineColor);
Property(float, OutlineLineWidth);
END_REFLECTOR

View File

@@ -0,0 +1,46 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgFX/Effect>
#include <osgFX/Technique>
BEGIN_ENUM_REFLECTOR(osgFX::Effect::TechniqueSelection)
EnumLabel(osgFX::Effect::AUTO_DETECT);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Effect)
BaseType(osg::Group);
Constructor0();
ConstructorWithDefaults2(IN, const osgFX::Effect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method0(const char *, effectName);
Method0(const char *, effectDescription);
Method0(const char *, effectAuthor);
Method0(bool, getEnabled);
Method1(void, setEnabled, IN, bool, v);
Method0(void, setUpDemo);
Method0(int, getNumTechniques);
Method1(osgFX::Technique *, getTechnique, IN, int, i);
Method1(const osgFX::Technique *, getTechnique, IN, int, i);
Method0(int, getSelectedTechnique);
MethodWithDefaults1(void, selectTechnique, IN, int, i, osgFX::Effect::AUTO_DETECT);
Method1(void, traverse, IN, osg::NodeVisitor &, nv);
Method1(void, inherited_traverse, IN, osg::NodeVisitor &, nv);
Property(bool, Enabled);
ReadOnlyProperty(int, SelectedTechnique);
ArrayProperty_G(osgFX::Technique *, Technique, Techniques, int, void);
END_REFLECTOR

View File

@@ -0,0 +1,24 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
AnisotropicLighting.cpp\
BumpMapping.cpp\
Cartoon.cpp\
Effect.cpp\
MultiTextureControl.cpp\
Registry.cpp\
Scribe.cpp\
SpecularHighlights.cpp\
Technique.cpp\
Validator.cpp\
LIBS += -losgFX -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
OPTF = -O
TARGET_BASENAME = osgFX
include $(TOPDIR)/Make/cygwin_wrapper_def
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,32 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgFX/MultiTextureControl>
BEGIN_OBJECT_REFLECTOR(osgFX::MultiTextureControl)
BaseType(osg::Group);
Constructor0();
ConstructorWithDefaults2(IN, const osgFX::MultiTextureControl &, copy, , 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);
Method2(void, setTextureWeight, IN, unsigned int, unit, IN, float, weight);
Method1(float, getTextureWeight, IN, unsigned int, unit);
Method0(unsigned int, getNumTextureWeights);
ArrayProperty_G(float, TextureWeight, TextureWeights, unsigned int, void);
END_REFLECTOR

View File

@@ -0,0 +1,41 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgFX/Effect>
#include <osgFX/Registry>
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< const osgFX::Effect > >, osgFX::Registry::EffectMap);
BEGIN_OBJECT_REFLECTOR(osgFX::Registry)
BaseType(osg::Referenced);
Method1(void, registerEffect, IN, const osgFX::Effect *, effect);
Method0(const osgFX::Registry::EffectMap &, getEffectMap);
ReadOnlyProperty(const osgFX::Registry::EffectMap &, EffectMap);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgFX::Registry::Proxy)
Constructor1(IN, const osgFX::Effect *, effect);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< const osgFX::Effect >)
Constructor0();
Constructor1(IN, const osgFX::Effect *, t);
Constructor1(IN, const osg::ref_ptr< const osgFX::Effect > &, rp);
Method0(bool, valid);
Method0(const osgFX::Effect *, get);
Method0(const const osgFX::Effect *, get);
Method0(const osgFX::Effect *, take);
Method0(const osgFX::Effect *, release);
ReadOnlyProperty(const osgFX::Effect *, );
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< const osgFX::Effect > >);

View File

@@ -0,0 +1,38 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec4>
#include <osgFX/Scribe>
BEGIN_OBJECT_REFLECTOR(osgFX::Scribe)
BaseType(osgFX::Effect);
Constructor0();
ConstructorWithDefaults2(IN, const osgFX::Scribe &, copy, , 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);
Method0(const char *, effectName);
Method0(const char *, effectDescription);
Method0(const char *, effectAuthor);
Method0(const osg::Vec4 &, getWireframeColor);
Method1(void, setWireframeColor, IN, const osg::Vec4 &, color);
Method0(float, getWireframeLineWidth);
Method1(void, setWireframeLineWidth, IN, float, w);
Property(const osg::Vec4 &, WireframeColor);
Property(float, WireframeLineWidth);
END_REFLECTOR

View File

@@ -0,0 +1,44 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec4>
#include <osgFX/SpecularHighlights>
BEGIN_OBJECT_REFLECTOR(osgFX::SpecularHighlights)
BaseType(osgFX::Effect);
Constructor0();
ConstructorWithDefaults2(IN, const osgFX::SpecularHighlights &, copy, , 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);
Method0(const char *, effectName);
Method0(const char *, effectDescription);
Method0(const char *, effectAuthor);
Method0(int, getLightNumber);
Method1(void, setLightNumber, IN, int, n);
Method0(int, getTextureUnit);
Method1(void, setTextureUnit, IN, int, n);
Method0(const osg::Vec4 &, getSpecularColor);
Method1(void, setSpecularColor, IN, const osg::Vec4 &, color);
Method0(float, getSpecularExponent);
Method1(void, setSpecularExponent, IN, float, e);
Property(int, LightNumber);
Property(const osg::Vec4 &, SpecularColor);
Property(float, SpecularExponent);
Property(int, TextureUnit);
END_REFLECTOR

View File

@@ -0,0 +1,32 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/NodeVisitor>
#include <osg/State>
#include <osg/StateSet>
#include <osgFX/Effect>
#include <osgFX/Technique>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Technique)
BaseType(osg::Referenced);
Constructor0();
Method0(const char *, techniqueName);
Method0(const char *, techniqueDescription);
Method1(void, getRequiredExtensions, IN, std::vector< std::string > &, x);
Method1(bool, validate, IN, osg::State &, x);
Method0(int, getNumPasses);
Method1(osg::StateSet *, getPassStateSet, IN, int, i);
Method1(const osg::StateSet *, getPassStateSet, IN, int, i);
Method2(void, traverse, IN, osg::NodeVisitor &, nv, IN, osgFX::Effect *, fx);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< std::string > &);

View File

@@ -0,0 +1,36 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osgFX/Effect>
#include <osgFX/Validator>
BEGIN_OBJECT_REFLECTOR(osgFX::Validator)
BaseType(osg::StateAttribute);
Constructor0();
Constructor1(IN, osgFX::Effect *, effect);
ConstructorWithDefaults2(IN, const osgFX::Validator &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(osg::StateAttribute::Type, getType);
Method1(void, apply, IN, osg::State &, state);
Method1(void, compileGLObjects, IN, osg::State &, state);
Method1(int, compare, IN, const osg::StateAttribute &, sa);
Method0(void, disable);
ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR

View File

@@ -0,0 +1,46 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/AnimationPath>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osgGA/AnimationPathManipulator>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
BEGIN_VALUE_REFLECTOR(osgGA::AnimationPathManipulator)
BaseType(osgGA::MatrixManipulator);
ConstructorWithDefaults1(IN, osg::AnimationPath *, animationPath, 0);
Constructor1(IN, const std::string &, filename);
Method0(const char *, className);
Method1(void, setPrintOutTimingInfo, IN, bool, printOutTiminInfo);
Method0(bool, getPrintOutTimingInfo);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method1(void, setAnimationPath, IN, osg::AnimationPath *, animationPath);
Method0(osg::AnimationPath *, getAnimationPath);
Method0(const osg::AnimationPath *, getAnimationPath);
Method0(bool, valid);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, home, IN, double, currentTime);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Property(osg::AnimationPath *, AnimationPath);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(bool, PrintOutTimingInfo);
END_REFLECTOR

View File

@@ -0,0 +1,41 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osgGA/DriveManipulator>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
BaseType(osgGA::MatrixManipulator);
Constructor0();
Method0(const char *, className);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method1(void, setNode, IN, osg::Node *, x);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
Method0(void, computeHomePosition);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(osg::Node *, Node);
END_REFLECTOR

View File

@@ -0,0 +1,67 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Billboard>
#include <osg/Geode>
#include <osg/Group>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/Node>
#include <osg/OccluderNode>
#include <osg/Projection>
#include <osg/Switch>
#include <osg/Transform>
#include <osgGA/EventVisitor>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >, osgGA::EventVisitor::EventList);
BEGIN_VALUE_REFLECTOR(osgGA::EventVisitor)
BaseType(osg::NodeVisitor);
Constructor0();
Method1(void, setActionAdapter, IN, osgGA::GUIActionAdapter *, actionAdapter);
Method0(osgGA::GUIActionAdapter *, getActionAdapter);
Method0(const osgGA::GUIActionAdapter *, getActionAdapter);
Method1(void, setEventList, IN, const osgGA::EventVisitor::EventList &, events);
Method0(osgGA::EventVisitor::EventList &, getEventList);
Method0(const osgGA::EventVisitor::EventList &, getEventList);
Method1(void, addEvent, IN, osgGA::GUIEventAdapter *, event);
Method1(void, removeEvent, IN, osgGA::GUIEventAdapter *, event);
Method0(void, reset);
Method1(void, apply, IN, osg::Node &, node);
Method1(void, apply, IN, osg::Geode &, node);
Method1(void, apply, IN, osg::Billboard &, node);
Method1(void, apply, IN, osg::LightSource &, node);
Method1(void, apply, IN, osg::Group &, node);
Method1(void, apply, IN, osg::Transform &, node);
Method1(void, apply, IN, osg::Projection &, node);
Method1(void, apply, IN, osg::Switch &, node);
Method1(void, apply, IN, osg::LOD &, node);
Method1(void, apply, IN, osg::OccluderNode &, node);
Property(osgGA::GUIActionAdapter *, ActionAdapter);
Property(const osgGA::EventVisitor::EventList &, EventList);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventAdapter >)
Constructor0();
Constructor1(IN, osgGA::GUIEventAdapter *, t);
Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventAdapter > &, rp);
Method0(bool, valid);
Method0(osgGA::GUIEventAdapter *, get);
Method0(const osgGA::GUIEventAdapter *, get);
Method0(osgGA::GUIEventAdapter *, take);
Method0(osgGA::GUIEventAdapter *, release);
ReadOnlyProperty(osgGA::GUIEventAdapter *, );
END_REFLECTOR
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgGA::GUIEventAdapter > >);

View File

@@ -0,0 +1,47 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osgGA/FlightManipulator>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
BEGIN_ENUM_REFLECTOR(osgGA::FlightManipulator::YawControlMode)
EnumLabel(osgGA::FlightManipulator::YAW_AUTOMATICALLY_WHEN_BANKED);
EnumLabel(osgGA::FlightManipulator::NO_AUTOMATIC_YAW);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
BaseType(osgGA::MatrixManipulator);
Constructor0();
Method0(const char *, className);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method1(void, setNode, IN, osg::Node *, x);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Method1(void, setYawControlMode, IN, osgGA::FlightManipulator::YawControlMode, ycm);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(osg::Node *, Node);
WriteOnlyProperty(osgGA::FlightManipulator::YawControlMode, YawControlMode);
END_REFLECTOR

View File

@@ -0,0 +1,30 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
AnimationPathManipulator.cpp\
DriveManipulator.cpp\
EventVisitor.cpp\
FlightManipulator.cpp\
GUIActionAdapter.cpp\
GUIEventAdapter.cpp\
GUIEventHandler.cpp\
GUIEventHandlerVisitor.cpp\
KeySwitchMatrixManipulator.cpp\
MatrixManipulator.cpp\
NodeTrackerManipulator.cpp\
SetSceneViewVisitor.cpp\
StateSetManipulator.cpp\
TerrainManipulator.cpp\
TrackballManipulator.cpp\
UFOManipulator.cpp\
LIBS += -losgGA -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
OPTF = -O
TARGET_BASENAME = osgGA
include $(TOPDIR)/Make/cygwin_wrapper_def
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,20 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgGA/GUIActionAdapter>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIActionAdapter)
Constructor0();
Method0(void, requestRedraw);
MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true);
Method2(void, requestWarpPointer, IN, float, x, IN, float, y);
END_REFLECTOR

View File

@@ -0,0 +1,217 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgGA/GUIEventAdapter>
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseButtonMask)
EnumLabel(osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON);
EnumLabel(osgGA::GUIEventAdapter::MIDDLE_MOUSE_BUTTON);
EnumLabel(osgGA::GUIEventAdapter::RIGHT_MOUSE_BUTTON);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::EventType)
EnumLabel(osgGA::GUIEventAdapter::NONE);
EnumLabel(osgGA::GUIEventAdapter::PUSH);
EnumLabel(osgGA::GUIEventAdapter::RELEASE);
EnumLabel(osgGA::GUIEventAdapter::DOUBLECLICK);
EnumLabel(osgGA::GUIEventAdapter::DRAG);
EnumLabel(osgGA::GUIEventAdapter::MOVE);
EnumLabel(osgGA::GUIEventAdapter::KEYDOWN);
EnumLabel(osgGA::GUIEventAdapter::KEYUP);
EnumLabel(osgGA::GUIEventAdapter::FRAME);
EnumLabel(osgGA::GUIEventAdapter::RESIZE);
EnumLabel(osgGA::GUIEventAdapter::SCROLLUP);
EnumLabel(osgGA::GUIEventAdapter::SCROLLDOWN);
EnumLabel(osgGA::GUIEventAdapter::SCROLLLEFT);
EnumLabel(osgGA::GUIEventAdapter::SCROLLRIGHT);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::KeySymbol)
EnumLabel(osgGA::GUIEventAdapter::KEY_Space);
EnumLabel(osgGA::GUIEventAdapter::KEY_BackSpace);
EnumLabel(osgGA::GUIEventAdapter::KEY_Tab);
EnumLabel(osgGA::GUIEventAdapter::KEY_Linefeed);
EnumLabel(osgGA::GUIEventAdapter::KEY_Clear);
EnumLabel(osgGA::GUIEventAdapter::KEY_Return);
EnumLabel(osgGA::GUIEventAdapter::KEY_Pause);
EnumLabel(osgGA::GUIEventAdapter::KEY_Scroll_Lock);
EnumLabel(osgGA::GUIEventAdapter::KEY_Sys_Req);
EnumLabel(osgGA::GUIEventAdapter::KEY_Escape);
EnumLabel(osgGA::GUIEventAdapter::KEY_Delete);
EnumLabel(osgGA::GUIEventAdapter::KEY_Home);
EnumLabel(osgGA::GUIEventAdapter::KEY_Left);
EnumLabel(osgGA::GUIEventAdapter::KEY_Up);
EnumLabel(osgGA::GUIEventAdapter::KEY_Right);
EnumLabel(osgGA::GUIEventAdapter::KEY_Down);
EnumLabel(osgGA::GUIEventAdapter::KEY_Prior);
EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Up);
EnumLabel(osgGA::GUIEventAdapter::KEY_Next);
EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Down);
EnumLabel(osgGA::GUIEventAdapter::KEY_End);
EnumLabel(osgGA::GUIEventAdapter::KEY_Begin);
EnumLabel(osgGA::GUIEventAdapter::KEY_Select);
EnumLabel(osgGA::GUIEventAdapter::KEY_Print);
EnumLabel(osgGA::GUIEventAdapter::KEY_Execute);
EnumLabel(osgGA::GUIEventAdapter::KEY_Insert);
EnumLabel(osgGA::GUIEventAdapter::KEY_Undo);
EnumLabel(osgGA::GUIEventAdapter::KEY_Redo);
EnumLabel(osgGA::GUIEventAdapter::KEY_Menu);
EnumLabel(osgGA::GUIEventAdapter::KEY_Find);
EnumLabel(osgGA::GUIEventAdapter::KEY_Cancel);
EnumLabel(osgGA::GUIEventAdapter::KEY_Help);
EnumLabel(osgGA::GUIEventAdapter::KEY_Break);
EnumLabel(osgGA::GUIEventAdapter::KEY_Mode_switch);
EnumLabel(osgGA::GUIEventAdapter::KEY_Script_switch);
EnumLabel(osgGA::GUIEventAdapter::KEY_Num_Lock);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Space);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Tab);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Enter);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F1);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F2);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F3);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F4);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Home);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Left);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Up);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Right);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Down);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Prior);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Up);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Next);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Down);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_End);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Begin);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Insert);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Delete);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Equal);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Multiply);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Add);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Separator);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Subtract);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Decimal);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Divide);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_0);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_1);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_2);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_3);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_4);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_5);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_6);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_7);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_8);
EnumLabel(osgGA::GUIEventAdapter::KEY_KP_9);
EnumLabel(osgGA::GUIEventAdapter::KEY_F1);
EnumLabel(osgGA::GUIEventAdapter::KEY_F2);
EnumLabel(osgGA::GUIEventAdapter::KEY_F3);
EnumLabel(osgGA::GUIEventAdapter::KEY_F4);
EnumLabel(osgGA::GUIEventAdapter::KEY_F5);
EnumLabel(osgGA::GUIEventAdapter::KEY_F6);
EnumLabel(osgGA::GUIEventAdapter::KEY_F7);
EnumLabel(osgGA::GUIEventAdapter::KEY_F8);
EnumLabel(osgGA::GUIEventAdapter::KEY_F9);
EnumLabel(osgGA::GUIEventAdapter::KEY_F10);
EnumLabel(osgGA::GUIEventAdapter::KEY_F11);
EnumLabel(osgGA::GUIEventAdapter::KEY_F12);
EnumLabel(osgGA::GUIEventAdapter::KEY_F13);
EnumLabel(osgGA::GUIEventAdapter::KEY_F14);
EnumLabel(osgGA::GUIEventAdapter::KEY_F15);
EnumLabel(osgGA::GUIEventAdapter::KEY_F16);
EnumLabel(osgGA::GUIEventAdapter::KEY_F17);
EnumLabel(osgGA::GUIEventAdapter::KEY_F18);
EnumLabel(osgGA::GUIEventAdapter::KEY_F19);
EnumLabel(osgGA::GUIEventAdapter::KEY_F20);
EnumLabel(osgGA::GUIEventAdapter::KEY_F21);
EnumLabel(osgGA::GUIEventAdapter::KEY_F22);
EnumLabel(osgGA::GUIEventAdapter::KEY_F23);
EnumLabel(osgGA::GUIEventAdapter::KEY_F24);
EnumLabel(osgGA::GUIEventAdapter::KEY_F25);
EnumLabel(osgGA::GUIEventAdapter::KEY_F26);
EnumLabel(osgGA::GUIEventAdapter::KEY_F27);
EnumLabel(osgGA::GUIEventAdapter::KEY_F28);
EnumLabel(osgGA::GUIEventAdapter::KEY_F29);
EnumLabel(osgGA::GUIEventAdapter::KEY_F30);
EnumLabel(osgGA::GUIEventAdapter::KEY_F31);
EnumLabel(osgGA::GUIEventAdapter::KEY_F32);
EnumLabel(osgGA::GUIEventAdapter::KEY_F33);
EnumLabel(osgGA::GUIEventAdapter::KEY_F34);
EnumLabel(osgGA::GUIEventAdapter::KEY_F35);
EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_L);
EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_R);
EnumLabel(osgGA::GUIEventAdapter::KEY_Control_L);
EnumLabel(osgGA::GUIEventAdapter::KEY_Control_R);
EnumLabel(osgGA::GUIEventAdapter::KEY_Caps_Lock);
EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_Lock);
EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_L);
EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_R);
EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_L);
EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_R);
EnumLabel(osgGA::GUIEventAdapter::KEY_Super_L);
EnumLabel(osgGA::GUIEventAdapter::KEY_Super_R);
EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_L);
EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_R);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::ModKeyMask)
EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_SHIFT);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_SHIFT);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_CTRL);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_CTRL);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_ALT);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_ALT);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_META);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_META);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_NUM_LOCK);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_CAPS_LOCK);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_CTRL);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_SHIFT);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_ALT);
EnumLabel(osgGA::GUIEventAdapter::MODKEY_META);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseYOrientation)
EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS);
EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIEventAdapter)
BaseType(osg::Referenced);
Method0(osgGA::GUIEventAdapter::EventType, getEventType);
Method0(int, getKey);
Method0(int, getButton);
Method1(void, setMouseYOrientation, IN, osgGA::GUIEventAdapter::MouseYOrientation, myo);
Method0(osgGA::GUIEventAdapter::MouseYOrientation, getMouseYOrientation);
Method0(float, getXmin);
Method0(float, getXmax);
Method0(float, getYmin);
Method0(float, getYmax);
Method0(float, getX);
Method0(float, getY);
Method0(unsigned int, getButtonMask);
Method0(unsigned int, getModKeyMask);
Method0(double, time);
Method0(float, getXnormalized);
Method0(float, getYnormalized);
ReadOnlyProperty(int, Button);
ReadOnlyProperty(unsigned int, ButtonMask);
ReadOnlyProperty(osgGA::GUIEventAdapter::EventType, EventType);
ReadOnlyProperty(int, Key);
ReadOnlyProperty(unsigned int, ModKeyMask);
Property(osgGA::GUIEventAdapter::MouseYOrientation, MouseYOrientation);
ReadOnlyProperty(float, X);
ReadOnlyProperty(float, Xmax);
ReadOnlyProperty(float, Xmin);
ReadOnlyProperty(float, Xnormalized);
ReadOnlyProperty(float, Y);
ReadOnlyProperty(float, Ymax);
ReadOnlyProperty(float, Ymin);
ReadOnlyProperty(float, Ynormalized);
END_REFLECTOR

View File

@@ -0,0 +1,78 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/GUIEventHandler>
#include <osgGA/GUIEventHandlerVisitor>
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgGA::GUIEventHandler > >, osgGA::CompositeGUIEventHandler::ChildList);
BEGIN_VALUE_REFLECTOR(osgGA::CompositeGUIEventHandler)
BaseType(osgGA::GUIEventHandler);
Constructor0();
Method0(const char *, className);
Method0(const osgGA::CompositeGUIEventHandler *, getComposite);
Method0(osgGA::CompositeGUIEventHandler *, getComposite);
Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, object, IN, osg::NodeVisitor *, nv);
Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, v);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Method1(bool, addChild, IN, osgGA::GUIEventHandler *, geh);
Method1(bool, removeChild, IN, osgGA::GUIEventHandler *, geh);
Method0(unsigned int, getNumChildren);
Method1(osgGA::GUIEventHandler *, getChild, IN, unsigned int, i);
Method1(const osgGA::GUIEventHandler *, getChild, IN, unsigned int, i);
Method1(bool, containsNode, IN, const osgGA::GUIEventHandler *, node);
Method1(ChildList::iterator, findChild, IN, const osgGA::GUIEventHandler *, node);
ArrayProperty_GA(osgGA::GUIEventHandler *, Child, Children, unsigned int, bool);
ReadOnlyProperty(osgGA::CompositeGUIEventHandler *, Composite);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgGA::GUIEventHandler)
BaseType(osg::NodeCallback);
BaseType(osg::Drawable::EventCallback);
Constructor0();
Constructor2(IN, const osgGA::GUIEventHandler &, x, IN, const osg::CopyOp &, x);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method2(void, event, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable);
Method0(const osgGA::CompositeGUIEventHandler *, getComposite);
Method0(osgGA::CompositeGUIEventHandler *, getComposite);
Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x);
Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, x);
Method1(void, getUsage, IN, osg::ApplicationUsage &, x);
ReadOnlyProperty(osgGA::CompositeGUIEventHandler *, Composite);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventHandler >)
Constructor0();
Constructor1(IN, osgGA::GUIEventHandler *, t);
Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventHandler > &, rp);
Method0(bool, valid);
Method0(osgGA::GUIEventHandler *, get);
Method0(const osgGA::GUIEventHandler *, get);
Method0(osgGA::GUIEventHandler *, take);
Method0(osgGA::GUIEventHandler *, release);
ReadOnlyProperty(osgGA::GUIEventHandler *, );
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgGA::GUIEventHandler > >);

View File

@@ -0,0 +1,29 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/GUIEventHandler>
#include <osgGA/GUIEventHandlerVisitor>
#include <osgGA/MatrixManipulator>
#include <osgGA/StateSetManipulator>
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandlerVisitor)
Method1(void, visit, IN, osgGA::GUIEventHandler &, x);
Method1(void, visit, IN, osgGA::CompositeGUIEventHandler &, x);
Method1(void, visit, IN, osgGA::MatrixManipulator &, x);
Method1(void, visit, IN, osgGA::StateSetManipulator &, x);
Method0(const osgGA::GUIEventAdapter *, getGUIEventAdapter);
Method0(osgGA::GUIActionAdapter *, getGUIActionAdapter);
ReadOnlyProperty(osgGA::GUIActionAdapter *, GUIActionAdapter);
ReadOnlyProperty(const osgGA::GUIEventAdapter *, GUIEventAdapter);
END_REFLECTOR

View File

@@ -0,0 +1,88 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/Vec3d>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/KeySwitchMatrixManipulator>
#include <osgGA/MatrixManipulator>
#include <osgUtil/SceneView>
TYPE_NAME_ALIAS(std::pair< std::string COMMA osg::ref_ptr< osgGA::MatrixManipulator > >, osgGA::KeySwitchMatrixManipulator::NamedManipulator);
TYPE_NAME_ALIAS(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >, osgGA::KeySwitchMatrixManipulator::KeyManipMap);
BEGIN_VALUE_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
BaseType(osgGA::MatrixManipulator);
Constructor0();
Method0(const char *, className);
Method3(void, addMatrixManipulator, IN, int, key, IN, std::string, name, IN, osgGA::MatrixManipulator *, cm);
Method1(void, addNumberedMatrixManipulator, IN, osgGA::MatrixManipulator *, cm);
Method0(unsigned int, getNumMatrixManipulators);
Method1(void, selectMatrixManipulator, IN, unsigned int, num);
Method0(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap);
Method0(const osgGA::KeySwitchMatrixManipulator::KeyManipMap &, getKeyManipMap);
Method0(osgGA::MatrixManipulator *, getCurrentMatrixManipulator);
Method0(const osgGA::MatrixManipulator *, getCurrentMatrixManipulator);
Method1(osgGA::MatrixManipulator *, getMatrixManipulator, IN, unsigned int, key);
Method1(const osgGA::MatrixManipulator *, getMatrixManipulator, IN, unsigned int, key);
Method1(void, setMinimumDistance, IN, float, minimumDistance);
Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode);
Method0(float, getFusionDistanceValue);
Method1(void, setNode, IN, osg::Node *, n);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false);
Method1(void, setAutoComputeHomePosition, IN, bool, flag);
Method0(void, computeHomePosition);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
WriteOnlyProperty(bool, AutoComputeHomePosition);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
WriteOnlyProperty(osgGA::MatrixManipulator::CoordinateFrameCallback *, CoordinateFrameCallback);
ReadOnlyProperty(osgGA::MatrixManipulator *, CurrentMatrixManipulator);
ReadOnlyProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode);
ReadOnlyProperty(float, FusionDistanceValue);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osgGA::KeySwitchMatrixManipulator::KeyManipMap &, KeyManipMap);
ReadOnlyProperty(osg::Matrixd, Matrix);
ArrayProperty_G(osgGA::MatrixManipulator *, MatrixManipulator, MatrixManipulators, unsigned int, void);
WriteOnlyProperty(float, MinimumDistance);
Property(osg::Node *, Node);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::MatrixManipulator >)
Constructor0();
Constructor1(IN, osgGA::MatrixManipulator *, t);
Constructor1(IN, const osg::ref_ptr< osgGA::MatrixManipulator > &, rp);
Method0(bool, valid);
Method0(osgGA::MatrixManipulator *, get);
Method0(const osgGA::MatrixManipulator *, get);
Method0(osgGA::MatrixManipulator *, take);
Method0(osgGA::MatrixManipulator *, release);
ReadOnlyProperty(osgGA::MatrixManipulator *, );
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< int COMMA osgGA::KeySwitchMatrixManipulator::NamedManipulator >);
STD_PAIR_REFLECTOR(std::pair< std::string COMMA osg::ref_ptr< osgGA::MatrixManipulator > >);

View File

@@ -0,0 +1,73 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CoordinateSystemNode>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/Vec3d>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/GUIEventHandlerVisitor>
#include <osgGA/MatrixManipulator>
#include <osgUtil/SceneView>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator)
BaseType(osgGA::GUIEventHandler);
Method0(const char *, className);
Method1(void, setMinimumDistance, IN, float, minimumDistance);
Method0(float, getMinimumDistance);
Method1(void, setCoordinateFrameCallback, IN, osgGA::MatrixManipulator::CoordinateFrameCallback *, cb);
Method0(osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback);
Method0(const osgGA::MatrixManipulator::CoordinateFrameCallback *, getCoordinateFrameCallback);
Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position);
Method1(osg::Vec3d, getSideVector, IN, const osg::CoordinateFrame &, cf);
Method1(osg::Vec3d, getFrontVector, IN, const osg::CoordinateFrame &, cf);
Method1(osg::Vec3d, getUpVector, IN, const osg::CoordinateFrame &, cf);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode);
Method0(float, getFusionDistanceValue);
Method1(void, setIntersectTraversalMask, IN, unsigned int, mask);
Method0(unsigned int, getIntersectTraversalMask);
Method1(void, setNode, IN, osg::Node *, x);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
MethodWithDefaults4(void, setHomePosition, IN, const osg::Vec3d &, eye, , IN, const osg::Vec3d &, center, , IN, const osg::Vec3d &, up, , IN, bool, autoComputeHomePosition, false);
Method3(void, getHomePosition, IN, osg::Vec3d &, eye, IN, osg::Vec3d &, center, IN, osg::Vec3d &, up);
Method1(void, setAutoComputeHomePosition, IN, bool, flag);
Method0(bool, getAutoComputeHomePosition);
Method0(void, computeHomePosition);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x);
Method1(void, home, IN, double, x);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, v);
Property(bool, AutoComputeHomePosition);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
Property(osgGA::MatrixManipulator::CoordinateFrameCallback *, CoordinateFrameCallback);
ReadOnlyProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode);
ReadOnlyProperty(float, FusionDistanceValue);
Property(unsigned int, IntersectTraversalMask);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(float, MinimumDistance);
Property(osg::Node *, Node);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator::CoordinateFrameCallback)
BaseType(osg::Referenced);
Constructor0();
Method1(osg::CoordinateFrame, getCoordinateFrame, IN, const osg::Vec3d &, position);
END_REFLECTOR

View File

@@ -0,0 +1,74 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/RefNodePath>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/NodeTrackerManipulator>
#include <osgUtil/SceneView>
BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::TrackerMode)
EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER);
EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER_AND_AZIM);
EnumLabel(osgGA::NodeTrackerManipulator::NODE_CENTER_AND_ROTATION);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgGA::NodeTrackerManipulator::RotationMode)
EnumLabel(osgGA::NodeTrackerManipulator::TRACKBALL);
EnumLabel(osgGA::NodeTrackerManipulator::ELEVATION_AZIM);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgGA::NodeTrackerManipulator)
BaseType(osgGA::MatrixManipulator);
Constructor0();
Method0(const char *, className);
Method1(void, setTrackNodePath, IN, const osg::RefNodePath &, nodePath);
Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath);
Method0(osg::RefNodePath &, getTrackNodePath);
Method0(const osg::RefNodePath &, getTrackNodePath);
Method1(void, setTrackNode, IN, osg::Node *, node);
Method0(osg::Node *, getTrackNode);
Method0(const osg::Node *, getTrackNode);
Method1(void, setTrackerMode, IN, osgGA::NodeTrackerManipulator::TrackerMode, mode);
Method0(osgGA::NodeTrackerManipulator::TrackerMode, getTrackerNode);
Method1(void, setRotationMode, IN, osgGA::NodeTrackerManipulator::RotationMode, mode);
Method0(osgGA::NodeTrackerManipulator::RotationMode, getRotationMode);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode);
Method0(float, getFusionDistanceValue);
Method1(void, setNode, IN, osg::Node *, x);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
Method0(void, computeHomePosition);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
ReadOnlyProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode);
ReadOnlyProperty(float, FusionDistanceValue);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(osg::Node *, Node);
Property(osgGA::NodeTrackerManipulator::RotationMode, RotationMode);
Property(osg::Node *, TrackNode);
Property(const osg::RefNodePath &, TrackNodePath);
WriteOnlyProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerMode);
ReadOnlyProperty(osgGA::NodeTrackerManipulator::TrackerMode, TrackerNode);
END_REFLECTOR

View File

@@ -0,0 +1,25 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/MatrixManipulator>
#include <osgGA/SetSceneViewVisitor>
#include <osgGA/StateSetManipulator>
#include <osgUtil/SceneView>
BEGIN_VALUE_REFLECTOR(osgGA::SetSceneViewVisitor)
BaseType(osgGA::GUIEventHandlerVisitor);
Constructor3(IN, osgGA::GUIEventAdapter *, in, IN, osgGA::GUIActionAdapter *, out, IN, osgUtil::SceneView *, sv);
Method1(void, visit, IN, osgGA::MatrixManipulator &, cm);
Method1(void, visit, IN, osgGA::StateSetManipulator &, cm);
END_REFLECTOR

View File

@@ -0,0 +1,31 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/StateSet>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/GUIEventHandlerVisitor>
#include <osgGA/StateSetManipulator>
BEGIN_VALUE_REFLECTOR(osgGA::StateSetManipulator)
BaseType(osgGA::GUIEventHandler);
Constructor0();
Method0(const char *, className);
Method1(void, setStateSet, IN, osg::StateSet *, x);
Method0(osg::StateSet *, getStateSet);
Method0(const osg::StateSet *, getStateSet);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, x);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Property(osg::StateSet *, StateSet);
END_REFLECTOR

View File

@@ -0,0 +1,53 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/TerrainManipulator>
#include <osgUtil/SceneView>
BEGIN_ENUM_REFLECTOR(osgGA::TerrainManipulator::RotationMode)
EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM_ROLL);
EnumLabel(osgGA::TerrainManipulator::ELEVATION_AZIM);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgGA::TerrainManipulator)
BaseType(osgGA::MatrixManipulator);
Constructor0();
Method0(const char *, className);
Method1(void, setRotationMode, IN, osgGA::TerrainManipulator::RotationMode, mode);
Method0(osgGA::TerrainManipulator::RotationMode, getRotationMode);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode);
Method0(float, getFusionDistanceValue);
Method1(void, setNode, IN, osg::Node *, x);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
ReadOnlyProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode);
ReadOnlyProperty(float, FusionDistanceValue);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(osg::Node *, Node);
Property(osgGA::TerrainManipulator::RotationMode, RotationMode);
END_REFLECTOR

View File

@@ -0,0 +1,52 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/TrackballManipulator>
#include <osgUtil/SceneView>
BEGIN_OBJECT_REFLECTOR(osgGA::TrackballManipulator)
BaseType(osgGA::MatrixManipulator);
Constructor0();
Method0(const char *, className);
Method1(void, setMinimumZoomScale, IN, float, minimumZoomScale);
Method0(float, getMinimumZoomScale);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method0(osgUtil::SceneView::FusionDistanceMode, getFusionDistanceMode);
Method0(float, getFusionDistanceValue);
Method1(void, setNode, IN, osg::Node *, x);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, home, IN, double, x);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Method1(void, setTrackballSize, IN, float, size);
Method0(float, getTrackballSize);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
ReadOnlyProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode);
ReadOnlyProperty(float, FusionDistanceValue);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(float, MinimumZoomScale);
Property(osg::Node *, Node);
Property(float, TrackballSize);
END_REFLECTOR

View File

@@ -0,0 +1,48 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/Vec3>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/UFOManipulator>
BEGIN_VALUE_REFLECTOR(osgGA::UFOManipulator)
BaseType(osgGA::MatrixManipulator);
Constructor0();
Method0(const char *, className);
Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix);
Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, invmat);
Method0(osg::Matrixd, getMatrix);
Method0(osg::Matrixd, getInverseMatrix);
Method1(void, setNode, IN, osg::Node *, x);
Method0(const osg::Node *, getNode);
Method0(osg::Node *, getNode);
Method0(void, computeHomePosition);
Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x);
Method1(void, home, IN, double, x);
Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Method3(void, getCurrentPositionAsLookAt, IN, osg::Vec3 &, eye, IN, osg::Vec3 &, center, IN, osg::Vec3 &, up);
WriteOnlyProperty(const osg::Matrixd &, ByInverseMatrix);
WriteOnlyProperty(const osg::Matrixd &, ByMatrix);
ReadOnlyProperty(osg::Matrixd, InverseMatrix);
ReadOnlyProperty(osg::Matrixd, Matrix);
Property(osg::Node *, Node);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(UFOManipulator)
Constructor0();
END_REFLECTOR

View File

@@ -0,0 +1,36 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/AccelOperator>
#include <osgParticle/Particle>
#include <osgParticle/Program>
BEGIN_OBJECT_REFLECTOR(osgParticle::AccelOperator)
BaseType(osgParticle::Operator);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::AccelOperator &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(const osg::Vec3 &, getAcceleration);
Method1(void, setAcceleration, IN, const osg::Vec3 &, v);
MethodWithDefaults1(void, setToGravity, IN, float, scale, 1);
Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt);
Method1(void, beginOperate, IN, osgParticle::Program *, prg);
Property(const osg::Vec3 &, Acceleration);
WriteOnlyProperty(float, ToGravity);
END_REFLECTOR

View File

@@ -0,0 +1,34 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/AngularAccelOperator>
#include <osgParticle/Particle>
#include <osgParticle/Program>
BEGIN_OBJECT_REFLECTOR(osgParticle::AngularAccelOperator)
BaseType(osgParticle::Operator);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::AngularAccelOperator &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(const osg::Vec3 &, getAngularAcceleration);
Method1(void, setAngularAcceleration, IN, const osg::Vec3 &, v);
Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt);
Method1(void, beginOperate, IN, osgParticle::Program *, prg);
Property(const osg::Vec3 &, AngularAcceleration);
END_REFLECTOR

View File

@@ -0,0 +1,29 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/CenteredPlacer>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
BaseType(osgParticle::Placer);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::CenteredPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const osg::Vec3 &, getCenter);
Method1(void, setCenter, IN, const osg::Vec3 &, v);
Method3(void, setCenter, IN, float, x, IN, float, y, IN, float, z);
Property(const osg::Vec3 &, Center);
END_REFLECTOR

View File

@@ -0,0 +1,25 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/Counter>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Counter)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::Counter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method1(int, numParticlesToCreate, IN, double, dt);
END_REFLECTOR

View File

@@ -0,0 +1,33 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgParticle/Emitter>
#include <osgParticle/Particle>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Emitter)
BaseType(osgParticle::ParticleProcessor);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::Emitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method1(void, accept, IN, osg::NodeVisitor &, nv);
Method0(const osgParticle::Particle &, getParticleTemplate);
Method1(void, setParticleTemplate, IN, const osgParticle::Particle &, p);
Method0(bool, getUseDefaultTemplate);
Method1(void, setUseDefaultTemplate, IN, bool, v);
Property(const osgParticle::Particle &, ParticleTemplate);
Property(bool, UseDefaultTemplate);
END_REFLECTOR

View File

@@ -0,0 +1,39 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/Emitter>
#include <osgParticle/ExplosionDebriEffect>
#include <osgParticle/Program>
BEGIN_VALUE_REFLECTOR(osgParticle::ExplosionDebriEffect)
BaseType(osgParticle::ParticleEffect);
ConstructorWithDefaults3(IN, const osg::Vec3 &, position, osg::Vec3(0.0f, 0.0f, 0.0f), IN, float, scale, 1.0f, IN, float, intensity, 1.0f);
ConstructorWithDefaults2(IN, const osgParticle::ExplosionDebriEffect &, copy, , 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);
Method0(void, setDefaults);
Method0(void, setUpEmitterAndProgram);
Method0(osgParticle::Emitter *, getEmitter);
Method0(const osgParticle::Emitter *, getEmitter);
Method0(osgParticle::Program *, getProgram);
Method0(const osgParticle::Program *, getProgram);
ReadOnlyProperty(osgParticle::Emitter *, Emitter);
ReadOnlyProperty(osgParticle::Program *, Program);
END_REFLECTOR

View File

@@ -0,0 +1,39 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/Emitter>
#include <osgParticle/ExplosionEffect>
#include <osgParticle/Program>
BEGIN_VALUE_REFLECTOR(osgParticle::ExplosionEffect)
BaseType(osgParticle::ParticleEffect);
ConstructorWithDefaults3(IN, const osg::Vec3 &, position, osg::Vec3(0.0f, 0.0f, 0.0f), IN, float, scale, 1.0f, IN, float, intensity, 1.0f);
ConstructorWithDefaults2(IN, const osgParticle::ExplosionEffect &, copy, , 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);
Method0(void, setDefaults);
Method0(void, setUpEmitterAndProgram);
Method0(osgParticle::Emitter *, getEmitter);
Method0(const osgParticle::Emitter *, getEmitter);
Method0(osgParticle::Program *, getProgram);
Method0(const osgParticle::Program *, getProgram);
ReadOnlyProperty(osgParticle::Emitter *, Emitter);
ReadOnlyProperty(osgParticle::Program *, Program);
END_REFLECTOR

View File

@@ -0,0 +1,39 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/Emitter>
#include <osgParticle/FireEffect>
#include <osgParticle/Program>
BEGIN_VALUE_REFLECTOR(osgParticle::FireEffect)
BaseType(osgParticle::ParticleEffect);
ConstructorWithDefaults3(IN, const osg::Vec3 &, position, osg::Vec3(0.0f, 0.0f, 0.0f), IN, float, scale, 1.0f, IN, float, intensity, 1.0f);
ConstructorWithDefaults2(IN, const osgParticle::FireEffect &, copy, , 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);
Method0(void, setDefaults);
Method0(void, setUpEmitterAndProgram);
Method0(osgParticle::Emitter *, getEmitter);
Method0(const osgParticle::Emitter *, getEmitter);
Method0(osgParticle::Program *, getProgram);
Method0(const osgParticle::Program *, getProgram);
ReadOnlyProperty(osgParticle::Emitter *, Emitter);
ReadOnlyProperty(osgParticle::Program *, Program);
END_REFLECTOR

View File

@@ -0,0 +1,45 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/FluidFrictionOperator>
#include <osgParticle/Particle>
#include <osgParticle/Program>
BEGIN_OBJECT_REFLECTOR(osgParticle::FluidFrictionOperator)
BaseType(osgParticle::Operator);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::FluidFrictionOperator &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method1(void, setFluidDensity, IN, float, d);
Method0(float, getFluidDensity);
Method1(void, setFluidViscosity, IN, float, v);
Method0(float, getFluidViscosity);
Method1(void, setWind, IN, const osg::Vec3 &, wind);
Method0(const osg::Vec3 &, getWind);
Method1(void, setOverrideRadius, IN, float, r);
Method0(float, getOverrideRadius);
Method0(void, setFluidToAir);
Method0(void, setFluidToWater);
Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt);
Method1(void, beginOperate, IN, osgParticle::Program *, prg);
Property(float, FluidDensity);
Property(float, FluidViscosity);
Property(float, OverrideRadius);
Property(const osg::Vec3 &, Wind);
END_REFLECTOR

View File

@@ -0,0 +1,45 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/FluidProgram>
BEGIN_OBJECT_REFLECTOR(osgParticle::FluidProgram)
BaseType(osgParticle::Program);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::FluidProgram &, copy, , 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, setFluidViscosity, IN, float, v);
Method0(float, getFluidViscosity);
Method1(void, setFluidDensity, IN, float, d);
Method0(float, getFluidDensity);
Method1(void, setWind, IN, const osg::Vec3 &, wind);
Method0(const osg::Vec3 &, getWind);
Method1(void, setAcceleration, IN, const osg::Vec3 &, v);
Method0(const osg::Vec3 &, getAcceleration);
MethodWithDefaults1(void, setToGravity, IN, float, scale, 1.0f);
Method0(void, setFluidToAir);
Method0(void, setFluidToWater);
Property(const osg::Vec3 &, Acceleration);
Property(float, FluidDensity);
Property(float, FluidViscosity);
WriteOnlyProperty(float, ToGravity);
Property(const osg::Vec3 &, Wind);
END_REFLECTOR

View File

@@ -0,0 +1,34 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/ForceOperator>
#include <osgParticle/Particle>
#include <osgParticle/Program>
BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator)
BaseType(osgParticle::Operator);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::ForceOperator &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(const osg::Vec3 &, getForce);
Method1(void, setForce, IN, const osg::Vec3 &, f);
Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt);
Method1(void, beginOperate, IN, osgParticle::Program *, prg);
Property(const osg::Vec3 &, Force);
END_REFLECTOR

View File

@@ -0,0 +1,48 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
AccelOperator.cpp\
AngularAccelOperator.cpp\
CenteredPlacer.cpp\
Counter.cpp\
Emitter.cpp\
ExplosionDebriEffect.cpp\
ExplosionEffect.cpp\
FireEffect.cpp\
FluidFrictionOperator.cpp\
FluidProgram.cpp\
ForceOperator.cpp\
Interpolator.cpp\
LinearInterpolator.cpp\
ModularEmitter.cpp\
ModularProgram.cpp\
MultiSegmentPlacer.cpp\
Operator.cpp\
Particle.cpp\
ParticleEffect.cpp\
ParticleProcessor.cpp\
ParticleSystem.cpp\
ParticleSystemUpdater.cpp\
Placer.cpp\
PointPlacer.cpp\
Program.cpp\
RadialShooter.cpp\
RandomRateCounter.cpp\
range.cpp\
SectorPlacer.cpp\
SegmentPlacer.cpp\
Shooter.cpp\
SmokeEffect.cpp\
VariableRateCounter.cpp\
LIBS += -losgParticle -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
OPTF = -O
TARGET_BASENAME = osgParticle
include $(TOPDIR)/Make/cygwin_wrapper_def
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,31 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec2>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osgParticle/Interpolator>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Interpolator)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::Interpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2);
Method3(osg::Vec2, interpolate, IN, float, t, IN, const osg::Vec2 &, y1, IN, const osg::Vec2 &, y2);
Method3(osg::Vec3, interpolate, IN, float, t, IN, const osg::Vec3 &, y1, IN, const osg::Vec3 &, y2);
Method3(osg::Vec4, interpolate, IN, float, t, IN, const osg::Vec4 &, y1, IN, const osg::Vec4 &, y2);
END_REFLECTOR

View File

@@ -0,0 +1,27 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/LinearInterpolator>
BEGIN_OBJECT_REFLECTOR(osgParticle::LinearInterpolator)
BaseType(osgParticle::Interpolator);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::LinearInterpolator &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2);
END_REFLECTOR

View File

@@ -0,0 +1,43 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgParticle/Counter>
#include <osgParticle/ModularEmitter>
#include <osgParticle/Placer>
#include <osgParticle/Shooter>
BEGIN_OBJECT_REFLECTOR(osgParticle::ModularEmitter)
BaseType(osgParticle::Emitter);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::ModularEmitter &, copy, , 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);
Method0(osgParticle::Counter *, getCounter);
Method0(const osgParticle::Counter *, getCounter);
Method1(void, setCounter, IN, osgParticle::Counter *, c);
Method0(osgParticle::Placer *, getPlacer);
Method0(const osgParticle::Placer *, getPlacer);
Method1(void, setPlacer, IN, osgParticle::Placer *, p);
Method0(osgParticle::Shooter *, getShooter);
Method0(const osgParticle::Shooter *, getShooter);
Method1(void, setShooter, IN, osgParticle::Shooter *, s);
Property(osgParticle::Counter *, Counter);
Property(osgParticle::Placer *, Placer);
Property(osgParticle::Shooter *, Shooter);
END_REFLECTOR

View File

@@ -0,0 +1,34 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgParticle/ModularProgram>
#include <osgParticle/Operator>
BEGIN_OBJECT_REFLECTOR(osgParticle::ModularProgram)
BaseType(osgParticle::Program);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::ModularProgram &, copy, , 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);
Method0(int, numOperators);
Method1(void, addOperator, IN, osgParticle::Operator *, o);
Method1(osgParticle::Operator *, getOperator, IN, int, i);
Method1(const osgParticle::Operator *, getOperator, IN, int, i);
Method1(void, removeOperator, IN, int, i);
END_REFLECTOR

View File

@@ -0,0 +1,37 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/MultiSegmentPlacer>
#include <osgParticle/Particle>
BEGIN_OBJECT_REFLECTOR(osgParticle::MultiSegmentPlacer)
BaseType(osgParticle::Placer);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::MultiSegmentPlacer &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(int, numVertices);
Method1(const osg::Vec3 &, getVertex, IN, int, i);
Method2(void, setVertex, IN, int, i, IN, const osg::Vec3 &, v);
Method4(void, setVertex, IN, int, i, IN, float, x, IN, float, y, IN, float, z);
Method1(void, addVertex, IN, const osg::Vec3 &, v);
Method3(void, addVertex, IN, float, x, IN, float, y, IN, float, z);
Method1(void, removeVertex, IN, int, i);
Method1(void, place, IN, osgParticle::Particle *, P);
IndexedProperty1(const osg::Vec3 &, Vertex, int, i);
END_REFLECTOR

View File

@@ -0,0 +1,32 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/Operator>
#include <osgParticle/Particle>
#include <osgParticle/Program>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Operator)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::Operator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(bool, isEnabled);
Method1(void, setEnabled, IN, bool, v);
Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt);
Method1(void, beginOperate, IN, osgParticle::Program *, x);
Method0(void, endOperate);
WriteOnlyProperty(bool, Enabled);
END_REFLECTOR

View File

@@ -0,0 +1,92 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Matrix>
#include <osg/Vec3>
#include <osgParticle/Interpolator>
#include <osgParticle/Particle>
#include <osgParticle/range>
BEGIN_ENUM_REFLECTOR(osgParticle::Particle::Shape)
EnumLabel(osgParticle::Particle::POINT);
EnumLabel(osgParticle::Particle::QUAD);
EnumLabel(osgParticle::Particle::QUAD_TRIANGLESTRIP);
EnumLabel(osgParticle::Particle::HEXAGON);
EnumLabel(osgParticle::Particle::LINE);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgParticle::Particle)
Constructor0();
Method0(osgParticle::Particle::Shape, getShape);
Method1(void, setShape, IN, osgParticle::Particle::Shape, s);
Method0(bool, isAlive);
Method0(double, getLifeTime);
Method0(double, getAge);
Method0(const osgParticle::rangef &, getSizeRange);
Method0(const osgParticle::rangef &, getAlphaRange);
Method0(const osgParticle::rangev4 &, getColorRange);
Method0(const osgParticle::Interpolator *, getSizeInterpolator);
Method0(const osgParticle::Interpolator *, getAlphaInterpolator);
Method0(const osgParticle::Interpolator *, getColorInterpolator);
Method0(float, getRadius);
Method0(float, getMass);
Method0(float, getMassInv);
Method0(const osg::Vec3 &, getPosition);
Method0(const osg::Vec3 &, getVelocity);
Method0(const osg::Vec3 &, getPreviousPosition);
Method0(const osg::Vec3 &, getAngle);
Method0(const osg::Vec3 &, getAngularVelocity);
Method0(const osg::Vec3 &, getPreviousAngle);
Method0(void, kill);
Method1(void, setLifeTime, IN, double, t);
Method1(void, setSizeRange, IN, const osgParticle::rangef &, r);
Method1(void, setAlphaRange, IN, const osgParticle::rangef &, r);
Method1(void, setColorRange, IN, const osgParticle::rangev4 &, r);
Method1(void, setSizeInterpolator, IN, osgParticle::Interpolator *, ri);
Method1(void, setAlphaInterpolator, IN, osgParticle::Interpolator *, ai);
Method1(void, setColorInterpolator, IN, osgParticle::Interpolator *, ci);
Method1(void, setRadius, IN, float, r);
Method1(void, setMass, IN, float, m);
Method1(void, setPosition, IN, const osg::Vec3 &, p);
Method1(void, setVelocity, IN, const osg::Vec3 &, v);
Method1(void, addVelocity, IN, const osg::Vec3 &, dv);
Method1(void, transformPositionVelocity, IN, const osg::Matrix &, xform);
Method1(void, setAngle, IN, const osg::Vec3 &, a);
Method1(void, setAngularVelocity, IN, const osg::Vec3 &, v);
Method1(void, addAngularVelocity, IN, const osg::Vec3 &, dv);
Method1(void, transformAngleVelocity, IN, const osg::Matrix &, xform);
Method1(bool, update, IN, double, dt);
Method0(void, beginRender);
MethodWithDefaults4(void, render, IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f);
Method0(void, endRender);
Method0(float, getCurrentSize);
MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, numTiles, 0);
ReadOnlyProperty(double, Age);
WriteOnlyProperty(osgParticle::Interpolator *, AlphaInterpolator);
Property(const osgParticle::rangef &, AlphaRange);
Property(const osg::Vec3 &, Angle);
Property(const osg::Vec3 &, AngularVelocity);
WriteOnlyProperty(osgParticle::Interpolator *, ColorInterpolator);
Property(const osgParticle::rangev4 &, ColorRange);
ReadOnlyProperty(float, CurrentSize);
Property(double, LifeTime);
Property(float, Mass);
ReadOnlyProperty(float, MassInv);
Property(const osg::Vec3 &, Position);
ReadOnlyProperty(const osg::Vec3 &, PreviousAngle);
ReadOnlyProperty(const osg::Vec3 &, PreviousPosition);
Property(float, Radius);
Property(osgParticle::Particle::Shape, Shape);
WriteOnlyProperty(osgParticle::Interpolator *, SizeInterpolator);
Property(const osgParticle::rangef &, SizeRange);
Property(const osg::Vec3 &, Velocity);
END_REFLECTOR

View File

@@ -0,0 +1,68 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/Emitter>
#include <osgParticle/ParticleEffect>
#include <osgParticle/ParticleSystem>
#include <osgParticle/Program>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect)
BaseType(osg::Group);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method1(void, accept, IN, osg::NodeVisitor &, nv);
Method1(void, setUseLocalParticleSystem, IN, bool, local);
Method0(bool, getUseLocalParticleSystem);
Method1(void, setPosition, IN, const osg::Vec3 &, position);
Method0(const osg::Vec3 &, getPosition);
Method1(void, setScale, IN, float, scale);
Method0(float, getScale);
Method1(void, setIntensity, IN, float, intensity);
Method0(float, getIntensity);
Method1(void, setStartTime, IN, double, startTime);
Method0(double, getStartTime);
Method1(void, setEmitterDuration, IN, double, duration);
Method0(double, getEmitterDuration);
Method1(void, setParticleDuration, IN, double, duration);
Method0(double, getParticleDuration);
Method1(void, setWind, IN, const osg::Vec3 &, wind);
Method0(const osg::Vec3 &, getWind);
Method0(bool, areAllParticlesDead);
Method0(osgParticle::Emitter *, getEmitter);
Method0(const osgParticle::Emitter *, getEmitter);
Method0(osgParticle::Program *, getProgram);
Method0(const osgParticle::Program *, getProgram);
Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps);
Method0(osgParticle::ParticleSystem *, getParticleSystem);
Method0(const osgParticle::ParticleSystem *, getParticleSystem);
Method0(void, setDefaults);
Method0(void, setUpEmitterAndProgram);
Method0(void, buildEffect);
ReadOnlyProperty(osgParticle::Emitter *, Emitter);
Property(double, EmitterDuration);
Property(float, Intensity);
Property(double, ParticleDuration);
Property(osgParticle::ParticleSystem *, ParticleSystem);
Property(const osg::Vec3 &, Position);
ReadOnlyProperty(osgParticle::Program *, Program);
Property(float, Scale);
Property(double, StartTime);
Property(bool, UseLocalParticleSystem);
Property(const osg::Vec3 &, Wind);
END_REFLECTOR

View File

@@ -0,0 +1,69 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Matrix>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/ParticleProcessor>
#include <osgParticle/ParticleSystem>
BEGIN_ENUM_REFLECTOR(osgParticle::ParticleProcessor::ReferenceFrame)
EnumLabel(osgParticle::ParticleProcessor::RELATIVE_RF);
EnumLabel(osgParticle::ParticleProcessor::ABSOLUTE_RF);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor)
BaseType(osg::Node);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::ParticleProcessor &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method1(void, accept, IN, osg::NodeVisitor &, nv);
Method0(osgParticle::ParticleProcessor::ReferenceFrame, getReferenceFrame);
Method1(void, setReferenceFrame, IN, osgParticle::ParticleProcessor::ReferenceFrame, rf);
Method0(bool, isEnabled);
Method1(void, setEnabled, IN, bool, v);
Method0(osgParticle::ParticleSystem *, getParticleSystem);
Method0(const osgParticle::ParticleSystem *, getParticleSystem);
Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps);
Method1(void, setEndless, IN, bool, type);
Method0(bool, isEndless);
Method1(void, setLifeTime, IN, double, t);
Method0(double, getLifeTime);
Method1(void, setStartTime, IN, double, t);
Method0(double, getStartTime);
Method1(void, setCurrentTime, IN, double, t);
Method0(double, getCurrentTime);
Method1(void, setResetTime, IN, double, t);
Method0(double, getResetTime);
Method0(bool, isAlive);
Method1(void, traverse, IN, osg::NodeVisitor &, nv);
Method0(const osg::Matrix &, getLocalToWorldMatrix);
Method0(const osg::Matrix &, getWorldToLocalMatrix);
Method1(osg::Vec3, transformLocalToWorld, IN, const osg::Vec3 &, P);
Method1(osg::Vec3, rotateLocalToWorld, IN, const osg::Vec3 &, P);
Method1(osg::Vec3, transformWorldToLocal, IN, const osg::Vec3 &, P);
Method1(osg::Vec3, rotateWorldToLocal, IN, const osg::Vec3 &, P);
Property(double, CurrentTime);
WriteOnlyProperty(bool, Enabled);
WriteOnlyProperty(bool, Endless);
Property(double, LifeTime);
ReadOnlyProperty(const osg::Matrix &, LocalToWorldMatrix);
Property(osgParticle::ParticleSystem *, ParticleSystem);
Property(osgParticle::ParticleProcessor::ReferenceFrame, ReferenceFrame);
Property(double, ResetTime);
Property(double, StartTime);
ReadOnlyProperty(const osg::Matrix &, WorldToLocalMatrix);
END_REFLECTOR

View File

@@ -0,0 +1,76 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/State>
#include <osg/Vec3>
#include <osgParticle/Particle>
#include <osgParticle/ParticleSystem>
BEGIN_ENUM_REFLECTOR(osgParticle::ParticleSystem::Alignment)
EnumLabel(osgParticle::ParticleSystem::BILLBOARD);
EnumLabel(osgParticle::ParticleSystem::FIXED);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystem)
BaseType(osg::Drawable);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::ParticleSystem &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(osgParticle::ParticleSystem::Alignment, getParticleAlignment);
Method1(void, setParticleAlignment, IN, osgParticle::ParticleSystem::Alignment, a);
Method0(const osg::Vec3 &, getAlignVectorX);
Method1(void, setAlignVectorX, IN, const osg::Vec3 &, v);
Method0(const osg::Vec3 &, getAlignVectorY);
Method1(void, setAlignVectorY, IN, const osg::Vec3 &, v);
Method2(void, setAlignVectors, IN, const osg::Vec3 &, X, IN, const osg::Vec3 &, Y);
Method0(const osg::BoundingBox &, getDefaultBoundingBox);
Method1(void, setDefaultBoundingBox, IN, const osg::BoundingBox &, bbox);
Method0(bool, getDoublePassRendering);
Method1(void, setDoublePassRendering, IN, bool, v);
Method0(bool, isFrozen);
Method1(void, setFrozen, IN, bool, v);
Method0(int, numParticles);
Method0(int, numDeadParticles);
Method0(bool, areAllParticlesDead);
Method1(osgParticle::Particle *, getParticle, IN, int, i);
Method1(const osgParticle::Particle *, getParticle, IN, int, i);
Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate);
Method1(void, destroyParticle, IN, int, i);
Method0(int, getLastFrameNumber);
Method0(osgParticle::Particle &, getDefaultParticleTemplate);
Method0(const osgParticle::Particle &, getDefaultParticleTemplate);
Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p);
Method0(bool, getFreezeOnCull);
Method1(void, setFreezeOnCull, IN, bool, v);
MethodWithDefaults4(void, setDefaultAttributes, IN, const std::string &, texturefile, "", IN, bool, emissive_particles, true, IN, bool, lighting, false, IN, int, texture_unit, 0);
Method0(int, getLevelOfDetail);
Method1(void, setLevelOfDetail, IN, int, v);
Method1(void, update, IN, double, dt);
Method1(void, drawImplementation, IN, osg::State &, state);
Property(const osg::Vec3 &, AlignVectorX);
Property(const osg::Vec3 &, AlignVectorY);
Property(const osg::BoundingBox &, DefaultBoundingBox);
Property(const osgParticle::Particle &, DefaultParticleTemplate);
Property(bool, DoublePassRendering);
Property(bool, FreezeOnCull);
WriteOnlyProperty(bool, Frozen);
ReadOnlyProperty(int, LastFrameNumber);
Property(int, LevelOfDetail);
Property(osgParticle::ParticleSystem::Alignment, ParticleAlignment);
END_REFLECTOR

View File

@@ -0,0 +1,41 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgParticle/ParticleSystem>
#include <osgParticle/ParticleSystemUpdater>
BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystemUpdater)
BaseType(osg::Node);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::ParticleSystemUpdater &, copy, , 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(bool, addParticleSystem, IN, osgParticle::ParticleSystem *, ps);
Method1(bool, removeParticleSystem, IN, osgParticle::ParticleSystem *, ps);
MethodWithDefaults2(bool, removeParticleSystem, IN, unsigned int, i, , IN, unsigned int, numParticleSystemsToRemove, 1);
Method2(bool, replaceParticleSystem, IN, osgParticle::ParticleSystem *, origPS, IN, osgParticle::ParticleSystem *, newPS);
Method2(bool, setParticleSystem, IN, unsigned int, i, IN, osgParticle::ParticleSystem *, ps);
Method0(unsigned int, getNumParticleSystems);
Method1(osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i);
Method1(const osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i);
Method1(bool, containsParticleSystem, IN, const osgParticle::ParticleSystem *, ps);
Method1(unsigned int, getParticleSystemIndex, IN, const osgParticle::ParticleSystem *, ps);
Method1(void, traverse, IN, osg::NodeVisitor &, nv);
ArrayProperty_GSA(osgParticle::ParticleSystem *, ParticleSystem, ParticleSystems, unsigned int, bool);
END_REFLECTOR

View File

@@ -0,0 +1,26 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/Particle>
#include <osgParticle/Placer>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method1(void, place, IN, osgParticle::Particle *, P);
END_REFLECTOR

View File

@@ -0,0 +1,28 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/Particle>
#include <osgParticle/PointPlacer>
BEGIN_OBJECT_REFLECTOR(osgParticle::PointPlacer)
BaseType(osgParticle::CenteredPlacer);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::PointPlacer &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method1(void, place, IN, osgParticle::Particle *, P);
END_REFLECTOR

View File

@@ -0,0 +1,26 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgParticle/Program>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Program)
BaseType(osgParticle::ParticleProcessor);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::Program &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method1(void, accept, IN, osg::NodeVisitor &, nv);
END_REFLECTOR

View File

@@ -0,0 +1,46 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/Particle>
#include <osgParticle/RadialShooter>
#include <osgParticle/range>
BEGIN_OBJECT_REFLECTOR(osgParticle::RadialShooter)
BaseType(osgParticle::Shooter);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::RadialShooter &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(const osgParticle::rangef &, getThetaRange);
Method1(void, setThetaRange, IN, const osgParticle::rangef &, r);
Method2(void, setThetaRange, IN, float, r1, IN, float, r2);
Method0(const osgParticle::rangef &, getPhiRange);
Method1(void, setPhiRange, IN, const osgParticle::rangef &, r);
Method2(void, setPhiRange, IN, float, r1, IN, float, r2);
Method0(const osgParticle::rangef &, getInitialSpeedRange);
Method1(void, setInitialSpeedRange, IN, const osgParticle::rangef &, r);
Method2(void, setInitialSpeedRange, IN, float, r1, IN, float, r2);
Method0(const osgParticle::rangev3 &, getInitialRotationalSpeedRange);
Method1(void, setInitialRotationalSpeedRange, IN, const osgParticle::rangev3 &, r);
Method2(void, setInitialRotationalSpeedRange, IN, const osg::Vec3 &, r1, IN, const osg::Vec3 &, r2);
Method1(void, shoot, IN, osgParticle::Particle *, P);
Property(const osgParticle::rangev3 &, InitialRotationalSpeedRange);
Property(const osgParticle::rangef &, InitialSpeedRange);
Property(const osgParticle::rangef &, PhiRange);
Property(const osgParticle::rangef &, ThetaRange);
END_REFLECTOR

View File

@@ -0,0 +1,27 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/RandomRateCounter>
BEGIN_OBJECT_REFLECTOR(osgParticle::RandomRateCounter)
BaseType(osgParticle::VariableRateCounter);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::RandomRateCounter &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method1(int, numParticlesToCreate, IN, double, dt);
END_REFLECTOR

View File

@@ -0,0 +1,37 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/Particle>
#include <osgParticle/SectorPlacer>
#include <osgParticle/range>
BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
BaseType(osgParticle::CenteredPlacer);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const osgParticle::rangef &, getRadiusRange);
Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r);
Method2(void, setRadiusRange, IN, float, r1, IN, float, r2);
Method0(const osgParticle::rangef &, getPhiRange);
Method1(void, setPhiRange, IN, const osgParticle::rangef &, r);
Method2(void, setPhiRange, IN, float, r1, IN, float, r2);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(void, place, IN, osgParticle::Particle *, P);
Property(const osgParticle::rangef &, PhiRange);
Property(const osgParticle::rangef &, RadiusRange);
END_REFLECTOR

View File

@@ -0,0 +1,38 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/Particle>
#include <osgParticle/SegmentPlacer>
BEGIN_OBJECT_REFLECTOR(osgParticle::SegmentPlacer)
BaseType(osgParticle::Placer);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::SegmentPlacer &, copy, , 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 *, libraryName);
Method0(const char *, className);
Method0(const osg::Vec3 &, getVertexA);
Method1(void, setVertexA, IN, const osg::Vec3 &, v);
Method3(void, setVertexA, IN, float, x, IN, float, y, IN, float, z);
Method0(const osg::Vec3 &, getVertexB);
Method1(void, setVertexB, IN, const osg::Vec3 &, v);
Method3(void, setVertexB, IN, float, x, IN, float, y, IN, float, z);
Method2(void, setSegment, IN, const osg::Vec3 &, A, IN, const osg::Vec3 &, B);
Method1(void, place, IN, osgParticle::Particle *, P);
Property(const osg::Vec3 &, VertexA);
Property(const osg::Vec3 &, VertexB);
END_REFLECTOR

View File

@@ -0,0 +1,26 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/Particle>
#include <osgParticle/Shooter>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method1(void, shoot, IN, osgParticle::Particle *, P);
END_REFLECTOR

View File

@@ -0,0 +1,39 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/Emitter>
#include <osgParticle/Program>
#include <osgParticle/SmokeEffect>
BEGIN_VALUE_REFLECTOR(osgParticle::SmokeEffect)
BaseType(osgParticle::ParticleEffect);
ConstructorWithDefaults3(IN, const osg::Vec3 &, position, osg::Vec3(0.0f, 0.0f, 0.0f), IN, float, scale, 1.0f, IN, float, intensity, 1.0f);
ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , 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);
Method0(void, setDefaults);
Method0(void, setUpEmitterAndProgram);
Method0(osgParticle::Emitter *, getEmitter);
Method0(const osgParticle::Emitter *, getEmitter);
Method0(osgParticle::Program *, getProgram);
Method0(const osgParticle::Program *, getProgram);
ReadOnlyProperty(osgParticle::Emitter *, Emitter);
ReadOnlyProperty(osgParticle::Program *, Program);
END_REFLECTOR

View File

@@ -0,0 +1,29 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgParticle/VariableRateCounter>
#include <osgParticle/range>
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::VariableRateCounter)
BaseType(osgParticle::Counter);
Constructor0();
ConstructorWithDefaults2(IN, const osgParticle::VariableRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const osgParticle::rangef &, getRateRange);
Method1(void, setRateRange, IN, const osgParticle::rangef &, r);
Method2(void, setRateRange, IN, float, minrange, IN, float, maxrange);
Property(const osgParticle::rangef &, RateRange);
END_REFLECTOR

View File

@@ -0,0 +1,64 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Vec2>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osgParticle/range>
TYPE_NAME_ALIAS(osgParticle::range< float >, osgParticle::rangef);
TYPE_NAME_ALIAS(osgParticle::range< osg::Vec2 >, osgParticle::rangev2);
TYPE_NAME_ALIAS(osgParticle::range< osg::Vec3 >, osgParticle::rangev3);
TYPE_NAME_ALIAS(osgParticle::range< osg::Vec4 >, osgParticle::rangev4);
BEGIN_VALUE_REFLECTOR(osgParticle::range< float >)
Constructor0();
Constructor2(IN, const float &, mn, IN, const float &, mx);
Method2(void, set, IN, const float &, mn, IN, const float &, mx);
Method0(float, get_random);
Method0(float, get_random_sqrtf);
ReadOnlyProperty(float, _random);
ReadOnlyProperty(float, _random_sqrtf);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec2 >)
Constructor0();
Constructor2(IN, const osg::Vec2 &, mn, IN, const osg::Vec2 &, mx);
Method2(void, set, IN, const osg::Vec2 &, mn, IN, const osg::Vec2 &, mx);
Method0(osg::Vec2, get_random);
Method0(osg::Vec2, get_random_sqrtf);
ReadOnlyProperty(osg::Vec2, _random);
ReadOnlyProperty(osg::Vec2, _random_sqrtf);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec3 >)
Constructor0();
Constructor2(IN, const osg::Vec3 &, mn, IN, const osg::Vec3 &, mx);
Method2(void, set, IN, const osg::Vec3 &, mn, IN, const osg::Vec3 &, mx);
Method0(osg::Vec3, get_random);
Method0(osg::Vec3, get_random_sqrtf);
ReadOnlyProperty(osg::Vec3, _random);
ReadOnlyProperty(osg::Vec3, _random_sqrtf);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgParticle::range< osg::Vec4 >)
Constructor0();
Constructor2(IN, const osg::Vec4 &, mn, IN, const osg::Vec4 &, mx);
Method2(void, set, IN, const osg::Vec4 &, mn, IN, const osg::Vec4 &, mx);
Method0(osg::Vec4, get_random);
Method0(osg::Vec4, get_random_sqrtf);
ReadOnlyProperty(osg::Vec4, _random);
ReadOnlyProperty(osg::Vec4, _random_sqrtf);
END_REFLECTOR

View File

@@ -0,0 +1,51 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgGA/GUIEventAdapter>
#include <osgProducer/EventAdapter>
BEGIN_VALUE_REFLECTOR(osgProducer::EventAdapter)
BaseType(osgGA::GUIEventAdapter);
Constructor0();
Method0(osgGA::GUIEventAdapter::EventType, getEventType);
Method0(int, getKey);
Method0(int, getButton);
Method0(float, getXmin);
Method0(float, getXmax);
Method0(float, getYmin);
Method0(float, getYmax);
Method0(float, getX);
Method0(float, getY);
Method0(unsigned int, getButtonMask);
Method0(double, time);
Method0(unsigned int, getModKeyMask);
Method5(void, adaptResize, IN, double, t, IN, float, Xmin, IN, float, Ymin, IN, float, Xmax, IN, float, Ymax);
Method2(void, adaptMouseScroll, IN, double, t, IN, Producer::KeyboardMouseCallback::ScrollingMotion, sm);
Method3(void, adaptMouseMotion, IN, double, t, IN, float, x, IN, float, y);
Method4(void, adaptButtonPress, IN, double, t, IN, float, x, IN, float, y, IN, unsigned int, button);
Method4(void, adaptButtonRelease, IN, double, t, IN, float, x, IN, float, y, IN, unsigned int, button);
Method2(void, adaptKeyPress, IN, double, t, IN, Producer::KeySymbol, key);
Method2(void, adaptKeyRelease, IN, double, t, IN, Producer::KeySymbol, key);
Method1(void, adaptFrame, IN, double, t);
Method0(void, copyStaticVariables);
ReadOnlyProperty(int, Button);
ReadOnlyProperty(unsigned int, ButtonMask);
ReadOnlyProperty(osgGA::GUIEventAdapter::EventType, EventType);
ReadOnlyProperty(int, Key);
ReadOnlyProperty(unsigned int, ModKeyMask);
ReadOnlyProperty(float, X);
ReadOnlyProperty(float, Xmax);
ReadOnlyProperty(float, Xmin);
ReadOnlyProperty(float, Y);
ReadOnlyProperty(float, Ymax);
ReadOnlyProperty(float, Ymin);
END_REFLECTOR

View File

@@ -0,0 +1,21 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
EventAdapter.cpp\
KeyboardMouseCallback.cpp\
OsgCameraGroup.cpp\
OsgSceneHandler.cpp\
Viewer.cpp\
ViewerEventHandler.cpp\
LIBS += -losgProducer -losgGA -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
OPTF = -O
TARGET_BASENAME = osgProducer
include $(TOPDIR)/Make/cygwin_wrapper_def
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,64 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Timer>
#include <osgProducer/EventAdapter>
#include <osgProducer/KeyboardMouseCallback>
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgProducer::EventAdapter > >, osgProducer::KeyboardMouseCallback::EventQueue);
BEGIN_VALUE_REFLECTOR(osgProducer::KeyboardMouseCallback)
ConstructorWithDefaults3(IN, Producer::KeyboardMouse *, keyboardMouse, , IN, bool &, done, , IN, bool, escapeKeySetsDone, true);
Method1(void, mouseScroll, IN, Producer::KeyboardMouseCallback::ScrollingMotion, sm);
Method2(void, mouseMotion, IN, float, mx, IN, float, my);
Method2(void, passiveMouseMotion, IN, float, mx, IN, float, my);
Method2(void, mouseWarp, IN, float, mx, IN, float, my);
Method3(void, buttonPress, IN, float, mx, IN, float, my, IN, unsigned int, mbutton);
Method3(void, doubleButtonPress, IN, float, mx, IN, float, my, IN, unsigned int, mbutton);
Method3(void, buttonRelease, IN, float, mx, IN, float, my, IN, unsigned int, mbutton);
Method1(void, keyPress, IN, Producer::KeyCharacter, key);
Method1(void, keyRelease, IN, Producer::KeyCharacter, key);
Method1(void, specialKeyPress, IN, Producer::KeyCharacter, key);
Method1(void, specialKeyRelease, IN, Producer::KeyCharacter, key);
Method4(void, windowConfig, IN, int, x, IN, int, y, IN, unsigned int, width, IN, unsigned int, height);
Method0(void, shutdown);
Method1(void, setEscapeSetDone, IN, bool, esc);
Method0(bool, getEscapeSetDone);
Method1(double, getEventQueue, IN, osgProducer::KeyboardMouseCallback::EventQueue &, queue);
Method0(bool, done);
Method0(float, mx);
Method0(float, my);
Method0(unsigned int, mbutton);
Method1(void, setStartTick, IN, osg::Timer_t, tick);
Method0(double, getTime);
Method0(Producer::KeyboardMouse *, getKeyboardMouse);
Method0(const Producer::KeyboardMouse *, getKeyboardMouse);
Method0(osgProducer::EventAdapter *, createEventAdapter);
Property(bool, EscapeSetDone);
ReadOnlyProperty(Producer::KeyboardMouse *, KeyboardMouse);
WriteOnlyProperty(osg::Timer_t, StartTick);
ReadOnlyProperty(double, Time);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgProducer::EventAdapter >)
Constructor0();
Constructor1(IN, osgProducer::EventAdapter *, t);
Constructor1(IN, const osg::ref_ptr< osgProducer::EventAdapter > &, rp);
Method0(bool, valid);
Method0(osgProducer::EventAdapter *, get);
Method0(const osgProducer::EventAdapter *, get);
Method0(osgProducer::EventAdapter *, take);
Method0(osgProducer::EventAdapter *, release);
ReadOnlyProperty(osgProducer::EventAdapter *, );
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgProducer::EventAdapter > >);

View File

@@ -0,0 +1,100 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/ArgumentParser>
#include <osg/CullSettings>
#include <osg/DisplaySettings>
#include <osg/FrameStamp>
#include <osg/Group>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/StateSet>
#include <osg/Vec4>
#include <osgProducer/OsgCameraGroup>
#include <osgProducer/OsgSceneHandler>
#include <osgUtil/SceneView>
TYPE_NAME_ALIAS(std::vector< Producer::ref_ptr< osgProducer::OsgSceneHandler > >, osgProducer::OsgCameraGroup::SceneHandlerList);
BEGIN_VALUE_REFLECTOR(osgProducer::OsgCameraGroup)
Constructor0();
Constructor1(IN, Producer::CameraConfig *, cfg);
Constructor1(IN, const std::string &, configFile);
Constructor1(IN, osg::ArgumentParser &, arguments);
Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, au);
Method0(osg::ApplicationUsage *, getApplicationUsage);
Method0(const osg::ApplicationUsage *, getApplicationUsage);
Method0(osgProducer::OsgCameraGroup::SceneHandlerList &, getSceneHandlerList);
Method0(const osgProducer::OsgCameraGroup::SceneHandlerList &, getSceneHandlerList);
Method1(void, setSceneData, IN, osg::Node *, scene);
Method0(osg::Node *, getSceneData);
Method0(const osg::Node *, getSceneData);
Method1(void, setSceneDecorator, IN, osg::Group *, decorator);
Method0(osg::Group *, getSceneDecorator);
Method0(const osg::Group *, getSceneDecorator);
Method0(osg::Node *, getTopMostSceneData);
Method0(const osg::Node *, getTopMostSceneData);
Method0(void, updatedSceneData);
Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds);
Method0(osg::DisplaySettings *, getDisplaySettings);
Method0(const osg::DisplaySettings *, getDisplaySettings);
Method1(void, setCullSettings, IN, const osg::CullSettings &, cs);
Method0(osg::CullSettings &, getCullSettings);
Method0(const osg::CullSettings &, getCullSettings);
Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs);
Method0(osg::FrameStamp *, getFrameStamp);
Method0(const osg::FrameStamp *, getFrameStamp);
Method1(void, setGlobalStateSet, IN, osg::StateSet *, sset);
Method0(osg::StateSet *, getGlobalStateSet);
Method0(const osg::StateSet *, getGlobalStateSet);
Method1(void, setClearColor, IN, const osg::Vec4 &, clearColor);
Method0(const osg::Vec4 &, getClearColor);
Method1(void, setLODScale, IN, float, scale);
Method0(float, getLODScale);
MethodWithDefaults2(void, setFusionDistance, IN, osgUtil::SceneView::FusionDistanceMode, mode, , IN, float, value, 1.0f);
Method1(void, setRealizeSceneViewOptions, IN, unsigned int, options);
Method0(unsigned int, getRealizeSceneViewOptions);
Method1(void, setRealizeCallback, IN, osgProducer::OsgCameraGroup::RealizeCallback *, cb);
Method0(osgProducer::OsgCameraGroup::RealizeCallback *, getRealizeCallback);
Method0(const osgProducer::OsgCameraGroup::RealizeCallback *, getRealizeCallback);
Method0(void, advance);
Method1(bool, realize, IN, ThreadingModel, thread_model);
Method0(bool, realize);
Method1(void, setView, IN, const osg::Matrixd &, matrix);
Method0(osg::Matrixd, getViewMatrix);
Method0(void, sync);
Method0(void, frame);
Method0(void, cleanup_frame);
Property(osg::ApplicationUsage *, ApplicationUsage);
Property(const osg::Vec4 &, ClearColor);
Property(const osg::CullSettings &, CullSettings);
Property(osg::DisplaySettings *, DisplaySettings);
Property(osg::FrameStamp *, FrameStamp);
Property(osg::StateSet *, GlobalStateSet);
Property(float, LODScale);
Property(osgProducer::OsgCameraGroup::RealizeCallback *, RealizeCallback);
Property(unsigned int, RealizeSceneViewOptions);
Property(osg::Node *, SceneData);
Property(osg::Group *, SceneDecorator);
ReadOnlyProperty(osgProducer::OsgCameraGroup::SceneHandlerList &, SceneHandlerList);
ReadOnlyProperty(osg::Node *, TopMostSceneData);
WriteOnlyProperty(const osg::Matrixd &, View);
ReadOnlyProperty(osg::Matrixd, ViewMatrix);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgProducer::OsgCameraGroup::RealizeCallback)
BaseType(osg::Referenced);
Constructor0();
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< Producer::ref_ptr< osgProducer::OsgSceneHandler > >);

View File

@@ -0,0 +1,52 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/DisplaySettings>
#include <osgProducer/OsgSceneHandler>
#include <osgUtil/SceneView>
BEGIN_OBJECT_REFLECTOR(osgProducer::OsgSceneHandler)
ConstructorWithDefaults1(IN, osg::DisplaySettings *, ds, NULL);
Method1(void, setSceneView, IN, osgUtil::SceneView *, sceneView);
Method0(osgUtil::SceneView *, getSceneView);
Method0(const osgUtil::SceneView *, getSceneView);
Method0(void, init);
Method1(void, clear, IN, Producer::Camera &, camera);
Method1(void, clearImplementation, IN, Producer::Camera &, camera);
Method1(void, setClearCallback, IN, osgProducer::OsgSceneHandler::Callback *, callback);
Method0(osgProducer::OsgSceneHandler::Callback *, getClearCallback);
Method0(const osgProducer::OsgSceneHandler::Callback *, getClearCallback);
Method1(void, cull, IN, Producer::Camera &, camera);
Method1(void, cullImplementation, IN, Producer::Camera &, camera);
Method1(void, setCullCallback, IN, osgProducer::OsgSceneHandler::Callback *, callback);
Method0(osgProducer::OsgSceneHandler::Callback *, getCullCallback);
Method0(const osgProducer::OsgSceneHandler::Callback *, getCullCallback);
Method1(void, draw, IN, Producer::Camera &, camera);
Method1(void, drawImplementation, IN, Producer::Camera &, camera);
Method1(void, setDrawCallback, IN, osgProducer::OsgSceneHandler::Callback *, callback);
Method0(osgProducer::OsgSceneHandler::Callback *, getDrawCallback);
Method0(const osgProducer::OsgSceneHandler::Callback *, getDrawCallback);
Method1(void, setContextID, IN, int, id);
Method1(void, setFlushOfAllDeletedGLObjectsOnNextFrame, IN, bool, flag);
Method0(bool, getFlushOfAllDeletedGLObjectsOnNextFrame);
Property(osgProducer::OsgSceneHandler::Callback *, ClearCallback);
WriteOnlyProperty(int, ContextID);
Property(osgProducer::OsgSceneHandler::Callback *, CullCallback);
Property(osgProducer::OsgSceneHandler::Callback *, DrawCallback);
Property(bool, FlushOfAllDeletedGLObjectsOnNextFrame);
Property(osgUtil::SceneView *, SceneView);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgProducer::OsgSceneHandler::Callback)
BaseType(osg::Referenced);
Constructor0();
END_REFLECTOR

View File

@@ -0,0 +1,143 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/AnimationPath>
#include <osg/ApplicationUsage>
#include <osg/ArgumentParser>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Quat>
#include <osg/RefNodePath>
#include <osg/Vec3>
#include <osgGA/EventVisitor>
#include <osgGA/KeySwitchMatrixManipulator>
#include <osgGA/MatrixManipulator>
#include <osgProducer/KeyboardMouseCallback>
#include <osgProducer/Viewer>
#include <osgUtil/IntersectVisitor>
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgProducer::Viewer::EventHandlerList);
BEGIN_ENUM_REFLECTOR(osgProducer::Viewer::ViewerOptions)
EnumLabel(osgProducer::Viewer::NO_EVENT_HANDLERS);
EnumLabel(osgProducer::Viewer::TRACKBALL_MANIPULATOR);
EnumLabel(osgProducer::Viewer::DRIVE_MANIPULATOR);
EnumLabel(osgProducer::Viewer::FLIGHT_MANIPULATOR);
EnumLabel(osgProducer::Viewer::TERRAIN_MANIPULATOR);
EnumLabel(osgProducer::Viewer::UFO_MANIPULATOR);
EnumLabel(osgProducer::Viewer::STATE_MANIPULATOR);
EnumLabel(osgProducer::Viewer::HEAD_LIGHT_SOURCE);
EnumLabel(osgProducer::Viewer::SKY_LIGHT_SOURCE);
EnumLabel(osgProducer::Viewer::STATS_MANIPULATOR);
EnumLabel(osgProducer::Viewer::VIEWER_MANIPULATOR);
EnumLabel(osgProducer::Viewer::ESCAPE_SETS_DONE);
EnumLabel(osgProducer::Viewer::STANDARD_SETTINGS);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgProducer::Viewer)
BaseType(osgProducer::OsgCameraGroup);
BaseType(osgGA::GUIActionAdapter);
Constructor0();
Constructor1(IN, Producer::CameraConfig *, cfg);
Constructor1(IN, const std::string &, configFile);
Constructor1(IN, osg::ArgumentParser &, arguments);
MethodWithDefaults1(void, setUpViewer, IN, unsigned int, options, osgProducer::Viewer::STANDARD_SETTINGS);
Method1(void, setDoneAtElapsedTime, IN, double, elapsedTime);
Method0(double, getDoneAtElapsedTime);
Method1(void, setDoneAtElapsedTimeEnabled, IN, bool, enabled);
Method0(bool, getDoneAtElapsedTimeEnabled);
Method1(void, setDoneAtFrameNumber, IN, unsigned int, frameNumber);
Method0(unsigned int, getDoneAtFrameNumber);
Method1(void, setDoneAtFrameNumberEnabled, IN, bool, enabled);
Method0(bool, getDoneAtFrameNumberEnabled);
Method1(void, setDone, IN, bool, done);
Method0(bool, getDone);
Method0(bool, done);
Method1(void, setWriteImageWhenDone, IN, bool, enabled);
Method0(bool, getWriteImageWhenDone);
Method1(void, setWriteImageFileName, IN, const std::string &, filename);
Method0(const std::string &, getWriteImageFileName);
Method1(void, setViewByMatrix, IN, const Producer::Matrix &, pm);
Method1(bool, realize, IN, ThreadingModel, thread_model);
Method0(bool, realize);
Method0(void, update);
Method1(void, setUpdateVisitor, IN, osg::NodeVisitor *, nv);
Method0(osg::NodeVisitor *, getUpdateVisitor);
Method0(const osg::NodeVisitor *, getUpdateVisitor);
Method1(void, setEventVisitor, IN, osgGA::EventVisitor *, nv);
Method0(osgGA::EventVisitor *, getEventVisitor);
Method0(const osgGA::EventVisitor *, getEventVisitor);
Method0(void, computeActiveCoordindateSystemNodePath);
Method1(void, setCoordindateSystemNodePath, IN, const osg::RefNodePath &, nodePath);
Method1(void, setCoordindateSystemNodePath, IN, const osg::NodePath &, nodePath);
Method0(const osg::RefNodePath &, getCoordindateSystemNodePath);
Method0(void, frame);
Method0(void, requestRedraw);
Method1(void, requestContinuousUpdate, IN, bool, x);
Method2(void, requestWarpPointer, IN, float, x, IN, float, y);
Method5(bool, computePixelCoords, IN, float, x, IN, float, y, IN, unsigned int, cameraNum, IN, float &, pixel_x, IN, float &, pixel_y);
Method5(bool, computeNearFarPoints, IN, float, x, IN, float, y, IN, unsigned int, cameraNum, IN, osg::Vec3 &, near, IN, osg::Vec3 &, far);
MethodWithDefaults6(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, unsigned int, cameraNum, , IN, osg::Node *, node, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff);
MethodWithDefaults5(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, unsigned int, cameraNum, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff);
MethodWithDefaults5(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, osg::Node *, node, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff);
MethodWithDefaults4(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, osgUtil::IntersectVisitor::HitList &, hits, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff);
Method1(void, setKeyboardMouse, IN, Producer::KeyboardMouse *, kbm);
Method0(Producer::KeyboardMouse *, getKeyboardMouse);
Method0(const Producer::KeyboardMouse *, getKeyboardMouse);
Method1(void, setKeyboardMouseCallback, IN, osgProducer::KeyboardMouseCallback *, kbmcb);
Method0(osgProducer::KeyboardMouseCallback *, getKeyboardMouseCallback);
Method0(const osgProducer::KeyboardMouseCallback *, getKeyboardMouseCallback);
Method0(osgProducer::Viewer::EventHandlerList &, getEventHandlerList);
Method0(const osgProducer::Viewer::EventHandlerList &, getEventHandlerList);
Method0(osgGA::KeySwitchMatrixManipulator *, getKeySwitchMatrixManipulator);
Method0(const osgGA::KeySwitchMatrixManipulator *, getKeySwitchMatrixManipulator);
Method1(unsigned int, addCameraManipulator, IN, osgGA::MatrixManipulator *, cm);
Method1(void, selectCameraManipulator, IN, unsigned int, no);
Method1(void, getCameraManipulatorNameList, IN, std::list< std::string > &, nameList);
Method1(bool, selectCameraManipulatorByName, IN, const std::string &, name);
Method1(osgGA::MatrixManipulator *, getCameraManipulatorByName, IN, const std::string &, name);
Method1(void, setRecordingAnimationPath, IN, bool, on);
Method0(bool, getRecordingAnimationPath);
Method1(void, setAnimationPath, IN, osg::AnimationPath *, path);
Method0(osg::AnimationPath *, getAnimationPath);
Method0(const osg::AnimationPath *, getAnimationPath);
Method0(const double *, getPosition);
Method0(double, getSpeed);
Method0(osg::Quat, getOrientation);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Method0(void, updatedSceneData);
Property(osg::AnimationPath *, AnimationPath);
Property(const osg::RefNodePath &, CoordindateSystemNodePath);
Property(bool, Done);
Property(double, DoneAtElapsedTime);
Property(bool, DoneAtElapsedTimeEnabled);
Property(unsigned int, DoneAtFrameNumber);
Property(bool, DoneAtFrameNumberEnabled);
ReadOnlyProperty(osgProducer::Viewer::EventHandlerList &, EventHandlerList);
Property(osgGA::EventVisitor *, EventVisitor);
ReadOnlyProperty(osgGA::KeySwitchMatrixManipulator *, KeySwitchMatrixManipulator);
Property(Producer::KeyboardMouse *, KeyboardMouse);
Property(osgProducer::KeyboardMouseCallback *, KeyboardMouseCallback);
ReadOnlyProperty(osg::Quat, Orientation);
ReadOnlyProperty(const double *, Position);
Property(bool, RecordingAnimationPath);
ReadOnlyProperty(double, Speed);
WriteOnlyProperty(unsigned int, UpViewer);
Property(osg::NodeVisitor *, UpdateVisitor);
WriteOnlyProperty(const Producer::Matrix &, ViewByMatrix);
Property(const std::string &, WriteImageFileName);
Property(bool, WriteImageWhenDone);
END_REFLECTOR
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >);
STD_LIST_REFLECTOR(std::list< std::string > &);

View File

@@ -0,0 +1,49 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/GUIEventHandlerVisitor>
#include <osgProducer/OsgCameraGroup>
#include <osgProducer/ViewerEventHandler>
BEGIN_ENUM_REFLECTOR(osgProducer::ViewerEventHandler::FrameStatsMode)
EnumLabel(osgProducer::ViewerEventHandler::NO_STATS);
EnumLabel(osgProducer::ViewerEventHandler::FRAME_RATE);
EnumLabel(osgProducer::ViewerEventHandler::CAMERA_STATS);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgProducer::ViewerEventHandler)
BaseType(osgGA::GUIEventHandler);
Constructor1(IN, osgProducer::OsgCameraGroup *, cg);
Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa);
Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, gehv);
Method1(void, getUsage, IN, osg::ApplicationUsage &, usage);
Method0(osgProducer::OsgCameraGroup *, getOsgCameraGroup);
Method0(const osgProducer::OsgCameraGroup *, getOsgCameraGroup);
Method1(void, setWriteNodeFileName, IN, const std::string &, filename);
Method0(const std::string &, getWriteNodeFileName);
Method1(void, setDisplayHelp, IN, bool, displayHelp);
Method0(bool, getDisplayHelp);
Method1(void, setFrameStatsMode, IN, osgProducer::ViewerEventHandler::FrameStatsMode, mode);
Method0(osgProducer::ViewerEventHandler::FrameStatsMode, getFrameStatsMode);
Method1(void, setWriteImageOnNextFrame, IN, bool, writeImageOnNextFrame);
Method1(void, setWriteImageFileName, IN, const std::string &, filename);
Method0(const std::string &, getWriteImageFileName);
Property(bool, DisplayHelp);
Property(osgProducer::ViewerEventHandler::FrameStatsMode, FrameStatsMode);
ReadOnlyProperty(osgProducer::OsgCameraGroup *, OsgCameraGroup);
Property(const std::string &, WriteImageFileName);
WriteOnlyProperty(bool, WriteImageOnNextFrame);
Property(const std::string &, WriteNodeFileName);
END_REFLECTOR

View File

@@ -0,0 +1,53 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec4>
#include <osgSim/BlinkSequence>
BEGIN_VALUE_REFLECTOR(osgSim::BlinkSequence)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgSim::BlinkSequence &, bs, , 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 *, libraryName);
Method0(const char *, className);
Method2(void, addPulse, IN, double, length, IN, const osg::Vec4 &, color);
Method0(int, getNumPulses);
Method3(void, getPulse, IN, unsigned int, i, IN, double &, length, IN, osg::Vec4 &, color);
Method0(double, getPulsePeriod);
Method1(void, setSequenceGroup, IN, osgSim::SequenceGroup *, sg);
Method0(osgSim::SequenceGroup *, getSequenceGroup);
Method0(const osgSim::SequenceGroup *, getSequenceGroup);
Method1(void, setPhaseShift, IN, double, ps);
Method0(double, getPhaseShift);
Method1(double, localTime, IN, double, time);
Method2(osg::Vec4, color, IN, double, time, IN, double, length);
Property(double, PhaseShift);
ReadOnlyProperty(double, PulsePeriod);
Property(osgSim::SequenceGroup *, SequenceGroup);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgSim::SequenceGroup)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Constructor1(IN, double, baseTime);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
END_REFLECTOR

View File

@@ -0,0 +1,23 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Vec4>
#include <osgSim/ColorRange>
BEGIN_VALUE_REFLECTOR(osgSim::ColorRange)
BaseType(osgSim::ScalarsToColors);
Constructor2(IN, float, min, IN, float, max);
Constructor3(IN, float, min, IN, float, max, IN, const std::vector< osg::Vec4 > &, colors);
Method1(void, setColors, IN, const std::vector< osg::Vec4 > &, colors);
Method1(osg::Vec4, getColor, IN, float, scalar);
WriteOnlyProperty(const std::vector< osg::Vec4 > &, Colors);
END_REFLECTOR

View File

@@ -0,0 +1,97 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Matrix>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgSim/DOFTransform>
BEGIN_ENUM_REFLECTOR(osgSim::DOFTransform::MultOrder)
EnumLabel(osgSim::DOFTransform::PRH);
EnumLabel(osgSim::DOFTransform::PHR);
EnumLabel(osgSim::DOFTransform::HPR);
EnumLabel(osgSim::DOFTransform::HRP);
EnumLabel(osgSim::DOFTransform::RPH);
EnumLabel(osgSim::DOFTransform::RHP);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgSim::DOFTransform)
BaseType(osg::Transform);
Constructor0();
ConstructorWithDefaults2(IN, const osgSim::DOFTransform &, dof, , 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, traverse, IN, osg::NodeVisitor &, nv);
Method1(void, setMinHPR, IN, const osg::Vec3 &, hpr);
Method0(const osg::Vec3 &, getMinHPR);
Method1(void, setMaxHPR, IN, const osg::Vec3 &, hpr);
Method0(const osg::Vec3 &, getMaxHPR);
Method1(void, setIncrementHPR, IN, const osg::Vec3 &, hpr);
Method0(const osg::Vec3 &, getIncrementHPR);
Method1(void, setCurrentHPR, IN, const osg::Vec3 &, hpr);
Method0(const osg::Vec3 &, getCurrentHPR);
Method1(void, updateCurrentHPR, IN, const osg::Vec3 &, hpr);
Method1(void, setMinTranslate, IN, const osg::Vec3 &, translate);
Method0(const osg::Vec3 &, getMinTranslate);
Method1(void, setMaxTranslate, IN, const osg::Vec3 &, translate);
Method0(const osg::Vec3 &, getMaxTranslate);
Method1(void, setIncrementTranslate, IN, const osg::Vec3 &, translate);
Method0(const osg::Vec3 &, getIncrementTranslate);
Method1(void, setCurrentTranslate, IN, const osg::Vec3 &, translate);
Method0(const osg::Vec3 &, getCurrentTranslate);
Method1(void, updateCurrentTranslate, IN, const osg::Vec3 &, translate);
Method1(void, setMinScale, IN, const osg::Vec3 &, scale);
Method0(const osg::Vec3 &, getMinScale);
Method1(void, setMaxScale, IN, const osg::Vec3 &, scale);
Method0(const osg::Vec3 &, getMaxScale);
Method1(void, setIncrementScale, IN, const osg::Vec3 &, scale);
Method0(const osg::Vec3 &, getIncrementScale);
Method1(void, setCurrentScale, IN, const osg::Vec3 &, scale);
Method0(const osg::Vec3 &, getCurrentScale);
Method1(void, updateCurrentScale, IN, const osg::Vec3 &, scale);
Method1(void, setPutMatrix, IN, const osg::Matrix &, put);
Method0(const osg::Matrix &, getPutMatrix);
Method1(void, setInversePutMatrix, IN, const osg::Matrix &, inversePut);
Method0(const osg::Matrix &, getInversePutMatrix);
Method1(void, setLimitationFlags, IN, unsigned long, flags);
Method0(unsigned long, getLimitationFlags);
Method1(void, setHPRMultOrder, IN, const osgSim::DOFTransform::MultOrder, order);
Method0(const osgSim::DOFTransform::MultOrder, getHPRMultOrder);
Method1(void, setAnimationOn, IN, bool, do_animate);
Method0(bool, getAnimationOn);
Method1(void, animate, IN, float, deltaTime);
Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
Property(bool, AnimationOn);
Property(const osg::Vec3 &, CurrentHPR);
Property(const osg::Vec3 &, CurrentScale);
Property(const osg::Vec3 &, CurrentTranslate);
Property(const osgSim::DOFTransform::MultOrder, HPRMultOrder);
Property(const osg::Vec3 &, IncrementHPR);
Property(const osg::Vec3 &, IncrementScale);
Property(const osg::Vec3 &, IncrementTranslate);
Property(const osg::Matrix &, InversePutMatrix);
Property(unsigned long, LimitationFlags);
Property(const osg::Vec3 &, MaxHPR);
Property(const osg::Vec3 &, MaxScale);
Property(const osg::Vec3 &, MaxTranslate);
Property(const osg::Vec3 &, MinHPR);
Property(const osg::Vec3 &, MinScale);
Property(const osg::Vec3 &, MinTranslate);
Property(const osg::Matrix &, PutMatrix);
END_REFLECTOR

View File

@@ -0,0 +1,31 @@
TOPDIR = ../../..
include $(TOPDIR)/Make/makedefs
CXXFILES =\
BlinkSequence.cpp\
ColorRange.cpp\
DOFTransform.cpp\
GeographicLocation.cpp\
Impostor.cpp\
ImpostorSprite.cpp\
InsertImpostorsVisitor.cpp\
LightPoint.cpp\
LightPointNode.cpp\
LightPointSystem.cpp\
MultiSwitch.cpp\
ScalarBar.cpp\
ScalarsToColors.cpp\
Sector.cpp\
SphereSegment.cpp\
VisibilityGroup.cpp\
LIBS += -losgSim -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
OPTF = -O
TARGET_BASENAME = osgSim
include $(TOPDIR)/Make/cygwin_wrapper_def
WRAPPER = $(WRAPPER_PREFIX)$(TARGET_BASENAME).$(PLUGIN_EXT)
include $(TOPDIR)/Make/makerules

View File

@@ -0,0 +1,28 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgSim/GeographicLocation>
BEGIN_VALUE_REFLECTOR(osgSim::GeographicLocation)
BaseType(osg::Referenced);
Constructor0();
Constructor2(IN, double, lat, IN, double, lon);
Method0(double *, ptr);
Method0(const double *, ptr);
Method2(void, set, IN, double, lat, IN, double, lon);
Method0(double &, latitude);
Method0(double &, longitude);
Method0(double, latitude);
Method0(double, longitude);
Method0(bool, valid);
Method0(bool, isNaN);
END_REFLECTOR

View File

@@ -0,0 +1,56 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgSim/Impostor>
#include <osgSim/ImpostorSprite>
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgSim::ImpostorSprite > >, osgSim::Impostor::ImpostorSpriteList);
BEGIN_OBJECT_REFLECTOR(osgSim::Impostor)
BaseType(osg::LOD);
Constructor0();
ConstructorWithDefaults2(IN, const osgSim::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, traverse, IN, osg::NodeVisitor &, nv);
Method1(void, setImpostorThreshold, IN, float, distance);
Method0(float, getImpostorThreshold);
MethodWithDefaults1(void, setImpostorThresholdToBound, IN, float, ratio, 1.0f);
Method2(osgSim::ImpostorSprite *, findBestImpostorSprite, IN, unsigned int, contextID, IN, const osg::Vec3 &, currLocalEyePoint);
Method2(void, addImpostorSprite, IN, unsigned int, contextID, IN, osgSim::ImpostorSprite *, is);
Method1(osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID);
Method1(const osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID);
Property(float, ImpostorThreshold);
WriteOnlyProperty(float, ImpostorThresholdToBound);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgSim::ImpostorSprite >)
Constructor0();
Constructor1(IN, osgSim::ImpostorSprite *, t);
Constructor1(IN, const osg::ref_ptr< osgSim::ImpostorSprite > &, rp);
Method0(bool, valid);
Method0(osgSim::ImpostorSprite *, get);
Method0(const osgSim::ImpostorSprite *, get);
Method0(osgSim::ImpostorSprite *, take);
Method0(osgSim::ImpostorSprite *, release);
ReadOnlyProperty(osgSim::ImpostorSprite *, );
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgSim::ImpostorSprite > >);

View File

@@ -0,0 +1,80 @@
// ***************************************************************************
//
// 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/Matrix>
#include <osg/Object>
#include <osg/PrimitiveSet>
#include <osg/State>
#include <osg/StateSet>
#include <osg/Texture2D>
#include <osg/Vec2>
#include <osg/Vec3>
#include <osgSim/Impostor>
#include <osgSim/ImpostorSprite>
BEGIN_OBJECT_REFLECTOR(osgSim::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, osgSim::Impostor *, parent);
Method0(osgSim::Impostor *, getParent);
Method0(const osgSim::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(osgSim::Impostor *, Parent);
Property(const osg::Vec3 &, StoredLocalEyePoint);
ReadOnlyProperty(osg::Vec2 *, TexCoords);
ReadOnlyProperty(osg::Texture2D *, Texture);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSpriteManager)
BaseType(osg::Referenced);
Constructor0();
Method0(bool, empty);
Method0(osgSim::ImpostorSprite *, first);
Method0(osgSim::ImpostorSprite *, last);
Method1(void, push_back, IN, osgSim::ImpostorSprite *, is);
Method1(void, remove, IN, osgSim::ImpostorSprite *, is);
Method3(osgSim::ImpostorSprite *, createOrReuseImpostorSprite, IN, int, s, IN, int, t, IN, int, frameNumber);
Method0(osg::StateSet *, createOrReuseStateSet);
Method0(void, reset);
END_REFLECTOR

View File

@@ -0,0 +1,32 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Group>
#include <osg/LOD>
#include <osg/Node>
#include <osgSim/InsertImpostorsVisitor>
BEGIN_VALUE_REFLECTOR(osgSim::InsertImpostorsVisitor)
BaseType(osg::NodeVisitor);
Constructor0();
Method1(void, setImpostorThresholdRatio, IN, float, ratio);
Method0(float, getImpostorThresholdRatio);
Method1(void, setMaximumNumberOfNestedImpostors, IN, unsigned int, num);
Method0(unsigned int, getMaximumNumberOfNestedImpostors);
Method0(void, reset);
Method1(void, apply, IN, osg::Node &, node);
Method1(void, apply, IN, osg::Group &, node);
Method1(void, apply, IN, osg::LOD &, node);
Method0(void, insertImpostors);
Property(float, ImpostorThresholdRatio);
Property(unsigned int, MaximumNumberOfNestedImpostors);
END_REFLECTOR

View File

@@ -0,0 +1,29 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osgSim/BlinkSequence>
#include <osgSim/LightPoint>
#include <osgSim/Sector>
BEGIN_ENUM_REFLECTOR(osgSim::LightPoint::BlendingMode)
EnumLabel(osgSim::LightPoint::ADDITIVE);
EnumLabel(osgSim::LightPoint::BLENDED);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgSim::LightPoint)
Constructor0();
Constructor2(IN, const osg::Vec3 &, position, IN, const osg::Vec4 &, color);
ConstructorWithDefaults8(IN, bool, on, , IN, const osg::Vec3 &, position, , IN, const osg::Vec4 &, color, , IN, float, intensity, 1.0f, IN, float, radius, 1.0f, IN, osgSim::Sector *, sector, 0, IN, osgSim::BlinkSequence *, blinkSequence, 0, IN, osgSim::LightPoint::BlendingMode, blendingMode, osgSim::LightPoint::BLENDED);
Constructor1(IN, const osgSim::LightPoint &, lp);
END_REFLECTOR

View File

@@ -0,0 +1,57 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgSim/LightPoint>
#include <osgSim/LightPointNode>
#include <osgSim/LightPointSystem>
TYPE_NAME_ALIAS(std::vector< osgSim::LightPoint >, osgSim::LightPointNode::LightPointList);
BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
BaseType(osg::Node);
Constructor0();
ConstructorWithDefaults2(IN, const osgSim::LightPointNode &, x, , 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, traverse, IN, osg::NodeVisitor &, nv);
Method0(unsigned int, getNumLightPoints);
Method1(unsigned int, addLightPoint, IN, const osgSim::LightPoint &, lp);
Method1(void, removeLightPoint, IN, unsigned int, pos);
Method1(osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos);
Method1(const osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos);
Method1(void, setLightPointList, IN, const osgSim::LightPointNode::LightPointList &, lpl);
Method0(osgSim::LightPointNode::LightPointList &, getLightPointList);
Method0(const osgSim::LightPointNode::LightPointList &, getLightPointList);
Method1(void, setMinPixelSize, IN, float, minPixelSize);
Method0(float, getMinPixelSize);
Method1(void, setMaxPixelSize, IN, float, maxPixelSize);
Method0(float, getMaxPixelSize);
Method1(void, setMaxVisibleDistance2, IN, float, maxVisibleDistance2);
Method0(float, getMaxVisibleDistance2);
Method1(void, setLightPointSystem, IN, osgSim::LightPointSystem *, lps);
Method0(osgSim::LightPointSystem *, getLightPointSystem);
ArrayProperty_GA(const osgSim::LightPoint &, LightPoint, LightPoints, unsigned int, unsigned int);
Property(const osgSim::LightPointNode::LightPointList &, LightPointList);
Property(osgSim::LightPointSystem *, LightPointSystem);
Property(float, MaxPixelSize);
Property(float, MaxVisibleDistance2);
Property(float, MinPixelSize);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osgSim::LightPoint >);

View File

@@ -0,0 +1,38 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgSim/LightPointSystem>
BEGIN_ENUM_REFLECTOR(osgSim::LightPointSystem::AnimationState)
EnumLabel(osgSim::LightPointSystem::ANIMATION_ON);
EnumLabel(osgSim::LightPointSystem::ANIMATION_OFF);
EnumLabel(osgSim::LightPointSystem::ANIMATION_RANDOM);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgSim::LightPointSystem)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osgSim::LightPointSystem &, lps, , 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 *, libraryName);
Method0(const char *, className);
Method1(void, setIntensity, IN, float, intensity);
Method0(float, getIntensity);
Method1(void, setAnimationState, IN, osgSim::LightPointSystem::AnimationState, state);
Method0(osgSim::LightPointSystem::AnimationState, getAnimationState);
Property(osgSim::LightPointSystem::AnimationState, AnimationState);
Property(float, Intensity);
END_REFLECTOR

View File

@@ -0,0 +1,62 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgSim/MultiSwitch>
TYPE_NAME_ALIAS(std::vector< bool >, osgSim::MultiSwitch::ValueList);
TYPE_NAME_ALIAS(std::vector< osgSim::MultiSwitch::ValueList >, osgSim::MultiSwitch::SwitchSetList);
BEGIN_OBJECT_REFLECTOR(osgSim::MultiSwitch)
BaseType(osg::Group);
Constructor0();
ConstructorWithDefaults2(IN, const osgSim::MultiSwitch &, x, , 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, traverse, IN, osg::NodeVisitor &, nv);
Method1(void, setNewChildDefaultValue, IN, bool, value);
Method0(bool, getNewChildDefaultValue);
Method1(bool, addChild, IN, osg::Node *, child);
Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child);
Method1(bool, removeChild, IN, osg::Node *, child);
Method3(void, setValue, IN, unsigned int, switchSet, IN, unsigned int, pos, IN, bool, value);
Method2(bool, getValue, IN, unsigned int, switchSet, IN, unsigned int, pos);
Method3(void, setChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet, IN, bool, value);
Method2(bool, getChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet);
Method1(bool, setAllChildrenOff, IN, unsigned int, switchSet);
Method1(bool, setAllChildrenOn, IN, unsigned int, switchSet);
Method2(bool, setSingleChildOn, IN, unsigned int, switchSet, IN, unsigned int, pos);
Method1(void, setActiveSwitchSet, IN, unsigned int, switchSet);
Method0(unsigned int, getActiveSwitchSet);
Method1(void, setSwitchSetList, IN, const osgSim::MultiSwitch::SwitchSetList &, switchSetList);
Method0(const osgSim::MultiSwitch::SwitchSetList &, getSwitchSetList);
Method2(void, setValueList, IN, unsigned int, switchSet, IN, const osgSim::MultiSwitch::ValueList &, values);
Method1(const osgSim::MultiSwitch::ValueList &, getValueList, IN, unsigned int, switchSet);
Property(unsigned int, ActiveSwitchSet);
WriteOnlyPropertyWithReturnType(unsigned int, AllChildrenOff, bool);
WriteOnlyPropertyWithReturnType(unsigned int, AllChildrenOn, bool);
IndexedProperty2(bool, ChildValue, const osg::Node *, child, unsigned int, switchSet);
Property(bool, NewChildDefaultValue);
Property(const osgSim::MultiSwitch::SwitchSetList &, SwitchSetList);
IndexedProperty2(bool, Value, unsigned int, switchSet, unsigned int, pos);
IndexedProperty1(const osgSim::MultiSwitch::ValueList &, ValueList, unsigned int, switchSet);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osgSim::MultiSwitch::ValueList >);

View File

@@ -0,0 +1,77 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
#include <osgSim/ScalarBar>
#include <osgSim/ScalarsToColors>
BEGIN_ENUM_REFLECTOR(osgSim::ScalarBar::Orientation)
EnumLabel(osgSim::ScalarBar::HORIZONTAL);
EnumLabel(osgSim::ScalarBar::VERTICAL);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
BaseType(osg::Geode);
Constructor0();
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);
Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co);
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, setNumColors, IN, int, numColors);
Method0(int, getNumColors);
Method1(void, setNumLabels, IN, int, numLabels);
Method0(int, getNumLabels);
Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc);
Method0(const osgSim::ScalarsToColors *, getScalarsToColors);
Method1(void, setTitle, IN, const std::string &, title);
Method0(std::string, getTitle);
Method1(void, setPosition, IN, const osg::Vec3 &, pos);
Method0(const osg::Vec3 &, getPosition);
Method1(void, setWidth, IN, float, width);
Method0(float, getWidth);
Method1(void, setAspectRatio, IN, float, aspectRatio);
Method0(float, getAspectRatio);
Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation);
Method0(osgSim::ScalarBar::Orientation, getOrientation);
Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp);
Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter);
Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp);
Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties);
Method0(void, update);
Property(float, AspectRatio);
WriteOnlyProperty(int, NumColors);
WriteOnlyProperty(int, NumLabels);
Property(osgSim::ScalarBar::Orientation, Orientation);
Property(const osg::Vec3 &, Position);
WriteOnlyProperty(osgSim::ScalarBar::ScalarPrinter *, ScalarPrinter);
WriteOnlyProperty(osgSim::ScalarsToColors *, ScalarsToColors);
Property(const osgSim::ScalarBar::TextProperties &, TextProperties);
ReadOnlyProperty(std::string, Title);
Property(float, Width);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::ScalarPrinter)
BaseType(osg::Referenced);
Constructor0();
Method1(std::string, printScalar, IN, float, scalar);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::TextProperties)
Constructor0();
END_REFLECTOR

Some files were not shown because too many files have changed in this diff Show More