Atoms Crowd  4.1.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 }
Atoms::BaseMeshLoader
BaseAnimLoader class.
Definition: BaseMeshLoader.h:22
Atoms::BaseMeshLoader::~BaseMeshLoader
virtual ~BaseMeshLoader()=0
Virtual Destructor.
Atoms
Atoms namespace.
Definition: Agent.h:28
Atoms::BaseMeshLoader::BaseMeshLoader
BaseMeshLoader()
Constructor.
Atoms::BaseMeshLoader::typeStr
virtual std::string typeStr() const =0
Type string.
Atoms::BaseMeshLoader::load
virtual AtomsPtr< AtomsCore::MapMetadata > load(const std::string &filePath, const std::string &filter="*")=0
load
Atoms::BaseMeshLoader::typeId
virtual unsigned int typeId() const =0
Type id.