VR-Forces 4.8 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 
22  {
23  public:
25 
26  virtual ~DtReadFileCallback();
27 
28  virtual osgDB::ReaderWriter::ReadResult openArchive(
29  const std::string& filename, osgDB::ReaderWriter::ArchiveStatus status,
30  unsigned int indexBlockSizeHint,
31  const osgDB::ReaderWriter::Options* useObjectCache);
32 
33  virtual osgDB::ReaderWriter::ReadResult readObject(
34  const std::string& filename, const osgDB::ReaderWriter::Options* options);
35 
36  virtual osgDB::ReaderWriter::ReadResult readImage(
37  const std::string& filename, const osgDB::ReaderWriter::Options* options);
38 
39  virtual osgDB::ReaderWriter::ReadResult readHeightField(
40  const std::string& filename, const osgDB::ReaderWriter::Options* options);
41 
42  virtual osgDB::ReaderWriter::ReadResult readNode(
43  const std::string& filename, const osgDB::ReaderWriter::Options* options);
44 
45  virtual osgDB::ReaderWriter::ReadResult readShader(
46  const std::string& filename, const osgDB::ReaderWriter::Options* options);
47 
48  protected:
49 
51  };
52 }
virtual osgDB::ReaderWriter::ReadResult readImage(const std::string &filename, const osgDB::ReaderWriter::Options *options)
virtual osgDB::ReaderWriter::ReadResult readShader(const std::string &filename, const osgDB::ReaderWriter::Options *options)
DtReadFileCallback(DtOsgFileCache *cache)
virtual osgDB::ReaderWriter::ReadResult readHeightField(const std::string &filename, const osgDB::ReaderWriter::Options *options)
The OSG implementation of makVrv::DtOsgFileCache.
Definition: DtOsgFileCache.h:55
virtual osgDB::ReaderWriter::ReadResult readObject(const std::string &filename, const osgDB::ReaderWriter::Options *options)
virtual osgDB::ReaderWriter::ReadResult readNode(const std::string &filename, const osgDB::ReaderWriter::Options *options)
Definition: DtReadFileCallback.h:21
virtual osgDB::ReaderWriter::ReadResult openArchive(const std::string &filename, osgDB::ReaderWriter::ArchiveStatus status, unsigned int indexBlockSizeHint, const osgDB::ReaderWriter::Options *useObjectCache)
Contains DLL export macros.
DtOsgFileCache * myCache
Definition: DtReadFileCallback.h:50

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)