|
Public Types |
| typedef std::vector< PerRangeData > | PerRangeDataList |
Public Member Functions |
| | PagedLOD () |
| | PagedLOD (const PagedLOD &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| | Copy constructor using CopyOp to manage deep vs shallow copy.
|
| | META_Node (osg, PagedLOD) |
| virtual void | traverse (NodeVisitor &nv) |
| | Traverse downwards : calls children's accept method with NodeVisitor.
|
| virtual bool | addChild (Node *child) |
| | Add Node to Group.
|
| virtual bool | addChild (Node *child, float min, float max) |
| virtual bool | addChild (Node *child, float min, float max, const std::string &filename, float priorityOffset=0.0f, float priorityScale=1.0f) |
| virtual bool | removeChild (Node *child) |
| | Remove Node from Group.
|
| void | setDatabasePath (const std::string &path) |
| | Set the database path to prepend to children's filenames.
|
| const std::string & | getDatabasePath () const |
| | Get the database path used to prepend to children's filenames.
|
| void | setFileName (unsigned int childNo, const std::string &filename) |
| const std::string & | getFileName (unsigned int childNo) const |
| unsigned int | getNumFileNames () const |
| void | setPriorityOffset (unsigned int childNo, float priorityOffset) |
| float | getPriorityOffset (unsigned int childNo) const |
| unsigned int | getNumPriorityOffsets () const |
| void | setPriorityScale (unsigned int childNo, float priorityScale) |
| float | getPriorityScale (unsigned int childNo) const |
| unsigned int | getNumPriorityScales () const |
| void | setTimeStamp (unsigned int childNo, double timeStamp) |
| double | getTimeStamp (unsigned int childNo) const |
| unsigned int | getNumTimeStamps () const |
| void | setFrameNumberOfLastTraversal (int frameNumber) |
| | Set the frame number of the last time that this PageLOD node was traversed.
|
| int | getFrameNumberOfLastTraversal () const |
| | Get the frame number of the last time that this PageLOD node was traversed.
|
| void | setNumChildrenThatCannotBeExpired (unsigned int num) |
| | Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time.
|
| unsigned int | getNumChildrenThatCannotBeExpired () const |
| | Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time.
|
| virtual bool | removeExpiredChildren (double expiryTime, NodeList &removedChildren) |
| | Remove the children from the PagedLOD which haven't been visited since specified expiry time.
|
Protected Member Functions |
| virtual | ~PagedLOD () |
| virtual void | childRemoved (unsigned int pos, unsigned int numChildrenToRemove) |
| virtual void | childInserted (unsigned int pos) |
| virtual void | rangeRemoved (unsigned int pos, unsigned int numChildrenToRemove) |
| virtual void | rangeInserted (unsigned int pos) |
| void | expandPerRangeDataTo (unsigned int pos) |
Protected Attributes |
| std::string | _databasePath |
| int | _frameNumberOfLastTraversal |
| unsigned int | _numChildrenThatCannotBeExpired |
| PerRangeDataList | _perRangeDataList |