Atoms Crowd  4.1.0
DefaultMeshExporter.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 <Atoms/Globals.h>
11 #include <AtomsCore/Metadata/MapMetadata.h>
12 #include <Atoms/Exporters/BaseMeshExporter.h>
13 
14 namespace Atoms
15 {
16  class ATOMS_EXPORT DefaultMeshExporter : public BaseMeshExporter
17  {
18  public:
20 
23  std::string typeStr() const;
24 
26  static std::string const staticTypeStr;
27 
30 
33 
35 
38  static AtomsPtr<BaseMeshExporter> creator();
39 
41 
44  virtual bool save(const AtomsCore::MapMetadata* mesh, const std::string& filePath, AtomsCore::MapMetadata* parameters);
45  };
46 }
Atoms::DefaultMeshExporter
Definition: DefaultMeshExporter.h:17
Atoms::DefaultMeshExporter::~DefaultMeshExporter
~DefaultMeshExporter()
Destructor.
Atoms
Atoms namespace.
Definition: Agent.h:28
Atoms::DefaultMeshExporter::creator
static AtomsPtr< BaseMeshExporter > creator()
Creator function.
Atoms::DefaultMeshExporter::staticTypeStr
static std::string const staticTypeStr
Class static type string.
Definition: DefaultMeshExporter.h:26
Atoms::DefaultMeshExporter::typeStr
std::string typeStr() const
Type string.
AtomsCore::MapMetadata
MapMetadata class.
Definition: MapMetadata.h:24
Atoms::BaseMeshExporter
BaseMeshExporter class.
Definition: BaseMeshExporter.h:22
Atoms::DefaultMeshExporter::save
virtual bool save(const AtomsCore::MapMetadata *mesh, const std::string &filePath, AtomsCore::MapMetadata *parameters)
load
Atoms::DefaultMeshExporter::DefaultMeshExporter
DefaultMeshExporter()
Constructor.