VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDiGuyOsgGraphicsFile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvDiGuy/vrvDiGuy.h>
13 #include <osg/ref_ptr>
14 #include <osg/Node>
15 
16 #include <diguyGraphicsFile.h>
17 
18 
19 namespace makVrv
20 {
21  class DtDe;
22 
26  {
27  public:
28 
31  static diguyGraphicsFile* create(void* internal_data);
32 
35  static void registerDiGuyPaths();
36 
38  DtDiGuyOsgGraphicsFile(DtDe& de, void* internal_data);
39 
41  virtual ~DtDiGuyOsgGraphicsFile();
42 
44  virtual int load(const char* filename, const char* extension);
45 
47  virtual int unload();
48 
50  virtual void* find_part(const char* part_name);
51 
52  protected:
53 
54  static osg::Node* recursive_find_part(const char* part_name, osg::Node* parent);
55 
56  protected:
58  osg::ref_ptr<osg::Node> myFileRoot;
59  };
60 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)