Atoms Crowd  7.0.0
BaseMeshLoader.h
1 #pragma once
2 // ===========================================================================
3 // Copyright (c) 2015 Toolchefs Ltd. All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Toolchefs license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 // ===========================================================================
9 
10 #include <AtomsCore/Metadata/MapMetadata.h>
11 #include <Atoms/Globals.h>
12 
13 #include <string>
14 
15 namespace Atoms
16 {
18 
21  class ATOMS_EXPORT BaseMeshLoader
22  {
23  public:
24 
26 
30  virtual std::string typeStr() const = 0;
31 
33 
37  virtual unsigned int typeId() const = 0;
38 
41 
43  virtual ~BaseMeshLoader() = 0;
44 
46 
49  virtual AtomsPtr<AtomsCore::MapMetadata> load(const std::string &filePath, const std::string& filter = "*") = 0;
50 
51  };
52 }
BaseAnimLoader class.
Definition: BaseMeshLoader.h:22
virtual std::string typeStr() const =0
Type string.
virtual unsigned int typeId() const =0
Type id.
virtual ~BaseMeshLoader()=0
Virtual Destructor.
virtual AtomsPtr< AtomsCore::MapMetadata > load(const std::string &filePath, const std::string &filter="*")=0
load
BaseMeshLoader()
Constructor.
Atoms namespace.
Definition: Agent.h:29