Files
OpenSceneGraph/src/osgWrappers/osg/PagedLOD.cpp
Robert Osfield d23b48fe3a Updated wrappers
2007-02-16 15:29:47 +00:00

744 lines
32 KiB
C++

// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/Group.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/.svn/text-base/NodeVisitor.svn-base>
#include <osg/.svn/text-base/Object.svn-base>
#include <osg/PagedLOD>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(std::vector< osg::PagedLOD::PerRangeData >, osg::PagedLOD::PerRangeDataList);
BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
I_BaseType(osg::LOD);
I_BaseType(osg::LOD);
I_Constructor0(____PagedLOD,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"",
"");
I_Method1(bool, addChild, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"",
"");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,
"",
"");
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
"",
"");
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
"",
"");
I_Method1(void, setDatabasePath, IN, const std::string &, path,
Properties::NON_VIRTUAL,
__void__setDatabasePath__C5_std_string_R1,
"Set the database path to prepend to children's filenames. ",
"");
I_Method0(const std::string &, getDatabasePath,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getDatabasePath,
"Get the database path used to prepend to children's filenames. ",
"");
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
Properties::NON_VIRTUAL,
__void__setFileName__unsigned_int__C5_std_string_R1,
"",
"");
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFileName__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumFileNames,
Properties::NON_VIRTUAL,
__unsigned_int__getNumFileNames,
"",
"");
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
Properties::NON_VIRTUAL,
__void__setPriorityOffset__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityOffset__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityOffsets,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityOffsets,
"",
"");
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
Properties::NON_VIRTUAL,
__void__setPriorityScale__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityScale__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityScales,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityScales,
"",
"");
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
Properties::NON_VIRTUAL,
__void__setTimeStamp__unsigned_int__double,
"",
"");
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__double__getTimeStamp__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumTimeStamps,
Properties::NON_VIRTUAL,
__unsigned_int__getNumTimeStamps,
"",
"");
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
Properties::NON_VIRTUAL,
__void__setFrameNumberOfLastTraversal__int,
"Set the frame number of the last time that this PageLOD node was traversed. ",
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
I_Method0(int, getFrameNumberOfLastTraversal,
Properties::NON_VIRTUAL,
__int__getFrameNumberOfLastTraversal,
"Get the frame number of the last time that this PageLOD node was traversed. ",
"");
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenThatCannotBeExpired,
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
Properties::VIRTUAL,
__bool__removeExpiredChildren__double__NodeList_R1,
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
I_Constructor0(____PagedLOD,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"",
"");
I_Method1(bool, addChild, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"",
"");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,
"",
"");
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
"",
"");
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
"",
"");
I_Method1(void, setDatabasePath, IN, const std::string &, path,
Properties::NON_VIRTUAL,
__void__setDatabasePath__C5_std_string_R1,
"Set the database path to prepend to children's filenames. ",
"");
I_Method0(const std::string &, getDatabasePath,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getDatabasePath,
"Get the database path used to prepend to children's filenames. ",
"");
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
Properties::NON_VIRTUAL,
__void__setFileName__unsigned_int__C5_std_string_R1,
"",
"");
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFileName__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumFileNames,
Properties::NON_VIRTUAL,
__unsigned_int__getNumFileNames,
"",
"");
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
Properties::NON_VIRTUAL,
__void__setPriorityOffset__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityOffset__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityOffsets,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityOffsets,
"",
"");
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
Properties::NON_VIRTUAL,
__void__setPriorityScale__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityScale__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityScales,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityScales,
"",
"");
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
Properties::NON_VIRTUAL,
__void__setTimeStamp__unsigned_int__double,
"",
"");
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__double__getTimeStamp__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumTimeStamps,
Properties::NON_VIRTUAL,
__unsigned_int__getNumTimeStamps,
"",
"");
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
Properties::NON_VIRTUAL,
__void__setFrameNumberOfLastTraversal__int,
"Set the frame number of the last time that this PageLOD node was traversed. ",
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
I_Method0(int, getFrameNumberOfLastTraversal,
Properties::NON_VIRTUAL,
__int__getFrameNumberOfLastTraversal,
"Get the frame number of the last time that this PageLOD node was traversed. ",
"");
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenThatCannotBeExpired,
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
Properties::VIRTUAL,
__bool__removeExpiredChildren__double__NodeList_R1,
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
I_SimpleProperty(const std::string &, DatabasePath,
__C5_std_string_R1__getDatabasePath,
__void__setDatabasePath__C5_std_string_R1);
I_ArrayProperty(const std::string &, FileName,
__C5_std_string_R1__getFileName__unsigned_int,
__void__setFileName__unsigned_int__C5_std_string_R1,
__unsigned_int__getNumFileNames,
0,
0,
0);
I_SimpleProperty(int, FrameNumberOfLastTraversal,
__int__getFrameNumberOfLastTraversal,
__void__setFrameNumberOfLastTraversal__int);
I_SimpleProperty(unsigned int, NumChildrenThatCannotBeExpired,
0,
__void__setNumChildrenThatCannotBeExpired__unsigned_int);
I_ArrayProperty(float, PriorityOffset,
__float__getPriorityOffset__unsigned_int,
__void__setPriorityOffset__unsigned_int__float,
__unsigned_int__getNumPriorityOffsets,
0,
0,
0);
I_ArrayProperty(float, PriorityScale,
__float__getPriorityScale__unsigned_int,
__void__setPriorityScale__unsigned_int__float,
__unsigned_int__getNumPriorityScales,
0,
0,
0);
I_ArrayProperty(double, TimeStamp,
__double__getTimeStamp__unsigned_int,
__void__setTimeStamp__unsigned_int__double,
__unsigned_int__getNumTimeStamps,
0,
0,
0);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::PagedLOD::PerRangeData >, osg::PagedLOD::PerRangeDataList);
BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
I_BaseType(osg::LOD);
I_BaseType(osg::LOD);
I_Constructor0(____PagedLOD,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"",
"");
I_Method1(bool, addChild, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"",
"");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,
"",
"");
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
"",
"");
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
"",
"");
I_Method1(void, setDatabasePath, IN, const std::string &, path,
Properties::NON_VIRTUAL,
__void__setDatabasePath__C5_std_string_R1,
"Set the database path to prepend to children's filenames. ",
"");
I_Method0(const std::string &, getDatabasePath,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getDatabasePath,
"Get the database path used to prepend to children's filenames. ",
"");
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
Properties::NON_VIRTUAL,
__void__setFileName__unsigned_int__C5_std_string_R1,
"",
"");
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFileName__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumFileNames,
Properties::NON_VIRTUAL,
__unsigned_int__getNumFileNames,
"",
"");
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
Properties::NON_VIRTUAL,
__void__setPriorityOffset__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityOffset__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityOffsets,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityOffsets,
"",
"");
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
Properties::NON_VIRTUAL,
__void__setPriorityScale__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityScale__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityScales,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityScales,
"",
"");
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
Properties::NON_VIRTUAL,
__void__setTimeStamp__unsigned_int__double,
"",
"");
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__double__getTimeStamp__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumTimeStamps,
Properties::NON_VIRTUAL,
__unsigned_int__getNumTimeStamps,
"",
"");
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
Properties::NON_VIRTUAL,
__void__setFrameNumberOfLastTraversal__int,
"Set the frame number of the last time that this PageLOD node was traversed. ",
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
I_Method0(int, getFrameNumberOfLastTraversal,
Properties::NON_VIRTUAL,
__int__getFrameNumberOfLastTraversal,
"Get the frame number of the last time that this PageLOD node was traversed. ",
"");
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenThatCannotBeExpired,
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
Properties::VIRTUAL,
__bool__removeExpiredChildren__double__NodeList_R1,
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
I_Constructor0(____PagedLOD,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"",
"");
I_Method1(bool, addChild, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"",
"");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,
"",
"");
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
"",
"");
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
"",
"");
I_Method1(void, setDatabasePath, IN, const std::string &, path,
Properties::NON_VIRTUAL,
__void__setDatabasePath__C5_std_string_R1,
"Set the database path to prepend to children's filenames. ",
"");
I_Method0(const std::string &, getDatabasePath,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getDatabasePath,
"Get the database path used to prepend to children's filenames. ",
"");
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
Properties::NON_VIRTUAL,
__void__setFileName__unsigned_int__C5_std_string_R1,
"",
"");
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFileName__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumFileNames,
Properties::NON_VIRTUAL,
__unsigned_int__getNumFileNames,
"",
"");
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
Properties::NON_VIRTUAL,
__void__setPriorityOffset__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityOffset__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityOffsets,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityOffsets,
"",
"");
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
Properties::NON_VIRTUAL,
__void__setPriorityScale__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityScale__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityScales,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityScales,
"",
"");
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
Properties::NON_VIRTUAL,
__void__setTimeStamp__unsigned_int__double,
"",
"");
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__double__getTimeStamp__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumTimeStamps,
Properties::NON_VIRTUAL,
__unsigned_int__getNumTimeStamps,
"",
"");
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
Properties::NON_VIRTUAL,
__void__setFrameNumberOfLastTraversal__int,
"Set the frame number of the last time that this PageLOD node was traversed. ",
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
I_Method0(int, getFrameNumberOfLastTraversal,
Properties::NON_VIRTUAL,
__int__getFrameNumberOfLastTraversal,
"Get the frame number of the last time that this PageLOD node was traversed. ",
"");
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenThatCannotBeExpired,
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
Properties::VIRTUAL,
__bool__removeExpiredChildren__double__NodeList_R1,
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
I_SimpleProperty(const std::string &, DatabasePath,
__C5_std_string_R1__getDatabasePath,
__void__setDatabasePath__C5_std_string_R1);
I_ArrayProperty(const std::string &, FileName,
__C5_std_string_R1__getFileName__unsigned_int,
__void__setFileName__unsigned_int__C5_std_string_R1,
__unsigned_int__getNumFileNames,
0,
0,
0);
I_SimpleProperty(int, FrameNumberOfLastTraversal,
__int__getFrameNumberOfLastTraversal,
__void__setFrameNumberOfLastTraversal__int);
I_SimpleProperty(unsigned int, NumChildrenThatCannotBeExpired,
0,
__void__setNumChildrenThatCannotBeExpired__unsigned_int);
I_ArrayProperty(float, PriorityOffset,
__float__getPriorityOffset__unsigned_int,
__void__setPriorityOffset__unsigned_int__float,
__unsigned_int__getNumPriorityOffsets,
0,
0,
0);
I_ArrayProperty(float, PriorityScale,
__float__getPriorityScale__unsigned_int,
__void__setPriorityScale__unsigned_int__float,
__unsigned_int__getNumPriorityScales,
0,
0,
0);
I_ArrayProperty(double, TimeStamp,
__double__getTimeStamp__unsigned_int,
__void__setTimeStamp__unsigned_int__double,
__unsigned_int__getNumTimeStamps,
0,
0,
0);
END_REFLECTOR