OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MWRender::PartHolder Class Reference

Detaches the node from its parent when the object goes out of scope. More...

#include <animation.hpp>

Collaboration diagram for MWRender::PartHolder:

Public Member Functions

 PartHolder (osg::ref_ptr< osg::Node > node)
 
 ~PartHolder ()
 
void unlink ()
 Unreferences mNode without detaching it from the graph. Only use if you know what you are doing. More...
 
osg::ref_ptr< osg::Node > getNode ()
 

Private Member Functions

void operator= (const PartHolder &)
 
 PartHolder (const PartHolder &)
 

Private Attributes

osg::ref_ptr< osg::Node > mNode
 

Detailed Description

Detaches the node from its parent when the object goes out of scope.

Constructor & Destructor Documentation

MWRender::PartHolder::PartHolder ( osg::ref_ptr< osg::Node >  node)
MWRender::PartHolder::~PartHolder ( )
MWRender::PartHolder::PartHolder ( const PartHolder )
private

Member Function Documentation

osg::ref_ptr<osg::Node> MWRender::PartHolder::getNode ( )
inline
void MWRender::PartHolder::operator= ( const PartHolder )
private
void MWRender::PartHolder::unlink ( )

Unreferences mNode without detaching it from the graph. Only use if you know what you are doing.

Member Data Documentation

osg::ref_ptr<osg::Node> MWRender::PartHolder::mNode
private

The documentation for this class was generated from the following files: