PeriDyno 0.8.2
Classes | Public Member Functions | Public Attributes | List of all members
ofbx::Scene Struct Reference
Inheritance diagram for ofbx::Scene:
Inheritance graph
[legend]
Collaboration diagram for ofbx::Scene:
Collaboration graph
[legend]

Classes

struct  Connection
 
struct  ObjectPair
 

Public Member Functions

int getAnimationStackCount () const override
 
int getGeometryCount () const override
 
int getMeshCount () const override
 
float getSceneFrameRate () const override
 
const GlobalSettingsgetGlobalSettings () const override
 
const Object *const * getAllObjects () const override
 
int getAllObjectCount () const override
 
int getEmbeddedDataCount () const override
 
DataView getEmbeddedData (int index) const override
 
DataView getEmbeddedFilename (int index) const override
 
const AnimationStackgetAnimationStack (int index) const override
 
const MeshgetMesh (int index) const override
 
const GeometrygetGeometry (int index) const override
 
const TakeInfogetTakeInfo (const char *name) const override
 
const IElementgetRootElement () const override
 
const ObjectgetRoot () const override
 
void destroy () override
 
 ~Scene () override
 
virtual void destroy ()=0
 
virtual const IElementgetRootElement () const =0
 
virtual const ObjectgetRoot () const =0
 
virtual const TakeInfogetTakeInfo (const char *name) const =0
 
virtual int getGeometryCount () const =0
 
virtual int getMeshCount () const =0
 
virtual float getSceneFrameRate () const =0
 
virtual const GlobalSettingsgetGlobalSettings () const =0
 
virtual const MeshgetMesh (int index) const =0
 
virtual const GeometrygetGeometry (int index) const =0
 
virtual int getAnimationStackCount () const =0
 
virtual const AnimationStackgetAnimationStack (int index) const =0
 
virtual const Object *const * getAllObjects () const =0
 
virtual int getAllObjectCount () const =0
 
virtual int getEmbeddedDataCount () const =0
 
virtual DataView getEmbeddedData (int index) const =0
 
virtual DataView getEmbeddedFilename (int index) const =0
 

Public Attributes

Elementm_root_element = nullptr
 
Rootm_root = nullptr
 
float m_scene_frame_rate = -1
 
GlobalSettings m_settings
 
std::unordered_map< u64, ObjectPairm_object_map
 
std::vector< Object * > m_all_objects
 
std::vector< Mesh * > m_meshes
 
std::vector< Geometry * > m_geometries
 
std::vector< AnimationStack * > m_animation_stacks
 
std::vector< Connectionm_connections
 
std::vector< u8m_data
 
std::vector< TakeInfom_take_infos
 
std::vector< Videom_videos
 
Allocator m_allocator
 

Additional Inherited Members

- Protected Member Functions inherited from ofbx::IScene
virtual ~IScene ()
 

Detailed Description

Definition at line 1551 of file ofbx.cpp.

Constructor & Destructor Documentation

◆ ~Scene()

ofbx::Scene::~Scene ( )
inlineoverride

Definition at line 1638 of file ofbx.cpp.

Member Function Documentation

◆ destroy()

void ofbx::Scene::destroy ( )
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1635 of file ofbx.cpp.

◆ getAllObjectCount()

int ofbx::Scene::getAllObjectCount ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1583 of file ofbx.cpp.

◆ getAllObjects()

const Object *const * ofbx::Scene::getAllObjects ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1580 of file ofbx.cpp.

◆ getAnimationStack()

const AnimationStack * ofbx::Scene::getAnimationStack ( int  index) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1597 of file ofbx.cpp.

Here is the call graph for this function:

◆ getAnimationStackCount()

int ofbx::Scene::getAnimationStackCount ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1574 of file ofbx.cpp.

◆ getEmbeddedData()

DataView ofbx::Scene::getEmbeddedData ( int  index) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1589 of file ofbx.cpp.

◆ getEmbeddedDataCount()

int ofbx::Scene::getEmbeddedDataCount ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1585 of file ofbx.cpp.

◆ getEmbeddedFilename()

DataView ofbx::Scene::getEmbeddedFilename ( int  index) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1593 of file ofbx.cpp.

◆ getGeometry()

const Geometry * ofbx::Scene::getGeometry ( int  index) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1613 of file ofbx.cpp.

Here is the call graph for this function:

◆ getGeometryCount()

int ofbx::Scene::getGeometryCount ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1575 of file ofbx.cpp.

◆ getGlobalSettings()

const GlobalSettings * ofbx::Scene::getGlobalSettings ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1578 of file ofbx.cpp.

◆ getMesh()

const Mesh * ofbx::Scene::getMesh ( int  index) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1605 of file ofbx.cpp.

Here is the call graph for this function:

◆ getMeshCount()

int ofbx::Scene::getMeshCount ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1576 of file ofbx.cpp.

◆ getRoot()

const Object * ofbx::Scene::getRoot ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1632 of file ofbx.cpp.

◆ getRootElement()

const IElement * ofbx::Scene::getRootElement ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1631 of file ofbx.cpp.

Here is the caller graph for this function:

◆ getSceneFrameRate()

float ofbx::Scene::getSceneFrameRate ( ) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1577 of file ofbx.cpp.

◆ getTakeInfo()

const TakeInfo * ofbx::Scene::getTakeInfo ( const char *  name) const
inlineoverridevirtual

Implements ofbx::IScene.

Definition at line 1621 of file ofbx.cpp.

Member Data Documentation

◆ m_all_objects

std::vector<Object*> ofbx::Scene::m_all_objects

Definition at line 1649 of file ofbx.cpp.

◆ m_allocator

Allocator ofbx::Scene::m_allocator

Definition at line 1657 of file ofbx.cpp.

◆ m_animation_stacks

std::vector<AnimationStack*> ofbx::Scene::m_animation_stacks

Definition at line 1652 of file ofbx.cpp.

◆ m_connections

std::vector<Connection> ofbx::Scene::m_connections

Definition at line 1653 of file ofbx.cpp.

◆ m_data

std::vector<u8> ofbx::Scene::m_data

Definition at line 1654 of file ofbx.cpp.

◆ m_geometries

std::vector<Geometry*> ofbx::Scene::m_geometries

Definition at line 1651 of file ofbx.cpp.

◆ m_meshes

std::vector<Mesh*> ofbx::Scene::m_meshes

Definition at line 1650 of file ofbx.cpp.

◆ m_object_map

std::unordered_map<u64, ObjectPair> ofbx::Scene::m_object_map

Definition at line 1648 of file ofbx.cpp.

◆ m_root

Root* ofbx::Scene::m_root = nullptr

Definition at line 1645 of file ofbx.cpp.

◆ m_root_element

Element* ofbx::Scene::m_root_element = nullptr

Definition at line 1644 of file ofbx.cpp.

◆ m_scene_frame_rate

float ofbx::Scene::m_scene_frame_rate = -1

Definition at line 1646 of file ofbx.cpp.

◆ m_settings

GlobalSettings ofbx::Scene::m_settings

Definition at line 1647 of file ofbx.cpp.

◆ m_take_infos

std::vector<TakeInfo> ofbx::Scene::m_take_infos

Definition at line 1655 of file ofbx.cpp.

◆ m_videos

std::vector<Video> ofbx::Scene::m_videos

Definition at line 1656 of file ofbx.cpp.


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