Assimp  v3.1.1 (June 2014)
Assimp::FBX::LazyObject Class Reference

Represents a delay-parsed FBX objects. More...

Public Member Functions

bool FailedToConstruct () const
 
const ObjectGet (bool dieOnError=false)
 
template<typename T >
const T * Get (bool dieOnError=false)
 
const DocumentGetDocument () const
 
const ElementGetElement () const
 
uint64_t ID () const
 
bool IsBeingConstructed () const
 
 LazyObject (uint64_t id, const Element &element, const Document &doc)
 
 ~LazyObject ()
 

Detailed Description

Represents a delay-parsed FBX objects.

Many objects in the scene are not needed by assimp, so it makes no sense to parse them upfront.

Constructor & Destructor Documentation

◆ LazyObject()

Assimp::FBX::LazyObject::LazyObject ( uint64_t  id,
const Element element,
const Document doc 
)

◆ ~LazyObject()

Assimp::FBX::LazyObject::~LazyObject ( )

Member Function Documentation

◆ FailedToConstruct()

bool Assimp::FBX::LazyObject::FailedToConstruct ( ) const
inline

◆ Get() [1/2]

const Object * Assimp::FBX::LazyObject::Get ( bool  dieOnError = false)

◆ Get() [2/2]

template<typename T >
const T* Assimp::FBX::LazyObject::Get ( bool  dieOnError = false)
inline

◆ GetDocument()

const Document& Assimp::FBX::LazyObject::GetDocument ( ) const
inline

◆ GetElement()

const Element& Assimp::FBX::LazyObject::GetElement ( ) const
inline

◆ ID()

uint64_t Assimp::FBX::LazyObject::ID ( ) const
inline

◆ IsBeingConstructed()

bool Assimp::FBX::LazyObject::IsBeingConstructed ( ) const
inline

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