Bridges-C++  3.4.4
Bridges(C++ API)
Public Member Functions | List of all members
bridges::Scene Class Reference

#include <Scene.h>

Inheritance diagram for bridges::Scene:
bridges::datastructure::DataStructure

Public Member Functions

 Scene ()
 
 Scene (std::string type, int fov, float position[3])
 
virtual const string getDStype () const override
 Get data structure type. More...
 
void setCamera (Camera &c)
 add function for Camera objects More...
 
Camera getCamera ()
 get the current camera More...
 
void add (TerrainMesh terrain)
 add function for TerrainMesh objects More...
 
TerrainMeshget (string mesh_name)
 add function for TerrainMesh objects More...
 
virtual const string getDataStructureRepresentation () const override
 remove function for TerrainMesh objects More...
 
- Public Member Functions inherited from bridges::datastructure::DataStructure
virtual ~DataStructure ()=default
 

Constructor & Destructor Documentation

◆ Scene() [1/2]

bridges::Scene::Scene ( )
inline

◆ Scene() [2/2]

bridges::Scene::Scene ( std::string  type,
int  fov,
float  position[3] 
)
inline

Member Function Documentation

◆ add()

void bridges::Scene::add ( TerrainMesh  terrain)
inline

add function for TerrainMesh objects

◆ get()

TerrainMesh& bridges::Scene::get ( string  mesh_name)
inline

add function for TerrainMesh objects

◆ getCamera()

Camera bridges::Scene::getCamera ( )
inline

get the current camera

◆ getDataStructureRepresentation()

virtual const string bridges::Scene::getDataStructureRepresentation ( ) const
inlineoverridevirtual

remove function for TerrainMesh objects

Implements bridges::datastructure::DataStructure.

◆ getDStype()

virtual const string bridges::Scene::getDStype ( ) const
inlineoverridevirtual

Get data structure type.

Implements bridges::datastructure::DataStructure.

◆ setCamera()

void bridges::Scene::setCamera ( Camera c)
inline

add function for Camera objects


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