Inviwo  0.9.10.1
Inviwo documentation
inviwo::RepresentationConverter< BaseRepr > Class Template Referenceabstract

#include <representationconverter.h>

+ Inheritance diagram for inviwo::RepresentationConverter< BaseRepr >:

Public Types

using ConverterID = std::pair< std::type_index, std::type_index >
 

Public Member Functions

virtual ConverterID getConverterID () const =0
 
virtual std::shared_ptr< BaseRepr > createFrom (std::shared_ptr< const BaseRepr > source) const =0
 
virtual void update (std::shared_ptr< const BaseRepr > source, std::shared_ptr< BaseRepr > destination) const =0
 

Detailed Description

template<typename BaseRepr>
class inviwo::RepresentationConverter< BaseRepr >

A RepresentationConverter creates or updates a DataRepresentation from an other DataRepresentation using the createFrom() or update() functions

See also
DataRepresentation
RepresentationConverterFactory
InviwoApplication::getRepresentationConverterFactory()
InviwoModule::registerRepresentationConverter()

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