Atoms Crowd  4.1.0
DefaultSkeletonLoader.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/Skeleton.h>
12 #include <Atoms/Loaders/BaseSkeletonLoader.h>
13 
14 namespace Atoms
15 {
16  class ATOMS_EXPORT DefaultSkeletonLoader : public BaseSkeletonLoader
17  {
18  public:
20 
23  std::string typeStr() const;
24 
26  static std::string const staticTypeStr;
27 
29 
32  unsigned int typeId() const;
33 
35  static const unsigned int staticTypeId;
36 
39 
42 
44 
47  static AtomsPtr<BaseSkeletonLoader> creator();
48 
50 
53  AtomsCore::Skeleton load(const std::string &filePath, const std::string &filter="");
54  };
55 }
Atoms::DefaultSkeletonLoader::typeId
unsigned int typeId() const
Type id.
Atoms::DefaultSkeletonLoader::staticTypeId
static const unsigned int staticTypeId
Class static type id.
Definition: DefaultSkeletonLoader.h:35
Atoms::DefaultSkeletonLoader::load
AtomsCore::Skeleton load(const std::string &filePath, const std::string &filter="")
load
Atoms::DefaultSkeletonLoader
Definition: DefaultSkeletonLoader.h:17
Atoms::DefaultSkeletonLoader::staticTypeStr
static std::string const staticTypeStr
Class static type string.
Definition: DefaultSkeletonLoader.h:26
Atoms::BaseSkeletonLoader
BaseAnimLoader class.
Definition: BaseSkeletonLoader.h:22
Atoms::DefaultSkeletonLoader::DefaultSkeletonLoader
DefaultSkeletonLoader()
Constructor.
Atoms
Atoms namespace.
Definition: Agent.h:28
Atoms::DefaultSkeletonLoader::creator
static AtomsPtr< BaseSkeletonLoader > creator()
Creator function.
AtomsCore::Skeleton
Skeleton class.
Definition: Skeleton.h:68
Atoms::DefaultSkeletonLoader::typeStr
std::string typeStr() const
Type string.
Atoms::DefaultSkeletonLoader::~DefaultSkeletonLoader
~DefaultSkeletonLoader()
Destructor.