VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtReadFileCallback.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 #include <osgDB/Registry>
14 
15 #include <string>
16 
17 namespace makVrv
18 {
19  class DtOsgFileCache;
20 
21  class DtReadFileCallback : public osgDB::Registry::ReadFileCallback
22  {
23  public:
25 
26  virtual osgDB::ReaderWriter::ReadResult openArchive(
27  const std::string& filename, osgDB::ReaderWriter::ArchiveStatus status,
28  unsigned int indexBlockSizeHint,
29  const osgDB::ReaderWriter::Options* useObjectCache);
30 
31  virtual osgDB::ReaderWriter::ReadResult readObject(
32  const std::string& filename, const osgDB::ReaderWriter::Options* options);
33 
34  virtual osgDB::ReaderWriter::ReadResult readImage(
35  const std::string& filename, const osgDB::ReaderWriter::Options* options);
36 
37  virtual osgDB::ReaderWriter::ReadResult readHeightField(
38  const std::string& filename, const osgDB::ReaderWriter::Options* options);
39 
40  virtual osgDB::ReaderWriter::ReadResult readNode(
41  const std::string& filename, const osgDB::ReaderWriter::Options* options);
42 
43  virtual osgDB::ReaderWriter::ReadResult readShader(
44  const std::string& filename, const osgDB::ReaderWriter::Options* options);
45 
46  protected:
47 
49  };
50 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)