Inheritance diagram for ege::widget::Scene:

Public Member Functions

void setEnv (ememory::SharedPtr< ege::Environement > _env)
 
 DECLARE_FACTORY (Scene)
 
virtual ~Scene ()
 
void setCamera (const std::string &_cameraName)
 
const std::string & getCamera () const
 

Public Attributes

esignal::Signal< ememory::SharedPtr< ewol::resource::Colored3DObject >> signalDisplayDebug
 
eproperty::Value< bool > propertyDebugPhysic
 
eproperty::Value< bool > propertyDebugApplication
 

Protected Member Functions

 Scene ()
 
void init ()
 
virtual void periodicCall (const ewol::event::Time &_event)
 
void onDraw () override
 
void systemDraw (const ewol::DrawProperty &_displayProp) override
 
void onRegenerateDisplay () override
 
void calculateSize () override
 

Protected Attributes

ememory::SharedPtr< ege::Environementm_env
 
ememory::SharedPtr< ewol::resource::Colored3DObject > m_debugDrawProperty
 
std::string m_cameraName
 
std::vector< ege::Environement::ResultNearestElementm_displayElementOrdered
 
esignal::Connection m_PCH
 

Constructor & Destructor Documentation

§ Scene()

ege::widget::Scene::Scene ( )
protected

Constructor of the widget classes.

Returns
(no execption generated (not managed in embended platform))

§ ~Scene()

virtual ege::widget::Scene::~Scene ( )
virtual

Destructor of the widget classes.

Member Function Documentation

§ getCamera()

const std::string& ege::widget::Scene::getCamera ( ) const
inline

Get the current camera name to display the environnement.

Returns
the current camera name.

§ periodicCall()

virtual void ege::widget::Scene::periodicCall ( const ewol::event::Time &  _event)
protectedvirtual

Periodic call to update grapgic display.

Parameters
[in]_eventTime generic event

§ setCamera()

void ege::widget::Scene::setCamera ( const std::string &  _cameraName)

Select a Camera for the display.

Parameters
[in]_cameraNameNew name of the camera.

Member Data Documentation

§ m_cameraName

std::string ege::widget::Scene::m_cameraName
protected

current camera name

§ m_PCH

esignal::Connection ege::widget::Scene::m_PCH
protected

Periodic call handle to remove it when needed.

§ propertyDebugApplication

eproperty::Value<bool> ege::widget::Scene::propertyDebugApplication

display Application Debug

§ propertyDebugPhysic

eproperty::Value<bool> ege::widget::Scene::propertyDebugPhysic

display Physic Debug

§ signalDisplayDebug

esignal::Signal<ememory::SharedPtr<ewol::resource::Colored3DObject>> ege::widget::Scene::signalDisplayDebug

emit a signal to the application to draw the debug (setDebugPhysic)


The documentation for this class was generated from the following file:
  • framework/atria-soft/ege/ege/widget/Scene.hpp