VR-Forces 4.8 Class Documentation
 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 
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:
59  };
60 }
Contains DLL export macros.
osg::ref_ptr< osg::Node > myFileRoot
Definition: DtDiGuyOsgGraphicsFile.h:58
DtDe & myDe
Definition: DtDiGuyOsgGraphicsFile.h:57
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_VRVDIGUY
Definition: vrvDiGuy.h:21
The OSG implementation of a di guy graphics file.
Definition: DtDiGuyOsgGraphicsFile.h:25

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)