DATAKIT API  V2025.1
dtk_FbxReader.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef _UTIL_FBX_READER_HPP_
3 #define _UTIL_FBX_READER_HPP_
4 
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include <signal.h>
8 #include <string.h>
9 
10 
11 
12 
13 class FbxReader : public Dtk_Reader
14 {
15 public :
16 
17 protected:
19  void _Init();
20  void _Reset();
21  void* m_p;
22 
23  //Mandatory
24 public:
25  virtual ~FbxReader();
27 
29  static Dtk_bool Enable();
30 
31  Dtk_ErrorStatus CreateDocument( const Dtk_string& inInputFile, Dtk_MainDocPtr& outDocument );
32  Dtk_ErrorStatus GetFileVersion( const Dtk_string &inInputFile, Dtk_string& outVersion );
33 
34  Dtk_ErrorStatus PopulateComponentsTree( const Dtk_string& inInputFile, Dtk_MainDocPtr& inoutDocument, Dtk_ComponentPtr& outRootComponent );
35  Dtk_ErrorStatus PopulateComponentsTree( const Dtk_tab< Dtk_StreamPtr >& inArrayStream, Dtk_MainDocPtr& inoutDocument, Dtk_ComponentPtr& outRootComponent );
37 
39  Dtk_ErrorStatus ReadComponent( const Dtk_ComponentPtr& inComponent, Dtk_NodePtr& outRootNode );
41 
45 
48  //Mandatory
49 
50 
51 };
52 #endif
53 
FbxReader::ReadEntity
Dtk_ErrorStatus ReadEntity(Dtk_Node &inNode, Dtk_EntityPtr &outEntity)
FbxReader::FbxReader
FbxReader()
FbxReader::ActivateReader
Dtk_ErrorStatus ActivateReader()
Dtk_Reader
Definition: dtk_reader.hpp:15
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
Dtk_bool
char Dtk_bool
Definition: define.h:725
FbxReader::~FbxReader
virtual ~FbxReader()
FbxReader::_Reset
void _Reset()
FbxReader::GetFbxReader
static FbxReader * GetFbxReader()
Dtk_Node
This is the Node Class The Dtk_Node object is used to retrieve informations in a Dtk_ComponentPtr obj...
Definition: dtk_maindoc.hpp:230
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:687
FbxReader::ReadComponent
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
FbxReader::EndPopulateComponentsTree
Dtk_ErrorStatus EndPopulateComponentsTree()
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
FbxReader::DesactivateReader
Dtk_ErrorStatus DesactivateReader()
FbxReader::GetVersion
Dtk_Int32 GetVersion()
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
FbxReader::EndComponent
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
FbxReader::GetFileVersion
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
FbxReader
Definition: dtk_FbxReader.hpp:14
Dtk_tab
This is a high level array class.
Definition: util_stl_dtk.hpp:85
FbxReader::_Init
void _Init()
FbxReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr > &inArrayStream, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
FbxReader::Enable
static Dtk_bool Enable()
FbxReader::m_p
void * m_p
Definition: dtk_FbxReader.hpp:21
FbxReader::ReadAdditionalInfos
Dtk_ErrorStatus ReadAdditionalInfos(Dtk_Node &inNode, Dtk_ObjectPtr &outEntity)
FbxReader::_UniqueReader
static FbxReader * _UniqueReader
Definition: dtk_FbxReader.hpp:18
FbxReader::ReadComponentGraphic
Dtk_ErrorStatus ReadComponentGraphic(const Dtk_ComponentPtr &inComponent, Dtk_GraphicalDataPtr &outGraphicalData)
FbxReader::CreateDocument
Dtk_ErrorStatus CreateDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
FbxReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)