Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::RepresentationConverterType< BaseRepr, From, To > Class Template Referenceabstract

#include <representationconverter.h>

+ Inheritance diagram for inviwo::RepresentationConverterType< BaseRepr, From, To >:

Public Types

using ConverterID = typename RepresentationConverter<BaseRepr>::ConverterID
 
- Public Types inherited from inviwo::RepresentationConverter< BaseRepr >
using ConverterID = std::pair<std::type_index, std::type_index>
 

Public Member Functions

virtual ConverterID getConverterID () const override
 
virtual std::shared_ptr< BaseRepr > createFrom (std::shared_ptr< const BaseRepr > source) const override final
 
virtual void update (std::shared_ptr< const BaseRepr > source, std::shared_ptr< BaseRepr > destination) const override final
 
virtual std::shared_ptr< To > createFrom (std::shared_ptr< const From > source) const =0
 
virtual void update (std::shared_ptr< const From > source, std::shared_ptr< To > destination) const =0
 
- Public Member Functions inherited from inviwo::RepresentationConverter< BaseRepr >
- Public Member Functions inherited from inviwo::BaseRepresentationConverter

Detailed Description

template<typename BaseRepr, typename From, typename To>
class inviwo::RepresentationConverterType< BaseRepr, From, To >

A helper type to make it easier to create RepresentationConverters for specific types

See also
RepresentationConverter

Member Function Documentation

◆ createFrom()

template<typename BaseRepr , typename From , typename To >
virtual std::shared_ptr< BaseRepr > inviwo::RepresentationConverterType< BaseRepr, From, To >::createFrom ( std::shared_ptr< const BaseRepr > source) const
inlinefinaloverridevirtual

◆ getConverterID()

template<typename BaseRepr , typename From , typename To >
auto inviwo::RepresentationConverterType< BaseRepr, From, To >::getConverterID ( ) const
overridevirtual

◆ update()

template<typename BaseRepr , typename From , typename To >
virtual void inviwo::RepresentationConverterType< BaseRepr, From, To >::update ( std::shared_ptr< const BaseRepr > source,
std::shared_ptr< BaseRepr > destination ) const
inlinefinaloverridevirtual

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