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

Factory base class for Material interface. More...

#include <materialHandler.h>

Public Types

typedef std::shared_ptr< MaterialHandlerPtr
 

Public Member Functions

 MaterialHandler ()
 Constructor. More...
 
 MaterialHandler (const MaterialHandler &)=default
 Default copy constructor. More...
 
virtual ~MaterialHandler ()
 Destructor. More...
 
virtual Material::Ptr material (const SceneItem::Ptr &item) const =0
 

Detailed Description

Factory base class for Material interface.

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

Definition at line 24 of file materialHandler.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 27 of file materialHandler.h.

Constructor & Destructor Documentation

◆ MaterialHandler() [1/2]

Ufe::MaterialHandler::MaterialHandler ( )

Constructor.

◆ MaterialHandler() [2/2]

Ufe::MaterialHandler::MaterialHandler ( const MaterialHandler )
default

Default copy constructor.

◆ ~MaterialHandler()

virtual Ufe::MaterialHandler::~MaterialHandler ( )
virtual

Destructor.

Member Function Documentation

◆ material()

virtual Material::Ptr Ufe::MaterialHandler::material ( const SceneItem::Ptr item) const
pure virtual

Creates a Material interface on the given SceneItem.

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

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