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

Factory base class for Light2 interface. More...

#include <light2Handler.h>

Public Types

typedef std::shared_ptr< Light2HandlerPtr
 

Public Member Functions

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

Detailed Description

Factory base class for Light2 interface.

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

Definition at line 26 of file light2Handler.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 29 of file light2Handler.h.

Constructor & Destructor Documentation

◆ Light2Handler() [1/2]

Ufe::Light2Handler::Light2Handler ( )

Constructor.

◆ Light2Handler() [2/2]

Ufe::Light2Handler::Light2Handler ( const Light2Handler )
default

Default copy constructor.

◆ ~Light2Handler()

virtual Ufe::Light2Handler::~Light2Handler ( )
virtual

Destructor.

Member Function Documentation

◆ light()

virtual Light2::Ptr Ufe::Light2Handler::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: