VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes
makVrv::DtDiGuyOsgGraphicsFile Class Reference

The OSG implementation of a di guy graphics file. More...

Inheritance diagram for makVrv::DtDiGuyOsgGraphicsFile:
Inheritance graph
[legend]

Public Member Functions

 DtDiGuyOsgGraphicsFile (DtDe &de, void *internal_data)
 CTOR.
virtual ~DtDiGuyOsgGraphicsFile ()
 DTOR.
virtual int load (const char *filename, const char *extension)
 Load a file.
virtual int unload ()
 Unload the file.
virtual void * find_part (const char *part_name)
 Find a a part.

Static Public Member Functions

static diguyGraphicsFilecreate (void *internal_data)
 A static create function.
static void registerDiGuyPaths ()
 Registers the Di Guy Paths with the OSG file loader.

Static Protected Member Functions

static osg::Node * recursive_find_part (const char *part_name, osg::Node *parent)

Protected Attributes

DtDemyDe
osg::ref_ptr< osg::Node > myFileRoot

Detailed Description

The OSG implementation of a di guy graphics file.

Constructor & Destructor Documentation

makVrv::DtDiGuyOsgGraphicsFile::DtDiGuyOsgGraphicsFile ( DtDe de,
void *  internal_data 
)

CTOR.

virtual makVrv::DtDiGuyOsgGraphicsFile::~DtDiGuyOsgGraphicsFile ( )
virtual

DTOR.

Member Function Documentation

static diguyGraphicsFile* makVrv::DtDiGuyOsgGraphicsFile::create ( void *  internal_data)
static

A static create function.

It is needed for registering w/ Di Guy graphics api.

static void makVrv::DtDiGuyOsgGraphicsFile::registerDiGuyPaths ( )
static

Registers the Di Guy Paths with the OSG file loader.

This only needs to be called once.

virtual int makVrv::DtDiGuyOsgGraphicsFile::load ( const char *  filename,
const char *  extension 
)
virtual

Load a file.

virtual int makVrv::DtDiGuyOsgGraphicsFile::unload ( )
virtual

Unload the file.

virtual void* makVrv::DtDiGuyOsgGraphicsFile::find_part ( const char *  part_name)
virtual

Find a a part.

static osg::Node* makVrv::DtDiGuyOsgGraphicsFile::recursive_find_part ( const char *  part_name,
osg::Node *  parent 
)
staticprotected

Member Data Documentation

DtDe& makVrv::DtDiGuyOsgGraphicsFile::myDe
protected
osg::ref_ptr<osg::Node> makVrv::DtDiGuyOsgGraphicsFile::myFileRoot
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)