Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
castor3d::AnimationImporter Class Referenceabstract

#include <AnimationImporter.hpp>

Inheritance diagram for castor3d::AnimationImporter:
Inheritance graph
[legend]
Collaboration diagram for castor3d::AnimationImporter:
Collaboration graph
[legend]

Public Member Functions

virtual ~AnimationImporter ()=default
 
C3D_API AnimationImporter (Engine &engine)
 Constructor.
 
C3D_API bool import (SkeletonAnimation &animation, ImporterFile *file, Parameters const &parameters)
 SkeletonAnimation import function.
 
C3D_API bool import (MeshAnimation &animation, ImporterFile *file, Parameters const &parameters)
 MeshAnimation import function.
 
C3D_API bool import (SceneNodeAnimation &animation, ImporterFile *file, Parameters const &parameters)
 SceneNodeAnimation import function.
 
C3D_API bool import (SceneNodeAnimation &animation, castor::Path const &pathFile, Parameters const &parameters)
 SceneNodeAnimation import function.
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Static Public Member Functions

static C3D_API bool import (SkeletonAnimation &animation, castor::Path const &pathFile, Parameters const &parameters)
 SkeletonAnimation import function.
 
static C3D_API bool import (MeshAnimation &animation, castor::Path const &pathFile, Parameters const &parameters)
 MeshAnimation import function.
 

Protected Member Functions

virtual C3D_API bool doImportSkeleton (SkeletonAnimation &skeleton)=0
 SkeletonAnimation import Function.
 
virtual C3D_API bool doImportMesh (MeshAnimation &mesh)=0
 MeshAnimation import function.
 
virtual C3D_API bool doImportNode (SceneNodeAnimation &node)=0
 SceneNodeAnimation import Function.
 
- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Protected Attributes

ImporterFilem_file {}
 
Parameters m_parameters
 

Constructor & Destructor Documentation

◆ ~AnimationImporter()

virtual castor3d::AnimationImporter::~AnimationImporter ( )
virtualdefault

◆ AnimationImporter()

C3D_API castor3d::AnimationImporter::AnimationImporter ( Engine & engine)
explicit

Constructor.

Parameters
[in]engineThe engine.

Member Function Documentation

◆ doImportMesh()

virtual C3D_API bool castor3d::AnimationImporter::doImportMesh ( MeshAnimation & mesh)
protectedpure virtual

MeshAnimation import function.

Parameters
[out]meshReceives the imported data.
Returns
false if any problem occured.

Implemented in castor3d::CmshAnimationImporter.

◆ doImportNode()

virtual C3D_API bool castor3d::AnimationImporter::doImportNode ( SceneNodeAnimation & node)
protectedpure virtual

SceneNodeAnimation import Function.

Parameters
[out]nodeReceives the imported data.
Returns
false if any problem occured.

Implemented in castor3d::CmshAnimationImporter.

◆ doImportSkeleton()

virtual C3D_API bool castor3d::AnimationImporter::doImportSkeleton ( SkeletonAnimation & skeleton)
protectedpure virtual

SkeletonAnimation import Function.

Parameters
[out]skeletonReceives the imported data.
Returns
false if any problem occured.

Implemented in castor3d::CmshAnimationImporter.

◆ import() [1/6]

static C3D_API bool castor3d::AnimationImporter::import ( MeshAnimation & animation,
castor::Path const & pathFile,
Parameters const & parameters )
static

MeshAnimation import function.

Parameters
[out]animationReceives the imported data.
[in]pathFileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

◆ import() [2/6]

C3D_API bool castor3d::AnimationImporter::import ( MeshAnimation & animation,
ImporterFile * file,
Parameters const & parameters )

MeshAnimation import function.

Parameters
[out]animationReceives the imported data.
[in]fileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

◆ import() [3/6]

C3D_API bool castor3d::AnimationImporter::import ( SceneNodeAnimation & animation,
castor::Path const & pathFile,
Parameters const & parameters )

SceneNodeAnimation import function.

Parameters
[out]animationReceives the imported data.
[in]pathFileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

◆ import() [4/6]

C3D_API bool castor3d::AnimationImporter::import ( SceneNodeAnimation & animation,
ImporterFile * file,
Parameters const & parameters )

SceneNodeAnimation import function.

Parameters
[out]animationReceives the imported data.
[in]fileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

◆ import() [5/6]

static C3D_API bool castor3d::AnimationImporter::import ( SkeletonAnimation & animation,
castor::Path const & pathFile,
Parameters const & parameters )
static

SkeletonAnimation import function.

Parameters
[out]animationReceives the imported data.
[in]pathFileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

◆ import() [6/6]

C3D_API bool castor3d::AnimationImporter::import ( SkeletonAnimation & animation,
ImporterFile * file,
Parameters const & parameters )

SkeletonAnimation import function.

Parameters
[out]animationReceives the imported data.
[in]fileThe location of the file to import.
[in]parametersImport configuration parameters.
Returns
false if any problem occured.

Member Data Documentation

◆ m_file

ImporterFile* castor3d::AnimationImporter::m_file {}
protected

◆ m_parameters

Parameters castor3d::AnimationImporter::m_parameters
protected

Import configuration parameters.


The documentation for this class was generated from the following file: