VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 #if 0
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 
25  class DT_DLL_VRVDIGUY DtDiGuyOsgGraphicsFile : public diguyGraphicsFile
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:
57  DtDe& myDe;
58  osg::ref_ptr<osg::Node> myFileRoot;
59  };
60 }
61 #endif
Contains DLL export macros.
#define DT_DLL_VRVDIGUY
Definition: vrvDiGuy.h:21

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)