Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CommonConvert Class Reference

Wrapper for code shared between the PMD and PSA converters. More...

#include <CommonConvert.h>

Collaboration diagram for CommonConvert:

Public Member Functions

 CommonConvert (const char *text, std::string &xmlErrors)
 
 ~CommonConvert ()
 
const FColladaDocumentGetDocument () const
 
FCDSceneNode & GetRoot ()
 
FCDEntityInstance & GetInstance ()
 
const FMMatrix44 & GetEntityTransform () const
 
bool IsYUp () const
 
bool IsXSI () const
 

Private Attributes

FColladaErrorHandler m_Err
 
FColladaDocument m_Doc
 
FCDEntityInstance * m_Instance
 
FMMatrix44 m_EntityTransform
 
bool m_YUp
 
bool m_IsXSI
 

Detailed Description

Wrapper for code shared between the PMD and PSA converters.

Loads the document and provides access to the relevant objects and values.

Constructor & Destructor Documentation

◆ CommonConvert()

CommonConvert::CommonConvert ( const char *  text,
std::string &  xmlErrors 
)

◆ ~CommonConvert()

CommonConvert::~CommonConvert ( )

Member Function Documentation

◆ GetDocument()

const FColladaDocument & CommonConvert::GetDocument ( ) const
inline

◆ GetEntityTransform()

const FMMatrix44 & CommonConvert::GetEntityTransform ( ) const
inline

◆ GetInstance()

FCDEntityInstance & CommonConvert::GetInstance ( )
inline

◆ GetRoot()

FCDSceneNode & CommonConvert::GetRoot ( )
inline

◆ IsXSI()

bool CommonConvert::IsXSI ( ) const
inline

◆ IsYUp()

bool CommonConvert::IsYUp ( ) const
inline

Member Data Documentation

◆ m_Doc

FColladaDocument CommonConvert::m_Doc
private

◆ m_EntityTransform

FMMatrix44 CommonConvert::m_EntityTransform
private

◆ m_Err

FColladaErrorHandler CommonConvert::m_Err
private

◆ m_Instance

FCDEntityInstance* CommonConvert::m_Instance
private

◆ m_IsXSI

bool CommonConvert::m_IsXSI
private

◆ m_YUp

bool CommonConvert::m_YUp
private

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