Atoms Crowd  7.0.0
BaseMeshExporter.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 BaseMeshExporter
22  {
23  public:
24 
26 
30  virtual std::string typeStr() const = 0;
31 
34 
36  virtual ~BaseMeshExporter() = 0;
37 
39 
42  virtual bool save(const AtomsCore::MapMetadata* mesh, const std::string& filePath, AtomsCore::MapMetadata* parameters) = 0;
43 
44  };
45 }
BaseMeshExporter class.
Definition: BaseMeshExporter.h:22
virtual ~BaseMeshExporter()=0
Virtual Destructor.
virtual bool save(const AtomsCore::MapMetadata *mesh, const std::string &filePath, AtomsCore::MapMetadata *parameters)=0
load
BaseMeshExporter()
Constructor.
virtual std::string typeStr() const =0
Type string.
MapMetadata class.
Definition: MapMetadata.h:24
Atoms namespace.
Definition: Agent.h:29