ufe  4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::LightHandler Class Referenceabstract

Factory base class for Light interface. More...

#include <lightHandler.h>

Public Types

typedef std::shared_ptr< LightHandlerPtr
 

Public Member Functions

 LightHandler ()
 Constructor. More...
 
 LightHandler (const LightHandler &)=default
 Default copy constructor. More...
 
virtual ~LightHandler ()
 Destructor. More...
 
virtual Light::Ptr light (const SceneItem::Ptr &item) const =0
 

Detailed Description

Factory base class for Light interface.

This base class defines an interface for factory objects that runtimes can implement to create a Light interface object.

Definition at line 26 of file lightHandler.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<LightHandler> Ufe::LightHandler::Ptr

Definition at line 29 of file lightHandler.h.

Constructor & Destructor Documentation

◆ LightHandler() [1/2]

Ufe::LightHandler::LightHandler ( )

Constructor.

◆ LightHandler() [2/2]

Ufe::LightHandler::LightHandler ( const LightHandler )
default

Default copy constructor.

◆ ~LightHandler()

virtual Ufe::LightHandler::~LightHandler ( )
virtual

Destructor.

Member Function Documentation

◆ light()

virtual Light::Ptr Ufe::LightHandler::light ( const SceneItem::Ptr item) const
pure virtual

Creates a Light interface on the given SceneItem.

Parameters
itemSceneItem to use to retrieve its Light interface.
Returns
Light interface of given SceneItem. Returns a null pointer if no Light interface can be created for the item.

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