Atoms Crowd  4.1.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 }
Atoms::BaseMeshExporter::save
virtual bool save(const AtomsCore::MapMetadata *mesh, const std::string &filePath, AtomsCore::MapMetadata *parameters)=0
load
Atoms::BaseMeshExporter::BaseMeshExporter
BaseMeshExporter()
Constructor.
Atoms::BaseMeshExporter::~BaseMeshExporter
virtual ~BaseMeshExporter()=0
Virtual Destructor.
Atoms
Atoms namespace.
Definition: Agent.h:28
AtomsCore::MapMetadata
MapMetadata class.
Definition: MapMetadata.h:24
Atoms::BaseMeshExporter
BaseMeshExporter class.
Definition: BaseMeshExporter.h:22
Atoms::BaseMeshExporter::typeStr
virtual std::string typeStr() const =0
Type string.